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.001151/0.001151, allocations: 104.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 202.2 kB / 17.9 MB, free: 5.594 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.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002717, allocations: 8 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 63.45 MB / 481.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02781/0.1654, allocations: 22.62 MB / 0.4922 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.1686, allocations: 2.584 MB / 0.4947 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.1687, allocations: 0 / 0.4947 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.1691, allocations: 47.7 kB / 0.4948 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.1705, allocations: 0.592 MB / 0.4953 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.1708, allocations: 123.5 kB / 0.4954 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.1713, allocations: 255.4 kB / 0.4957 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.791e-05/0.1713, allocations: 17.66 kB / 0.4957 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3692/0.5406, allocations: 22.25 MB / 0.5174 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.541, allocations: 129.5 kB / 0.5176 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.5411, allocations: 5.188 kB / 0.5176 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.5515, allocations: 5.605 MB / 0.523 GB, free: 18.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.5516, allocations: 40.12 kB / 0.5231 GB, free: 18.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.5517, allocations: 62.17 kB / 0.5231 GB, free: 18.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.5523, allocations: 289.2 kB / 0.5234 GB, free: 18.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.5523, allocations: 0 / 0.5234 GB, free: 18.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5524, allocations: 0 / 0.5234 GB, free: 18.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.5524, allocations: 0 / 0.5234 GB, free: 18.76 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.001071/0.5534, allocations: 0.5488 MB / 0.524 GB, free: 18.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5535, allocations: 11.38 kB / 0.524 GB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.5536, allocations: 24.61 kB / 0.524 GB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.5539, allocations: 222.9 kB / 0.5242 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.554, allocations: 124.1 kB / 0.5243 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.554, allocations: 20.53 kB / 0.5243 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.5545, allocations: 322.1 kB / 0.5246 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5545, allocations: 3.625 kB / 0.5246 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.5546, allocations: 14.02 kB / 0.5247 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.5546, allocations: 6.344 kB / 0.5247 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008473/0.5554, allocations: 0.7417 MB / 0.5254 GB, free: 17.83 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.001278/0.5567, allocations: 1.344 MB / 0.5267 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.557, allocations: 157.1 kB / 0.5269 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/0.5589, allocations: 2.876 MB / 0.5297 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.5589, allocations: 34.38 kB / 0.5297 GB, free: 13.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.414e-06/0.5589, allocations: 0 / 0.5297 GB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003011/0.5593, allocations: 143.7 kB / 0.5298 GB, free: 13.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5593, allocations: 55.41 kB / 0.5299 GB, free: 13.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.5594, allocations: 204.5 kB / 0.5301 GB, free: 13.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.5595, allocations: 29.45 kB / 0.5301 GB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.5596, allocations: 210.6 kB / 0.5303 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.5596, allocations: 57.97 kB / 0.5304 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.5596, allocations: 7.812 kB / 0.5304 GB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.5597, allocations: 328 kB / 0.5307 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.5598, allocations: 52.25 kB / 0.5307 GB, free: 12.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.5599, allocations: 324 kB / 0.531 GB, free: 12.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.5601, allocations: 94.14 kB / 0.5311 GB, free: 12.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5601, allocations: 4 kB / 0.5311 GB, free: 12.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004385/0.5605, allocations: 376.4 kB / 0.5315 GB, free: 11.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5606, allocations: 11.95 kB / 0.5315 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5606, allocations: 12 kB / 0.5315 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5606, allocations: 14.97 kB / 0.5315 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.5608, allocations: 97.69 kB / 0.5316 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.5609, allocations: 26.28 kB / 0.5317 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5611, allocations: 44.05 kB / 0.5317 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.5611, allocations: 29.06 kB / 0.5317 GB, free: 11.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001051/0.5612, allocations: 153.5 kB / 0.5319 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.5613, allocations: 15.81 kB / 0.5319 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.5616, allocations: 195.1 kB / 0.5321 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5616, allocations: 4 kB / 0.5321 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5616, allocations: 0 / 0.5321 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5617, allocations: 0.8906 kB / 0.5321 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.5621, allocations: 444.9 kB / 0.5325 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5621, allocations: 128 / 0.5325 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.5622, allocations: 25.72 kB / 0.5325 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5622, allocations: 1.359 kB / 0.5325 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5622, allocations: 7.875 kB / 0.5325 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5622, allocations: 2.297 kB / 0.5325 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5622, allocations: 7.875 kB / 0.5325 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.5624, allocations: 268.1 kB / 0.5328 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.5625, allocations: 114.6 kB / 0.5329 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.5625, allocations: 4 kB / 0.5329 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.5627, allocations: 12.73 kB / 0.5329 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.5627, allocations: 11.42 kB / 0.5329 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5627, allocations: 4.797 kB / 0.5329 GB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.5628, allocations: 149.1 kB / 0.5331 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5628, allocations: 0 / 0.5331 GB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005062/0.5634, allocations: 105.7 kB / 0.5332 GB, free: 10.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * 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.0002707/0.5636, allocations: 170.5 kB / 0.5333 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.5639, allocations: 175.6 kB / 0.5335 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5639, allocations: 0 / 0.5335 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.564, allocations: 31.84 kB / 0.5335 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.5644, allocations: 57.8 kB / 0.5336 GB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.5651, allocations: 0.5098 MB / 0.5341 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.5653, allocations: 0.7335 MB / 0.5348 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.5655, allocations: 58.11 kB / 0.5349 GB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.5656, allocations: 31.22 kB / 0.5349 GB, free: 8.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5656, allocations: 4 kB / 0.5349 GB, free: 8.715 MB / 382.1 MB Notification: Performance of Templates: time 0.006106/0.5717, allocations: 3.239 MB / 0.5381 GB, free: 6.742 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches