Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 79.86 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3327, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01839/0.3511, allocations: 13.92 MB / 0.5453 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02982/0.381, allocations: 26.61 MB / 0.5713 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.3814, allocations: 0 / 0.5713 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.3819, allocations: 99.38 kB / 0.5714 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02461/0.4065, allocations: 8.52 MB / 0.5797 GB, free: 448 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.4075, allocations: 350.1 kB / 0.58 GB, free: 104 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.4113, allocations: 1.998 MB / 0.582 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.185e-05/0.4113, allocations: 28.33 kB / 0.582 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.4118, allocations: 282.7 kB / 0.5823 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005696/0.4175, allocations: 3.258 MB / 0.5855 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.4176, allocations: 12 kB / 0.5855 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02233/0.4399, allocations: 10.82 MB / 0.596 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.4401, allocations: 43.83 kB / 0.5961 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.4404, allocations: 143.3 kB / 0.5962 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02003/0.4605, allocations: 6.316 MB / 0.6024 GB, free: 9.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.4606, allocations: 0 / 0.6024 GB, free: 9.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4606, allocations: 8 kB / 0.6024 GB, free: 9.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.4606, allocations: 0 / 0.6024 GB, free: 9.09 MB / 462.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.005325/0.4659, allocations: 1.564 MB / 0.6039 GB, free: 7.477 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.466, allocations: 11.97 kB / 0.6039 GB, free: 7.465 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.4679, allocations: 216.4 kB / 0.6041 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.4684, allocations: 275.9 kB / 0.6044 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.4685, allocations: 28.97 kB / 0.6044 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.4685, allocations: 32.12 kB / 0.6045 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.471, allocations: 0.825 MB / 0.6053 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.4711, allocations: 4 kB / 0.6053 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.4711, allocations: 16 kB / 0.6053 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4711, allocations: 8 kB / 0.6053 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.4737, allocations: 0.9308 MB / 0.6062 GB, free: 5.059 MB / 462.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.003586/0.4773, allocations: 2.57 MB / 0.6087 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.4788, allocations: 382.2 kB / 0.6091 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.479, allocations: 76.83 kB / 0.6092 GB, free: 1.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8035/1.282, allocations: 241.2 MB / 0.8447 GB, free: 72.32 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/1.284, allocations: 485.2 kB / 0.8452 GB, free: 71.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/1.284, allocations: 0 / 0.8452 GB, free: 71.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=32): time 0.002968/1.287, allocations: 0.7775 MB / 0.846 GB, free: 71.04 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.287, allocations: 371.8 kB / 0.8463 GB, free: 70.59 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.287, allocations: 179 kB / 0.8465 GB, free: 70.41 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/1.287, allocations: 33.7 kB / 0.8465 GB, free: 70.37 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/1.287, allocations: 185.1 kB / 0.8467 GB, free: 70.19 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/1.287, allocations: 114.2 kB / 0.8468 GB, free: 70.08 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.287, allocations: 130.1 kB / 0.8469 GB, free: 69.94 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/1.287, allocations: 332.9 kB / 0.8472 GB, free: 69.61 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/1.288, allocations: 81.06 kB / 0.8473 GB, free: 69.53 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/1.288, allocations: 344.5 kB / 0.8476 GB, free: 69.07 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/1.288, allocations: 476.7 kB / 0.8481 GB, free: 68.48 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/1.289, allocations: 0 / 0.8481 GB, free: 68.48 MB / 0.5763 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008245/1.289, allocations: 484.9 kB / 0.8486 GB, free: 68 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.289, allocations: 8 kB / 0.8486 GB, free: 68 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.289, allocations: 8 kB / 0.8486 GB, free: 67.99 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.289, allocations: 15.94 kB / 0.8486 GB, free: 67.97 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/1.29, allocations: 139.8 kB / 0.8487 GB, free: 67.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.29, allocations: 20.47 kB / 0.8487 GB, free: 67.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/1.29, allocations: 43.59 kB / 0.8488 GB, free: 67.77 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/1.29, allocations: 49.47 kB / 0.8488 GB, free: 67.73 MB / 0.5763 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.000137/1.29, allocations: 161.5 kB / 0.849 GB, free: 67.56 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/1.29, allocations: 31.8 kB / 0.849 GB, free: 67.53 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/1.292, allocations: 2.574 MB / 0.8515 GB, free: 64.95 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.292, allocations: 15.92 kB / 0.8515 GB, free: 64.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.292, allocations: 7.938 kB / 0.8516 GB, free: 64.93 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/1.293, allocations: 128.4 kB / 0.8517 GB, free: 64.78 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.293, allocations: 102.7 kB / 0.8518 GB, free: 64.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/1.293, allocations: 36 kB / 0.8518 GB, free: 64.64 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/1.293, allocations: 31.91 kB / 0.8518 GB, free: 64.61 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008817/1.294, allocations: 1.556 MB / 0.8534 GB, free: 63.05 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001012/1.295, allocations: 1.66 MB / 0.855 GB, free: 61.37 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002593/1.295, allocations: 252.1 kB / 0.8552 GB, free: 61.12 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004772/1.296, allocations: 0.504 MB / 0.8557 GB, free: 60.61 MB / 0.5763 GB Notification: Performance of Backend: time 2.9e-07/1.296, allocations: 4 kB / 0.8557 GB, free: 60.61 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.306, allocations: 2.484 MB / 0.8581 GB, free: 58.46 MB / 0.5763 GB Notification: Performance of SimCode: time 0.001601/1.307, allocations: 1.671 MB / 0.8598 GB, free: 56.75 MB / 0.5763 GB Notification: Performance of Templates: time 0.06658/1.374, allocations: 65.11 MB / 0.9234 GB, free: 7.605 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches