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.001568/0.001568, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001871/0.001871, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.409/1.409, allocations: 222.9 MB / 243 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.206/0.206, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 68.58 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02937/0.1417, allocations: 26.79 MB / 497.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.145, allocations: 2.952 MB / 0.4887 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.1451, allocations: 4 kB / 0.4887 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.1455, allocations: 55.59 kB / 0.4888 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.1474, allocations: 0.7188 MB / 0.4895 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1477, allocations: 138.2 kB / 0.4896 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.1483, allocations: 374.1 kB / 0.49 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.601e-05/0.1484, allocations: 21.61 kB / 0.49 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2514/0.3998, allocations: 15.47 MB / 0.5051 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.4004, allocations: 144.5 kB / 0.5052 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.4004, allocations: 8.531 kB / 0.5052 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008795/0.4092, allocations: 3.446 MB / 0.5086 GB, free: 22.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.4094, allocations: 43.03 kB / 0.5086 GB, free: 22.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.4095, allocations: 106.8 kB / 0.5087 GB, free: 22.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009085/0.4104, allocations: 472.5 kB / 0.5092 GB, free: 22.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4104, allocations: 0 / 0.5092 GB, free: 22.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4105, allocations: 1.219 kB / 0.5092 GB, free: 22.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.4105, allocations: 0 / 0.5092 GB, free: 22.23 MB / 382.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.001047/0.4115, allocations: 0.5981 MB / 0.5098 GB, free: 21.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4116, allocations: 13.5 kB / 0.5098 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.4117, allocations: 23.89 kB / 0.5098 GB, free: 21.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.412, allocations: 229.5 kB / 0.51 GB, free: 21.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.4121, allocations: 124.3 kB / 0.5101 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.4122, allocations: 24.22 kB / 0.5102 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.4127, allocations: 328.4 kB / 0.5105 GB, free: 21.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4127, allocations: 1.688 kB / 0.5105 GB, free: 21.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.4127, allocations: 13.25 kB / 0.5105 GB, free: 21.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.4128, allocations: 10.48 kB / 0.5105 GB, free: 21.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009536/0.4137, allocations: 0.7365 MB / 0.5112 GB, free: 21.39 MB / 382.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.001241/0.415, allocations: 1.301 MB / 0.5125 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.4154, allocations: 163.3 kB / 0.5127 GB, free: 20.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4155, allocations: 87.03 kB / 0.5127 GB, free: 20.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.4175, allocations: 2.805 MB / 0.5155 GB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.4175, allocations: 39.64 kB / 0.5155 GB, free: 17.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.4175, allocations: 0 / 0.5155 GB, free: 17.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002753/0.4178, allocations: 125.2 kB / 0.5156 GB, free: 17.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.4178, allocations: 53.06 kB / 0.5157 GB, free: 17.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.418, allocations: 225.9 kB / 0.5159 GB, free: 17.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4181, allocations: 27.11 kB / 0.5159 GB, free: 17.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4182, allocations: 218.4 kB / 0.5161 GB, free: 16.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.4182, allocations: 49.7 kB / 0.5162 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.4183, allocations: 84.94 kB / 0.5163 GB, free: 16.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.4184, allocations: 331.5 kB / 0.5166 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.4185, allocations: 44.19 kB / 0.5166 GB, free: 16.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4187, allocations: 348.8 kB / 0.517 GB, free: 16.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.4191, allocations: 444.5 kB / 0.5174 GB, free: 15.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4191, allocations: 3.031 kB / 0.5174 GB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000556/0.4196, allocations: 380.2 kB / 0.5177 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4197, allocations: 10.34 kB / 0.5178 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4197, allocations: 10.47 kB / 0.5178 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.4197, allocations: 18.47 kB / 0.5178 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.42, allocations: 106 kB / 0.5179 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.42, allocations: 20.91 kB / 0.5179 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.4203, allocations: 50.38 kB / 0.5179 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.4203, allocations: 36.36 kB / 0.518 GB, free: 15.75 MB / 382.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.0001049/0.4204, allocations: 143.3 kB / 0.5181 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.4205, allocations: 18.14 kB / 0.5181 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.4208, allocations: 154 kB / 0.5183 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.4208, allocations: 5.359 kB / 0.5183 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4208, allocations: 2.656 kB / 0.5183 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4208, allocations: 0.6094 kB / 0.5183 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.4213, allocations: 409.1 kB / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4213, allocations: 1.906 kB / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.4214, allocations: 11.3 kB / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4214, allocations: 4.625 kB / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4214, allocations: 5.562 kB / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4214, allocations: 0 / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4214, allocations: 1.875 kB / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.4216, allocations: 203.5 kB / 0.5189 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.4216, allocations: 105.9 kB / 0.519 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.4217, allocations: 3.422 kB / 0.519 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4218, allocations: 12.88 kB / 0.519 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.4218, allocations: 6.984 kB / 0.519 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4219, allocations: 4.25 kB / 0.519 GB, free: 14.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.422, allocations: 162.8 kB / 0.5192 GB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.422, allocations: 0 / 0.5192 GB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.4225, allocations: 86.78 kB / 0.5193 GB, free: 14.88 MB / 382.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.0002919/0.4228, allocations: 160.6 kB / 0.5194 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.4231, allocations: 173.3 kB / 0.5196 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4231, allocations: 0 / 0.5196 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.4232, allocations: 24.22 kB / 0.5196 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.4236, allocations: 49.48 kB / 0.5197 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.4246, allocations: 0.5251 MB / 0.5202 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.4247, allocations: 0.7264 MB / 0.5209 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.4249, allocations: 54.22 kB / 0.5209 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.425, allocations: 31.3 kB / 0.521 GB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.425, allocations: 0 / 0.521 GB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.006277/0.4313, allocations: 3.119 MB / 0.524 GB, free: 13.5 MB / 382.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 -s gbode -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