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.001118/0.001119, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001146/0.001146, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.33/1.33, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1982/0.1982, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3536, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03237/0.386, allocations: 26.8 MB / 0.5458 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.3897, allocations: 2.946 MB / 0.5486 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.39, allocations: 5.094 kB / 0.5487 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.3904, allocations: 60.52 kB / 0.5487 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.3926, allocations: 0.7183 MB / 0.5494 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.3929, allocations: 137.2 kB / 0.5495 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006888/0.3936, allocations: 370.4 kB / 0.5499 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.3937, allocations: 10.06 kB / 0.5499 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03842/0.4321, allocations: 15.49 MB / 0.565 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004369/0.4326, allocations: 147.5 kB / 0.5652 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.4327, allocations: 12 kB / 0.5652 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007994/0.4407, allocations: 3.448 MB / 0.5686 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.4408, allocations: 43.77 kB / 0.5686 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.4411, allocations: 111.5 kB / 0.5687 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.4426, allocations: 466.8 kB / 0.5691 GB, free: 9.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4427, allocations: 0 / 0.5691 GB, free: 9.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4427, allocations: 4 kB / 0.5691 GB, free: 9.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4427, allocations: 0 / 0.5691 GB, free: 9.07 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.001518/0.4442, allocations: 0.6047 MB / 0.5697 GB, free: 8.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4443, allocations: 8.031 kB / 0.5697 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.4445, allocations: 28.66 kB / 0.5698 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4448, allocations: 224.1 kB / 0.57 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.4449, allocations: 119.9 kB / 0.5701 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.4449, allocations: 28.12 kB / 0.5701 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.4456, allocations: 331.6 kB / 0.5704 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4456, allocations: 0 / 0.5704 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.4456, allocations: 12 kB / 0.5705 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.4457, allocations: 4 kB / 0.5705 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.4465, allocations: 0.7429 MB / 0.5712 GB, free: 6.848 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.001479/0.448, allocations: 1.296 MB / 0.5725 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.4484, allocations: 171.7 kB / 0.5726 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.4485, allocations: 85.48 kB / 0.5727 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/0.451, allocations: 2.806 MB / 0.5754 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4511, allocations: 46.55 kB / 0.5755 GB, free: 1.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.4511, allocations: 0 / 0.5755 GB, free: 1.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002918/0.4514, allocations: 109.4 kB / 0.5756 GB, free: 1.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4514, allocations: 59.34 kB / 0.5756 GB, free: 1.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.4516, allocations: 222.7 kB / 0.5759 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.4517, allocations: 25.7 kB / 0.5759 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4518, allocations: 218.6 kB / 0.5761 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.4519, allocations: 47.44 kB / 0.5761 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.452, allocations: 90.02 kB / 0.5762 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4521, allocations: 326.8 kB / 0.5765 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.4522, allocations: 44.84 kB / 0.5766 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.4525, allocations: 339.2 kB / 0.5769 GB, free: 124 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.4529, allocations: 448.6 kB / 0.5773 GB, free: 15.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.4529, allocations: 4 kB / 0.5773 GB, free: 15.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000581/0.4535, allocations: 377.8 kB / 0.5777 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4536, allocations: 12 kB / 0.5777 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.4536, allocations: 8 kB / 0.5777 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.4536, allocations: 23.97 kB / 0.5777 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.4539, allocations: 99.77 kB / 0.5778 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.4539, allocations: 19.94 kB / 0.5778 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.4541, allocations: 55.38 kB / 0.5779 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4542, allocations: 31.98 kB / 0.5779 GB, free: 14.91 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.0001365/0.4543, allocations: 149.6 kB / 0.5781 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.4544, allocations: 19.81 kB / 0.5781 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.4547, allocations: 152.8 kB / 0.5782 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4547, allocations: 4 kB / 0.5782 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4547, allocations: 0 / 0.5782 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4547, allocations: 0 / 0.5782 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.4552, allocations: 420.8 kB / 0.5786 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4552, allocations: 3.938 kB / 0.5786 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.4553, allocations: 16.05 kB / 0.5787 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4553, allocations: 4 kB / 0.5787 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4553, allocations: 4 kB / 0.5787 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4553, allocations: 0 / 0.5787 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4553, allocations: 3.938 kB / 0.5787 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.4555, allocations: 209.8 kB / 0.5789 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.4556, allocations: 92.91 kB / 0.579 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.4557, allocations: 8 kB / 0.579 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4558, allocations: 7.984 kB / 0.579 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.4558, allocations: 4 kB / 0.579 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.4559, allocations: 8 kB / 0.579 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.456, allocations: 156.5 kB / 0.5791 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.456, allocations: 0 / 0.5791 GB, free: 13.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.4565, allocations: 95.92 kB / 0.5792 GB, free: 13.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (9): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0002964/0.4568, allocations: 151.2 kB / 0.5794 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.4571, allocations: 178.2 kB / 0.5795 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.4572, allocations: 0 / 0.5795 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.4572, allocations: 27.92 kB / 0.5796 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.4577, allocations: 44.78 kB / 0.5796 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009655/0.4586, allocations: 0.5559 MB / 0.5802 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4589, allocations: 0.7206 MB / 0.5809 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.459, allocations: 31.44 kB / 0.5809 GB, free: 11.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.459, allocations: 0 / 0.5809 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Templates: time 0.005907/0.4649, allocations: 3.367 MB / 0.5842 GB, free: 8.32 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