Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2303/0.2303, allocations: 46.12 MB / 343.7 MB, free: 11.77 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 77.47 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 62.46 MB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03904/0.1783, allocations: 28.65 MB / 0.4961 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.1822, allocations: 3.03 MB / 0.4991 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1824, allocations: 0 / 0.4991 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1827, allocations: 47.72 kB / 0.4991 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.1847, allocations: 0.6492 MB / 0.4998 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1851, allocations: 132.8 kB / 0.4999 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.1857, allocations: 446.1 kB / 0.5003 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.1858, allocations: 13.69 kB / 0.5003 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2632/0.4489, allocations: 14.43 MB / 0.5144 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.4494, allocations: 156.9 kB / 0.5146 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.4494, allocations: 5.125 kB / 0.5146 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008908/0.4584, allocations: 3.427 MB / 0.5179 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.4585, allocations: 46.98 kB / 0.518 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.4587, allocations: 105.2 kB / 0.5181 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.4597, allocations: 478.9 kB / 0.5185 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4598, allocations: 0 / 0.5185 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4598, allocations: 5.969 kB / 0.5185 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4598, allocations: 0 / 0.5185 GB, free: 10.91 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.001131/0.4609, allocations: 0.5932 MB / 0.5191 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.461, allocations: 11.19 kB / 0.5191 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.4612, allocations: 32.98 kB / 0.5192 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.4614, allocations: 224.3 kB / 0.5194 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.4615, allocations: 123.9 kB / 0.5195 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.4615, allocations: 21.12 kB / 0.5195 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.462, allocations: 330.4 kB / 0.5198 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4621, allocations: 5.625 kB / 0.5198 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.4621, allocations: 13.84 kB / 0.5198 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.4621, allocations: 7.312 kB / 0.5198 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008386/0.463, allocations: 0.7357 MB / 0.5206 GB, free: 10.08 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.001308/0.4643, allocations: 1.306 MB / 0.5218 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.4647, allocations: 159.7 kB / 0.522 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.4649, allocations: 89.19 kB / 0.5221 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.4668, allocations: 2.804 MB / 0.5248 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4668, allocations: 36.11 kB / 0.5249 GB, free: 6.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.4668, allocations: 0 / 0.5249 GB, free: 6.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003035/0.4671, allocations: 121.4 kB / 0.525 GB, free: 6.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4672, allocations: 53.88 kB / 0.525 GB, free: 6.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.4674, allocations: 224.3 kB / 0.5252 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.4674, allocations: 30.58 kB / 0.5253 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.4675, allocations: 223.2 kB / 0.5255 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4675, allocations: 41.41 kB / 0.5255 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.4676, allocations: 84.47 kB / 0.5256 GB, free: 5.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.4677, allocations: 329.3 kB / 0.5259 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.4678, allocations: 54.11 kB / 0.526 GB, free: 5.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.468, allocations: 341 kB / 0.5263 GB, free: 4.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.4683, allocations: 445 kB / 0.5267 GB, free: 4.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.4684, allocations: 3.531 kB / 0.5267 GB, free: 4.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005115/0.4689, allocations: 375.3 kB / 0.5271 GB, free: 4.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4689, allocations: 9.75 kB / 0.5271 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.4689, allocations: 9.812 kB / 0.5271 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.469, allocations: 21.28 kB / 0.5271 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.4692, allocations: 98.89 kB / 0.5272 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.4692, allocations: 24.25 kB / 0.5272 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.4695, allocations: 55.19 kB / 0.5273 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.4695, allocations: 28.34 kB / 0.5273 GB, free: 4.457 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.0001051/0.4696, allocations: 157.6 kB / 0.5275 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.4697, allocations: 18.44 kB / 0.5275 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.47, allocations: 145.2 kB / 0.5276 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.47, allocations: 5.281 kB / 0.5276 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.47, allocations: 1.312 kB / 0.5276 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.47, allocations: 0 / 0.5276 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.4704, allocations: 413.3 kB / 0.528 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4704, allocations: 4.516 kB / 0.528 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.4705, allocations: 15.44 kB / 0.528 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.4705, allocations: 3.172 kB / 0.528 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4705, allocations: 1.562 kB / 0.528 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4705, allocations: 1.219 kB / 0.528 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4705, allocations: 1.5 kB / 0.528 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.4707, allocations: 213.8 kB / 0.5282 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.4707, allocations: 98.89 kB / 0.5283 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4708, allocations: 2.562 kB / 0.5283 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.4709, allocations: 6.594 kB / 0.5283 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.4709, allocations: 6.75 kB / 0.5284 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.471, allocations: 8 kB / 0.5284 GB, free: 3.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.4711, allocations: 157.2 kB / 0.5285 GB, free: 3.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4711, allocations: 0 / 0.5285 GB, free: 3.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005387/0.4716, allocations: 93.19 kB / 0.5286 GB, free: 3.57 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.0003033/0.4719, allocations: 169.9 kB / 0.5288 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.4723, allocations: 170.5 kB / 0.5289 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4723, allocations: 3.219 kB / 0.5289 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.4723, allocations: 22.88 kB / 0.5289 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.4728, allocations: 57.28 kB / 0.529 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.4737, allocations: 0.5972 MB / 0.5296 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4738, allocations: 0.7227 MB / 0.5303 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.4741, allocations: 58.92 kB / 0.5303 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.4741, allocations: 27.31 kB / 0.5304 GB, free: 2.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4741, allocations: 0 / 0.5304 GB, free: 2.43 MB / 382.1 MB Notification: Performance of Templates: time 0.007223/0.4813, allocations: 3.035 MB / 0.5333 GB, free: 2.02 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches