Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001025, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 229.5 MB / 247.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007416/0.0007418, allocations: 96.78 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2922/0.2922, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002828, allocations: 8.219 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.32, allocations: 63.1 MB / 0.5214 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01299/0.3331, allocations: 16.75 MB / 0.5377 GB, free: 25.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03524/0.3683, allocations: 39.78 MB / 0.5766 GB, free: 7.117 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.3688, allocations: 2.062 kB / 0.5766 GB, free: 7.117 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.3692, allocations: 78.77 kB / 0.5767 GB, free: 7.055 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02674/0.396, allocations: 6.845 MB / 0.5833 GB, free: 2.062 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.397, allocations: 311.5 kB / 0.5836 GB, free: 1.852 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005293/0.4023, allocations: 2.036 MB / 0.5856 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4025, allocations: 16.38 kB / 0.5856 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009509/0.4034, allocations: 270.8 kB / 0.5859 GB, free: 472 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007513/0.4109, allocations: 3.264 MB / 0.5891 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.4111, allocations: 8 kB / 0.5891 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02221/0.4333, allocations: 10.37 MB / 0.5992 GB, free: 3.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.4334, allocations: 55.69 kB / 0.5993 GB, free: 3.273 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.4337, allocations: 169 kB / 0.5994 GB, free: 3.102 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.4491, allocations: 6.319 MB / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4491, allocations: 0 / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4492, allocations: 3.938 kB / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.4492, allocations: 0 / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00539/0.4546, allocations: 1.498 MB / 0.6071 GB, free: 11.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.4547, allocations: 12.03 kB / 0.6071 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.4565, allocations: 220.4 kB / 0.6073 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.457, allocations: 276 kB / 0.6076 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.457, allocations: 29.03 kB / 0.6076 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.4571, allocations: 32.12 kB / 0.6076 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.4594, allocations: 0.825 MB / 0.6084 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4594, allocations: 0 / 0.6084 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.4595, allocations: 16 kB / 0.6084 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4595, allocations: 8 kB / 0.6084 GB, free: 9.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.4617, allocations: 0.9503 MB / 0.6094 GB, free: 8.785 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.4648, allocations: 2.573 MB / 0.6119 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.466, allocations: 390.1 kB / 0.6123 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.4662, allocations: 72.83 kB / 0.6123 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6991/1.165, allocations: 240.9 MB / 0.8476 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/1.167, allocations: 478.7 kB / 0.848 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/1.167, allocations: 0 / 0.848 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.002696/1.169, allocations: 0.78 MB / 0.8488 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.17, allocations: 376.6 kB / 0.8491 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.17, allocations: 189 kB / 0.8493 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/1.17, allocations: 29.7 kB / 0.8493 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/1.17, allocations: 191.6 kB / 0.8495 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/1.17, allocations: 99.09 kB / 0.8496 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/1.17, allocations: 12 kB / 0.8496 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/1.17, allocations: 334.8 kB / 0.8499 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/1.17, allocations: 81.06 kB / 0.85 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/1.171, allocations: 344.5 kB / 0.8504 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/1.171, allocations: 479.2 kB / 0.8508 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.171, allocations: 4 kB / 0.8508 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007852/1.172, allocations: 466.2 kB / 0.8513 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.172, allocations: 16.22 kB / 0.8513 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.172, allocations: 8 kB / 0.8513 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.172, allocations: 12 kB / 0.8513 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/1.173, allocations: 143.7 kB / 0.8514 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.173, allocations: 15.94 kB / 0.8514 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/1.173, allocations: 51.53 kB / 0.8515 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/1.173, allocations: 43.97 kB / 0.8515 GB, free: 15.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/1.173, allocations: 169.4 kB / 0.8517 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/1.173, allocations: 23.8 kB / 0.8517 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/1.176, allocations: 2.608 MB / 0.8543 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/1.176, allocations: 19.97 kB / 0.8543 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.176, allocations: 4 kB / 0.8543 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.176, allocations: 4 kB / 0.8543 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/1.177, allocations: 0.9321 MB / 0.8552 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.177, allocations: 4 kB / 0.8552 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/1.177, allocations: 71.88 kB / 0.8553 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/1.177, allocations: 16.86 kB / 0.8553 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/1.177, allocations: 15.94 kB / 0.8553 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.177, allocations: 4 kB / 0.8553 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.177, allocations: 4 kB / 0.8553 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/1.178, allocations: 0.6973 MB / 0.856 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/1.178, allocations: 386.7 kB / 0.8564 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/1.178, allocations: 12.94 kB / 0.8564 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/1.179, allocations: 15.98 kB / 0.8564 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/1.179, allocations: 35.84 kB / 0.8564 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.179, allocations: 19.98 kB / 0.8564 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005679/1.179, allocations: 0.4923 MB / 0.8569 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.179, allocations: 0 / 0.8569 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004732/1.184, allocations: 1.513 MB / 0.8584 GB, free: 8.055 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006224/1.19, allocations: 1.733 MB / 0.8601 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008258/1.191, allocations: 416.7 kB / 0.8605 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.191, allocations: 3.938 kB / 0.8605 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/1.191, allocations: 268.7 kB / 0.8608 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.193, allocations: 138.1 kB / 0.8609 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.578/2.771, allocations: 0.6018 GB / 1.463 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/2.771, allocations: 0.9847 MB / 1.464 GB, free: 178 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009774/2.772, allocations: 0.5224 MB / 1.464 GB, free: 178 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/2.773, allocations: 54.5 kB / 1.464 GB, free: 178 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/2.773, allocations: 0 / 1.464 GB, free: 178 MB / 0.5261 GB Notification: Performance of Templates: time 0.05955/2.832, allocations: 55.58 MB / 1.519 GB, free: 132.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches