Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 98.3 kB / 17.01 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 194.7 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.19 MB / 344.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 8.219 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1607, allocations: 63.56 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03256/0.1933, allocations: 24.93 MB / 0.4954 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.1969, allocations: 2.743 MB / 0.4981 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1971, allocations: 0 / 0.4981 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1973, allocations: 35.73 kB / 0.4982 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1994, allocations: 0.575 MB / 0.4987 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.1998, allocations: 123.4 kB / 0.4988 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.2005, allocations: 394.1 kB / 0.4992 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.2005, allocations: 13.67 kB / 0.4992 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3625/0.563, allocations: 22.45 MB / 0.5211 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.5635, allocations: 146 kB / 0.5213 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.5635, allocations: 8.031 kB / 0.5213 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009544/0.5731, allocations: 5.597 MB / 0.5268 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.5733, allocations: 45.34 kB / 0.5268 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.5734, allocations: 64.73 kB / 0.5269 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.5741, allocations: 292.1 kB / 0.5271 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5741, allocations: 0 / 0.5271 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5741, allocations: 0 / 0.5271 GB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.5741, allocations: 0 / 0.5271 GB, free: 15.13 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.00102/0.5752, allocations: 0.5532 MB / 0.5277 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5752, allocations: 12.64 kB / 0.5277 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.5754, allocations: 24.47 kB / 0.5277 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.5757, allocations: 226.2 kB / 0.5279 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.5759, allocations: 123.2 kB / 0.528 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.5759, allocations: 18.86 kB / 0.5281 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/0.5766, allocations: 325.9 kB / 0.5284 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5767, allocations: 4 kB / 0.5284 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.5767, allocations: 11.83 kB / 0.5284 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.5767, allocations: 8.703 kB / 0.5284 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.5776, allocations: 0.7353 MB / 0.5291 GB, free: 13.62 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.001125/0.5788, allocations: 1.308 MB / 0.5304 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.5791, allocations: 158.3 kB / 0.5305 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.5792, allocations: 82.75 kB / 0.5306 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.5811, allocations: 2.813 MB / 0.5334 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.5812, allocations: 37.64 kB / 0.5334 GB, free: 9.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.5812, allocations: 0 / 0.5334 GB, free: 9.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003129/0.5815, allocations: 120.3 kB / 0.5335 GB, free: 9.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.5815, allocations: 52.25 kB / 0.5336 GB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.5817, allocations: 215.3 kB / 0.5338 GB, free: 8.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.5818, allocations: 28.52 kB / 0.5338 GB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5819, allocations: 222 kB / 0.534 GB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.5819, allocations: 47.81 kB / 0.5341 GB, free: 8.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.582, allocations: 6.938 kB / 0.5341 GB, free: 8.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.582, allocations: 328.9 kB / 0.5344 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.5821, allocations: 46.3 kB / 0.5344 GB, free: 8.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.5824, allocations: 343.9 kB / 0.5348 GB, free: 7.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.5826, allocations: 107.5 kB / 0.5349 GB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5826, allocations: 0 / 0.5349 GB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004504/0.583, allocations: 380.6 kB / 0.5352 GB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.583, allocations: 8 kB / 0.5352 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5831, allocations: 15.84 kB / 0.5352 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5831, allocations: 16 kB / 0.5353 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5833, allocations: 99.64 kB / 0.5354 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.5833, allocations: 23.08 kB / 0.5354 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5836, allocations: 53.94 kB / 0.5354 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.5836, allocations: 35.5 kB / 0.5355 GB, free: 7.336 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5837, allocations: 152.2 kB / 0.5356 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.5837, allocations: 19.81 kB / 0.5356 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.584, allocations: 146.6 kB / 0.5358 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.584, allocations: 0 / 0.5358 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.584, allocations: 0 / 0.5358 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5841, allocations: 7.938 kB / 0.5358 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.5844, allocations: 400 kB / 0.5362 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5844, allocations: 4.094 kB / 0.5362 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.5845, allocations: 17.64 kB / 0.5362 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5845, allocations: 4 kB / 0.5362 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5845, allocations: 1.953 kB / 0.5362 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5845, allocations: 3.5 kB / 0.5362 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5845, allocations: 4 kB / 0.5362 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.5847, allocations: 209.8 kB / 0.5364 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.5848, allocations: 104.8 kB / 0.5365 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.5848, allocations: 3.391 kB / 0.5365 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.5849, allocations: 6.766 kB / 0.5365 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.585, allocations: 9.766 kB / 0.5365 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.585, allocations: 6.25 kB / 0.5365 GB, free: 6.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.5851, allocations: 155.2 kB / 0.5367 GB, free: 6.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5851, allocations: 4 kB / 0.5367 GB, free: 6.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.5856, allocations: 92.94 kB / 0.5368 GB, free: 6.137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002569/0.5858, allocations: 162.8 kB / 0.5369 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.5861, allocations: 162.5 kB / 0.5371 GB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5861, allocations: 1.969 kB / 0.5371 GB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.5862, allocations: 26.17 kB / 0.5371 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.5866, allocations: 35.56 kB / 0.5371 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.5876, allocations: 0.6333 MB / 0.5377 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.5878, allocations: 0.7296 MB / 0.5385 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.588, allocations: 55.14 kB / 0.5385 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.588, allocations: 25.94 kB / 0.5385 GB, free: 4.578 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.588, allocations: 1.641 kB / 0.5385 GB, free: 4.578 MB / 382.1 MB Notification: Performance of Templates: time 0.005723/0.5938, allocations: 2.848 MB / 0.5413 GB, free: 2.91 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches