Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 101.4 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3545/0.3545, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1185, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01738/0.1359, allocations: 14.65 MB / 0.4899 GB, free: 13.83 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2306/0.3665, allocations: 28.29 MB / 0.5175 GB, free: 37.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.3668, allocations: 1.094 kB / 0.5175 GB, free: 37.53 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.3674, allocations: 85.27 kB / 0.5176 GB, free: 37.53 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02225/0.3896, allocations: 6.827 MB / 0.5243 GB, free: 36.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3907, allocations: 316.6 kB / 0.5246 GB, free: 36.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005123/0.3958, allocations: 2.034 MB / 0.5266 GB, free: 35.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.396, allocations: 21.59 kB / 0.5266 GB, free: 35.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.3966, allocations: 263.5 kB / 0.5268 GB, free: 35.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006689/0.4033, allocations: 3.269 MB / 0.53 GB, free: 34.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.939e-05/0.4034, allocations: 10.31 kB / 0.53 GB, free: 34.56 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02151/0.4249, allocations: 10.72 MB / 0.5405 GB, free: 31.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.4251, allocations: 46.12 kB / 0.5406 GB, free: 31.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.4254, allocations: 142.6 kB / 0.5407 GB, free: 31.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.4447, allocations: 6.333 MB / 0.5469 GB, free: 30.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4447, allocations: 0 / 0.5469 GB, free: 30.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4447, allocations: 0 / 0.5469 GB, free: 30.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.4448, allocations: 0 / 0.5469 GB, free: 30.14 MB / 394.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.00566/0.4504, allocations: 1.555 MB / 0.5484 GB, free: 29.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4505, allocations: 9.062 kB / 0.5484 GB, free: 29.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.4522, allocations: 228.2 kB / 0.5486 GB, free: 29.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.4526, allocations: 273.8 kB / 0.5489 GB, free: 28.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.4527, allocations: 23.59 kB / 0.5489 GB, free: 28.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.4527, allocations: 32.16 kB / 0.5489 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.455, allocations: 0.8251 MB / 0.5497 GB, free: 28.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.455, allocations: 5.25 kB / 0.5497 GB, free: 28.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.4551, allocations: 12.34 kB / 0.5498 GB, free: 28.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4551, allocations: 7.406 kB / 0.5498 GB, free: 28.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.4574, allocations: 0.9348 MB / 0.5507 GB, free: 27.9 MB / 394.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.00287/0.4603, allocations: 2.577 MB / 0.5532 GB, free: 25.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.4616, allocations: 380.3 kB / 0.5536 GB, free: 25.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.4617, allocations: 82.23 kB / 0.5536 GB, free: 25.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7745/1.236, allocations: 224.9 MB / 0.7733 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/1.238, allocations: 476.1 kB / 0.7737 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/1.238, allocations: 0 / 0.7737 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.002628/1.24, allocations: 0.7795 MB / 0.7745 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/1.24, allocations: 376.9 kB / 0.7749 GB, free: 135 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/1.241, allocations: 185.6 kB / 0.775 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/1.241, allocations: 33.7 kB / 0.7751 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/1.241, allocations: 192.2 kB / 0.7752 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/1.241, allocations: 106.2 kB / 0.7753 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/1.241, allocations: 118.1 kB / 0.7755 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/1.241, allocations: 334.4 kB / 0.7758 GB, free: 134 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.241, allocations: 89.06 kB / 0.7759 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/1.242, allocations: 345.3 kB / 0.7762 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/1.242, allocations: 486.9 kB / 0.7767 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.242, allocations: 4.688 kB / 0.7767 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007464/1.243, allocations: 470 kB / 0.7771 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.243, allocations: 11.94 kB / 0.7771 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.243, allocations: 8 kB / 0.7771 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.243, allocations: 16 kB / 0.7771 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/1.243, allocations: 139.8 kB / 0.7773 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.243, allocations: 19.92 kB / 0.7773 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/1.244, allocations: 48.28 kB / 0.7773 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/1.244, allocations: 45.8 kB / 0.7774 GB, free: 132.1 MB / 0.5105 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.0001288/1.244, allocations: 165.6 kB / 0.7775 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/1.244, allocations: 27.72 kB / 0.7776 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/1.246, allocations: 2.608 MB / 0.7801 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/1.246, allocations: 15.98 kB / 0.7801 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.246, allocations: 4 kB / 0.7801 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/1.246, allocations: 11.92 kB / 0.7801 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/1.247, allocations: 0.9301 MB / 0.7811 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.247, allocations: 4.375 kB / 0.7811 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/1.247, allocations: 83.8 kB / 0.7811 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.247, allocations: 8 kB / 0.7811 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.247, allocations: 8 kB / 0.7812 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.247, allocations: 7.984 kB / 0.7812 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.247, allocations: 5.594 kB / 0.7812 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/1.249, allocations: 1.694 MB / 0.7828 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/1.249, allocations: 127.8 kB / 0.7829 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/1.249, allocations: 110.5 kB / 0.7831 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/1.249, allocations: 18.52 kB / 0.7831 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/1.249, allocations: 35.89 kB / 0.7831 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/1.249, allocations: 16 kB / 0.7831 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004672/1.25, allocations: 0.504 MB / 0.7836 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.25, allocations: 0 / 0.7836 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006241/1.256, allocations: 1.529 MB / 0.7851 GB, free: 124.2 MB / 0.5105 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.009128/1.265, allocations: 1.723 MB / 0.7868 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009051/1.266, allocations: 415.2 kB / 0.7872 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.266, allocations: 0 / 0.7872 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/1.266, allocations: 284.8 kB / 0.7875 GB, free: 122 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/1.267, allocations: 133.1 kB / 0.7876 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.31/2.577, allocations: 0.6007 GB / 1.388 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/2.578, allocations: 1.001 MB / 1.389 GB, free: 66.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007887/2.579, allocations: 0.5236 MB / 1.39 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/2.579, allocations: 60.16 kB / 1.39 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/2.579, allocations: 4 kB / 1.39 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.2468/2.826, allocations: 55.71 MB / 1.444 GB, free: 175.6 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches