Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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 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 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 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.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 110.5 kB / 17.09 MB, free: 6.012 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.00148/0.00148, allocations: 190.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2124/0.2124, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03253/0.1399, allocations: 26.83 MB / 0.5148 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003876/0.1438, allocations: 2.959 MB / 0.5177 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.1441, allocations: 0 / 0.5177 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1444, allocations: 51.66 kB / 0.5177 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.1462, allocations: 0.7265 MB / 0.5184 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1467, allocations: 131.8 kB / 0.5186 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006784/0.1474, allocations: 366.1 kB / 0.5189 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.1475, allocations: 17.67 kB / 0.5189 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.265/0.4125, allocations: 15.46 MB / 0.534 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.413, allocations: 148.9 kB / 0.5342 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.4131, allocations: 8.438 kB / 0.5342 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006996/0.4201, allocations: 3.44 MB / 0.5375 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.4202, allocations: 51.19 kB / 0.5376 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.4203, allocations: 102.6 kB / 0.5377 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009245/0.4213, allocations: 478.4 kB / 0.5381 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4213, allocations: 0 / 0.5381 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4213, allocations: 0 / 0.5381 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4213, allocations: 1.062 kB / 0.5381 GB, free: 12.21 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001084/0.4224, allocations: 0.5967 MB / 0.5387 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4224, allocations: 12.98 kB / 0.5387 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.4226, allocations: 25.77 kB / 0.5387 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.4229, allocations: 224.3 kB / 0.539 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.423, allocations: 122.8 kB / 0.5391 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.423, allocations: 29.91 kB / 0.5391 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.4235, allocations: 324.3 kB / 0.5394 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4235, allocations: 0.8125 kB / 0.5394 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.4235, allocations: 15.06 kB / 0.5394 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.4235, allocations: 5.688 kB / 0.5394 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.4244, allocations: 0.7379 MB / 0.5402 GB, free: 11.36 MB / 414.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.001159/0.4256, allocations: 1.302 MB / 0.5414 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.426, allocations: 162.6 kB / 0.5416 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.4261, allocations: 89.2 kB / 0.5417 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/0.4281, allocations: 2.815 MB / 0.5444 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.4281, allocations: 35.81 kB / 0.5445 GB, free: 7.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.4281, allocations: 1.781 kB / 0.5445 GB, free: 7.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002998/0.4284, allocations: 120.2 kB / 0.5446 GB, free: 7.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4284, allocations: 53.61 kB / 0.5446 GB, free: 7.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.4286, allocations: 220.9 kB / 0.5448 GB, free: 7.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4287, allocations: 26.98 kB / 0.5449 GB, free: 7.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4288, allocations: 219.4 kB / 0.5451 GB, free: 6.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.4288, allocations: 46.72 kB / 0.5451 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4289, allocations: 86.42 kB / 0.5452 GB, free: 6.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.429, allocations: 327.4 kB / 0.5455 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.4291, allocations: 47.06 kB / 0.5456 GB, free: 6.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.4293, allocations: 343.7 kB / 0.5459 GB, free: 6.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.4297, allocations: 442.5 kB / 0.5463 GB, free: 5.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.4297, allocations: 3.156 kB / 0.5463 GB, free: 5.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005605/0.4302, allocations: 388.6 kB / 0.5467 GB, free: 5.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4303, allocations: 9.688 kB / 0.5467 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4303, allocations: 15.22 kB / 0.5467 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.4303, allocations: 13.62 kB / 0.5467 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4306, allocations: 103.3 kB / 0.5468 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.4306, allocations: 19.08 kB / 0.5468 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.4308, allocations: 53.34 kB / 0.5469 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.4309, allocations: 30.16 kB / 0.5469 GB, free: 5.727 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.693e-05/0.431, allocations: 152.5 kB / 0.5471 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.431, allocations: 18.66 kB / 0.5471 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.4313, allocations: 152.2 kB / 0.5472 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4313, allocations: 4.781 kB / 0.5472 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4313, allocations: 0.7031 kB / 0.5472 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.4314, allocations: 99.19 kB / 0.5473 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.4314, allocations: 5.844 kB / 0.5473 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.4315, allocations: 8.469 kB / 0.5473 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.4316, allocations: 5.531 kB / 0.5473 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001243/0.4317, allocations: 149.6 kB / 0.5475 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001627/0.4319, allocations: 260.9 kB / 0.5477 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.806e-05/0.4319, allocations: 22.05 kB / 0.5477 GB, free: 5.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.432, allocations: 160 kB / 0.5479 GB, free: 5.02 MB / 414.1 MB Notification: Performance of Backend: time 2.9e-07/0.4321, allocations: 0 / 0.5479 GB, free: 5.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.4333, allocations: 444.3 kB / 0.5483 GB, free: 4.914 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008728/0.4342, allocations: 0.8536 MB / 0.5492 GB, free: 4.238 MB / 414.1 MB Notification: Performance of Templates: time 0.01041/0.4446, allocations: 5.276 MB / 0.5543 GB, free: 3.527 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches