Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 105 kB / 17.21 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 44.17 MB / 336.1 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 61.03 kB / 407.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 60.83 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01674/0.1457, allocations: 14.63 MB / 483.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03199/0.1778, allocations: 28.31 MB / 0.4995 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.178, allocations: 0 / 0.4995 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.1785, allocations: 87.52 kB / 0.4996 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3088/0.4873, allocations: 6.822 MB / 0.5062 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.4884, allocations: 320.8 kB / 0.5065 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005169/0.4936, allocations: 2.033 MB / 0.5085 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.061e-05/0.4937, allocations: 23.97 kB / 0.5085 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.4943, allocations: 262.8 kB / 0.5088 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007813/0.5021, allocations: 3.265 MB / 0.512 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.5023, allocations: 7.5 kB / 0.512 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02435/0.5266, allocations: 10.73 MB / 0.5225 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.5268, allocations: 50.27 kB / 0.5225 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.5271, allocations: 135.8 kB / 0.5226 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02201/0.5492, allocations: 6.348 MB / 0.5288 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5492, allocations: 0 / 0.5288 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5492, allocations: 0 / 0.5288 GB, free: 9.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.5492, allocations: 0 / 0.5288 GB, free: 9.621 MB / 382.1 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.00711/0.5564, allocations: 1.553 MB / 0.5304 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5564, allocations: 13.91 kB / 0.5304 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.5582, allocations: 219.6 kB / 0.5306 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.5585, allocations: 278.6 kB / 0.5308 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.5585, allocations: 22.69 kB / 0.5309 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.5586, allocations: 30.09 kB / 0.5309 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.561, allocations: 0.8245 MB / 0.5317 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.561, allocations: 5.469 kB / 0.5317 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.5611, allocations: 14.97 kB / 0.5317 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5611, allocations: 7.562 kB / 0.5317 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.5634, allocations: 0.932 MB / 0.5326 GB, free: 7.648 MB / 382.1 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.002834/0.5663, allocations: 2.585 MB / 0.5352 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.5676, allocations: 375.4 kB / 0.5355 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.5678, allocations: 81.48 kB / 0.5356 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8881/1.456, allocations: 225 MB / 0.7553 GB, free: 177 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/1.457, allocations: 483.1 kB / 0.7558 GB, free: 176.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/1.457, allocations: 0 / 0.7558 GB, free: 176.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002867/1.46, allocations: 0.7741 MB / 0.7565 GB, free: 175.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.46, allocations: 375.8 kB / 0.7569 GB, free: 175.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/1.46, allocations: 182.8 kB / 0.757 GB, free: 175.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/1.461, allocations: 29.7 kB / 0.7571 GB, free: 175 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/1.461, allocations: 194.4 kB / 0.7573 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/1.461, allocations: 102.2 kB / 0.7574 GB, free: 174.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.461, allocations: 130.1 kB / 0.7575 GB, free: 174.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/1.461, allocations: 330.8 kB / 0.7578 GB, free: 174.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/1.461, allocations: 81.06 kB / 0.7579 GB, free: 174.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/1.461, allocations: 348.4 kB / 0.7582 GB, free: 173.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/1.462, allocations: 486.8 kB / 0.7587 GB, free: 173.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.462, allocations: 6.297 kB / 0.7587 GB, free: 173.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008033/1.463, allocations: 475.1 kB / 0.7591 GB, free: 172.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/1.463, allocations: 8 kB / 0.7591 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.463, allocations: 10.52 kB / 0.7591 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.463, allocations: 12 kB / 0.7592 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/1.463, allocations: 143.8 kB / 0.7593 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.463, allocations: 16.47 kB / 0.7593 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/1.464, allocations: 55.45 kB / 0.7594 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/1.464, allocations: 43.98 kB / 0.7594 GB, free: 172.4 MB / 0.545 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.0001516/1.464, allocations: 163.1 kB / 0.7596 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/1.464, allocations: 31.72 kB / 0.7596 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/1.466, allocations: 2.607 MB / 0.7621 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.466, allocations: 15.98 kB / 0.7622 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.466, allocations: 6.188 kB / 0.7622 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.466, allocations: 8.359 kB / 0.7622 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/1.467, allocations: 0.9362 MB / 0.7631 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.467, allocations: 4 kB / 0.7631 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/1.467, allocations: 75.86 kB / 0.7632 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.467, allocations: 4 kB / 0.7632 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.467, allocations: 8 kB / 0.7632 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.467, allocations: 4 kB / 0.7632 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.467, allocations: 11.92 kB / 0.7632 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/1.468, allocations: 0.6992 MB / 0.7639 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/1.468, allocations: 128.4 kB / 0.764 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.468, allocations: 102.5 kB / 0.7641 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/1.469, allocations: 23.98 kB / 0.7641 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/1.469, allocations: 39.7 kB / 0.7641 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/1.469, allocations: 15.98 kB / 0.7642 GB, free: 167.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004712/1.469, allocations: 0.5024 MB / 0.7647 GB, free: 166.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.469, allocations: 0 / 0.7647 GB, free: 166.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004818/1.474, allocations: 1.508 MB / 0.7661 GB, free: 165.5 MB / 0.545 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.006894/1.481, allocations: 1.723 MB / 0.7678 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008574/1.482, allocations: 422.2 kB / 0.7682 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.482, allocations: 0 / 0.7682 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/1.482, allocations: 274.9 kB / 0.7685 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/1.483, allocations: 139.3 kB / 0.7686 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.533/3.016, allocations: 0.6007 GB / 1.369 GB, free: 130 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/3.017, allocations: 0.9817 MB / 1.37 GB, free: 129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008373/3.017, allocations: 0.5215 MB / 1.371 GB, free: 128.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/3.018, allocations: 59.41 kB / 1.371 GB, free: 128.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.404e-06/3.018, allocations: 1.969 kB / 1.371 GB, free: 128.5 MB / 0.545 GB Notification: Performance of Templates: time 0.06601/3.084, allocations: 55.53 MB / 1.425 GB, free: 73 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches