Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001516/0.001516, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001733/0.001733, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.365/1.365, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2117/0.2117, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3387, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03039/0.3691, allocations: 26.81 MB / 0.5458 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.3726, allocations: 2.957 MB / 0.5487 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3727, allocations: 2.5 kB / 0.5487 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.3731, allocations: 50.97 kB / 0.5487 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.375, allocations: 0.7234 MB / 0.5494 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.3754, allocations: 136.4 kB / 0.5495 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.3759, allocations: 375.6 kB / 0.5499 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.376, allocations: 13.45 kB / 0.5499 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04196/0.418, allocations: 15.49 MB / 0.565 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.4185, allocations: 151.5 kB / 0.5652 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.4186, allocations: 8 kB / 0.5652 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009246/0.4279, allocations: 3.44 MB / 0.5686 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.428, allocations: 43.77 kB / 0.5686 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.4282, allocations: 111.5 kB / 0.5687 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.4295, allocations: 466.8 kB / 0.5691 GB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4295, allocations: 0 / 0.5691 GB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4295, allocations: 4 kB / 0.5692 GB, free: 9.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.4295, allocations: 0 / 0.5692 GB, free: 9.098 MB / 430.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.001237/0.4308, allocations: 0.5931 MB / 0.5697 GB, free: 8.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4308, allocations: 12.02 kB / 0.5697 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.431, allocations: 44.53 kB / 0.5698 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.4314, allocations: 228.1 kB / 0.57 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.4315, allocations: 119.9 kB / 0.5701 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.4315, allocations: 24.12 kB / 0.5701 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.4321, allocations: 327.6 kB / 0.5705 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4321, allocations: 0 / 0.5705 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.4322, allocations: 12 kB / 0.5705 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.4322, allocations: 8 kB / 0.5705 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.433, allocations: 0.7429 MB / 0.5712 GB, free: 6.863 MB / 430.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.001391/0.4344, allocations: 1.296 MB / 0.5725 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.4348, allocations: 163.7 kB / 0.5726 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.4349, allocations: 89.42 kB / 0.5727 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002484/0.4374, allocations: 2.81 MB / 0.5754 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4375, allocations: 38.55 kB / 0.5755 GB, free: 1.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.4375, allocations: 0 / 0.5755 GB, free: 1.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003111/0.4378, allocations: 113.4 kB / 0.5756 GB, free: 1.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.4378, allocations: 55.41 kB / 0.5756 GB, free: 1.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.438, allocations: 218.7 kB / 0.5759 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4381, allocations: 41.62 kB / 0.5759 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.4382, allocations: 210.6 kB / 0.5761 GB, free: 1.137 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.4382, allocations: 51.42 kB / 0.5761 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.4383, allocations: 78.05 kB / 0.5762 GB, free: 1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4384, allocations: 330.8 kB / 0.5765 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.4385, allocations: 48.84 kB / 0.5766 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.4388, allocations: 343.2 kB / 0.5769 GB, free: 140 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.4392, allocations: 444.6 kB / 0.5773 GB, free: 15.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4392, allocations: 4 kB / 0.5773 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005737/0.4398, allocations: 381.2 kB / 0.5777 GB, free: 15.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4398, allocations: 8 kB / 0.5777 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4399, allocations: 12 kB / 0.5777 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.4399, allocations: 15.94 kB / 0.5777 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.4401, allocations: 104.4 kB / 0.5778 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.4402, allocations: 15.94 kB / 0.5778 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.4404, allocations: 59.44 kB / 0.5779 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.4405, allocations: 31.98 kB / 0.5779 GB, free: 14.93 MB / 446.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 0.0001193/0.4406, allocations: 145.6 kB / 0.5781 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.4406, allocations: 19.81 kB / 0.5781 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.4409, allocations: 156.8 kB / 0.5782 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.441, allocations: 3.938 kB / 0.5782 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.441, allocations: 0 / 0.5782 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.4411, allocations: 104.8 kB / 0.5783 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.4411, allocations: 3.906 kB / 0.5784 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4413, allocations: 7.938 kB / 0.5784 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.4413, allocations: 7.984 kB / 0.5784 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001519/0.4415, allocations: 152.9 kB / 0.5785 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002256/0.4417, allocations: 266.5 kB / 0.5788 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.937e-05/0.4417, allocations: 15.98 kB / 0.5788 GB, free: 14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.4419, allocations: 156.5 kB / 0.5789 GB, free: 13.85 MB / 446.1 MB Notification: Performance of Backend: time 6.61e-07/0.4419, allocations: 3.938 kB / 0.5789 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4429, allocations: 440.5 kB / 0.5794 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 0.0008533/0.4438, allocations: 0.8456 MB / 0.5802 GB, free: 12.52 MB / 446.1 MB Notification: Performance of Templates: time 0.01451/0.4583, allocations: 5.236 MB / 0.5853 GB, free: 7.301 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches