Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007955/0.0007954, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.0008306/0.0008306, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.474/1.474, allocations: 223.3 MB / 242.3 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.25 MB / 337.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 4 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 61.92 MB / 472.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005303/0.1493, allocations: 4.207 MB / 476.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004826/0.1542, allocations: 4.007 MB / 480.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1543, allocations: 0 / 480.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1547, allocations: 43.72 kB / 480.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.1563, allocations: 0.6609 MB / 481.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1567, allocations: 122.9 kB / 481.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.1572, allocations: 446.1 kB / 481.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.1573, allocations: 13.69 kB / 481.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.1575, allocations: 143.4 kB / 481.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.1578, allocations: 151.4 kB / 482 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.1578, allocations: 8 kB / 482 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008086/0.1586, allocations: 439.3 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.1587, allocations: 47.75 kB / 482.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.1588, allocations: 133.2 kB / 482.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.1595, allocations: 467.1 kB / 483.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1595, allocations: 0 / 483.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1595, allocations: 0 / 483.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1595, allocations: 0 / 483.1 MB, free: 2.496 MB / 350.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.001085/0.1606, allocations: 0.554 MB / 483.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1606, allocations: 8.031 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.1608, allocations: 24.75 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.161, allocations: 228 kB / 483.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.1612, allocations: 123.9 kB / 484 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.1612, allocations: 28.36 kB / 484 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.1618, allocations: 323.6 kB / 484.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1618, allocations: 3.984 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1618, allocations: 15.94 kB / 484.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.1619, allocations: 8 kB / 484.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.1626, allocations: 0.7391 MB / 485.1 MB, free: 324 kB / 350.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.001388/0.164, allocations: 1.3 MB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.1644, allocations: 167.7 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1646, allocations: 85.42 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.1671, allocations: 2.81 MB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1671, allocations: 30.56 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.1671, allocations: 0 / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002925/0.1674, allocations: 125.3 kB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1675, allocations: 51.41 kB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1677, allocations: 227.8 kB / 489.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1677, allocations: 25.7 kB / 489.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1678, allocations: 218.7 kB / 490.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1679, allocations: 51.38 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.1679, allocations: 33.7 kB / 490.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1681, allocations: 330.8 kB / 490.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.1681, allocations: 44.84 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.1684, allocations: 343.2 kB / 490.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.1689, allocations: 452.5 kB / 491.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1689, allocations: 8 kB / 491.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005541/0.1695, allocations: 377.8 kB / 491.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1695, allocations: 12 kB / 491.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.1695, allocations: 12 kB / 491.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.1695, allocations: 15.94 kB / 491.8 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1698, allocations: 99.83 kB / 491.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.1698, allocations: 15.94 kB / 491.9 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1701, allocations: 55.44 kB / 492 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1701, allocations: 31.98 kB / 492 MB, free: 8.426 MB / 366.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.0001254/0.1702, allocations: 157.5 kB / 492.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.1703, allocations: 15.81 kB / 492.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.1706, allocations: 140.5 kB / 492.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.1706, allocations: 7.922 kB / 492.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.1706, allocations: 7.938 kB / 492.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1706, allocations: 0 / 492.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.1711, allocations: 400.9 kB / 492.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1711, allocations: 4 kB / 492.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.1712, allocations: 15.94 kB / 492.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1712, allocations: 8.094 kB / 492.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1712, allocations: 3.984 kB / 492.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1712, allocations: 4 kB / 492.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1712, allocations: 0 / 492.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1714, allocations: 205.8 kB / 492.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.1715, allocations: 112.8 kB / 493.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.1716, allocations: 8.062 kB / 493.1 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1717, allocations: 4 kB / 493.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.1717, allocations: 11.98 kB / 493.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1718, allocations: 4 kB / 493.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1719, allocations: 156.5 kB / 493.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1719, allocations: 0 / 493.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1724, allocations: 87.94 kB / 493.3 MB, free: 6.969 MB / 366.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.1727, allocations: 159.7 kB / 493.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.173, allocations: 173.8 kB / 493.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.173, allocations: 0 / 493.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.173, allocations: 23.94 kB / 493.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.1735, allocations: 48.14 kB / 493.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.1745, allocations: 0.6572 MB / 494.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1748, allocations: 0.7287 MB / 495.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.175, allocations: 46.84 kB / 495.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.1751, allocations: 27.42 kB / 495.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1751, allocations: 4 kB / 495.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of Templates: time 0.006569/0.1817, allocations: 2.999 MB / 498.2 MB, free: 2.07 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches