Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 173.7 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.7 MB / 243.9 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008038/0.0008039, allocations: 87.14 kB / 295 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3505/0.3505, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003634, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3493, allocations: 61.91 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02721/0.3765, allocations: 35.38 MB / 0.5473 GB, free: 9.219 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.3797, allocations: 5.146 MB / 0.5523 GB, free: 4.395 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.3798, allocations: 0 / 0.5523 GB, free: 4.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.3801, allocations: 47.81 kB / 0.5524 GB, free: 4.375 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.3816, allocations: 0.6597 MB / 0.553 GB, free: 4.004 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.3819, allocations: 122.2 kB / 0.5531 GB, free: 3.945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.3824, allocations: 442.3 kB / 0.5535 GB, free: 3.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.3824, allocations: 17.39 kB / 0.5536 GB, free: 3.766 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03515/0.4176, allocations: 14.43 MB / 0.5677 GB, free: 12.97 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.4181, allocations: 158.4 kB / 0.5678 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.4181, allocations: 7.219 kB / 0.5678 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009173/0.4273, allocations: 3.421 MB / 0.5712 GB, free: 11.31 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.4274, allocations: 39.22 kB / 0.5712 GB, free: 11.3 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.4276, allocations: 135.6 kB / 0.5713 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009391/0.4285, allocations: 470.2 kB / 0.5718 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4286, allocations: 0 / 0.5718 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4286, allocations: 1.188 kB / 0.5718 GB, free: 11.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.4286, allocations: 0 / 0.5718 GB, free: 11.07 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001033/0.4296, allocations: 0.5476 MB / 0.5723 GB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4297, allocations: 9.672 kB / 0.5723 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.4298, allocations: 25.27 kB / 0.5723 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.43, allocations: 235.9 kB / 0.5726 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.4302, allocations: 127.2 kB / 0.5727 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.4302, allocations: 22.69 kB / 0.5727 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.4307, allocations: 325.3 kB / 0.573 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4307, allocations: 3.938 kB / 0.573 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.4307, allocations: 12.16 kB / 0.573 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.4308, allocations: 9.719 kB / 0.573 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/0.4316, allocations: 0.7348 MB / 0.5738 GB, free: 9.637 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.001318/0.4329, allocations: 1.304 MB / 0.575 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.4332, allocations: 168.2 kB / 0.5752 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.4334, allocations: 81.02 kB / 0.5753 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002316/0.4357, allocations: 2.806 MB / 0.578 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.4357, allocations: 39.69 kB / 0.578 GB, free: 5.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.4357, allocations: 1.094 kB / 0.5781 GB, free: 5.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002811/0.436, allocations: 121.7 kB / 0.5782 GB, free: 4.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.4361, allocations: 52.5 kB / 0.5782 GB, free: 4.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.4363, allocations: 223.6 kB / 0.5784 GB, free: 4.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4363, allocations: 26.61 kB / 0.5785 GB, free: 4.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4365, allocations: 217.9 kB / 0.5787 GB, free: 4.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.4365, allocations: 38.8 kB / 0.5787 GB, free: 4.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.4365, allocations: 14.12 kB / 0.5787 GB, free: 4.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4366, allocations: 330.2 kB / 0.579 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.4367, allocations: 44 kB / 0.5791 GB, free: 4.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.437, allocations: 342.5 kB / 0.5794 GB, free: 3.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.4374, allocations: 440.9 kB / 0.5798 GB, free: 3.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4374, allocations: 3.094 kB / 0.5798 GB, free: 3.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005094/0.4379, allocations: 376.5 kB / 0.5802 GB, free: 2.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.438, allocations: 13.77 kB / 0.5802 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.438, allocations: 11.12 kB / 0.5802 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.438, allocations: 21.56 kB / 0.5802 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.4383, allocations: 94.14 kB / 0.5803 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.4383, allocations: 24.77 kB / 0.5803 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.4385, allocations: 64.2 kB / 0.5804 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.4386, allocations: 28.34 kB / 0.5804 GB, free: 2.895 MB / 394.7 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.0001196/0.4387, allocations: 151.7 kB / 0.5806 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.4388, allocations: 18.34 kB / 0.5806 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.439, allocations: 147.3 kB / 0.5807 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4391, allocations: 2.844 kB / 0.5807 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4391, allocations: 0 / 0.5807 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4391, allocations: 7.984 kB / 0.5807 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.4395, allocations: 406.9 kB / 0.5811 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4395, allocations: 5.219 kB / 0.5811 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.4396, allocations: 11.09 kB / 0.5811 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4396, allocations: 1.406 kB / 0.5811 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4396, allocations: 6.438 kB / 0.5811 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4396, allocations: 5.078 kB / 0.5812 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4397, allocations: 5.156 kB / 0.5812 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.4398, allocations: 202.8 kB / 0.5814 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.422e-05/0.4399, allocations: 109.4 kB / 0.5815 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.44, allocations: 1.094 kB / 0.5815 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.4401, allocations: 15.33 kB / 0.5815 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.4402, allocations: 12.33 kB / 0.5815 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4402, allocations: 7.125 kB / 0.5815 GB, free: 1.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.4403, allocations: 155.1 kB / 0.5816 GB, free: 1.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4403, allocations: 0 / 0.5816 GB, free: 1.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.4408, allocations: 85.84 kB / 0.5817 GB, free: 1.75 MB / 394.7 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.000285/0.4411, allocations: 170.7 kB / 0.5819 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.4413, allocations: 168.5 kB / 0.582 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4414, allocations: 0.875 kB / 0.582 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.4414, allocations: 23.31 kB / 0.5821 GB, free: 1.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.4418, allocations: 48.77 kB / 0.5821 GB, free: 1.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009879/0.4428, allocations: 0.6448 MB / 0.5827 GB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4431, allocations: 0.7302 MB / 0.5835 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.4434, allocations: 51.02 kB / 0.5835 GB, free: 276 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.4434, allocations: 31.19 kB / 0.5835 GB, free: 260 kB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4435, allocations: 0 / 0.5835 GB, free: 260 kB / 394.7 MB Notification: Performance of Templates: time 0.006608/0.4501, allocations: 3.024 MB / 0.5865 GB, free: 14.28 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches