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.0009295/0.0009295, allocations: 103.5 kB / 16.99 MB, free: 5.938 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.00086/0.00086, allocations: 181.5 kB / 17.87 MB, free: 5.594 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.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 376 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.2146/0.2146, allocations: 44.23 MB / 337.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 8 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 61.92 MB / 471.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004328/0.1582, allocations: 3.458 MB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.162, allocations: 3.461 MB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1622, allocations: 0 / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1624, allocations: 39.78 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.1638, allocations: 0.5997 MB / 479 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.1642, allocations: 121.9 kB / 479.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.1646, allocations: 251.5 kB / 479.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.1647, allocations: 13.67 kB / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.1649, allocations: 135.6 kB / 479.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1651, allocations: 127.6 kB / 479.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.1651, allocations: 8 kB / 479.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008447/0.166, allocations: 383.5 kB / 480 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.1661, allocations: 43.86 kB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1661, allocations: 65.58 kB / 480.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.1666, allocations: 283.6 kB / 480.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1666, allocations: 7.938 kB / 480.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1666, allocations: 0 / 480.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.1666, allocations: 0 / 480.4 MB, free: 4.785 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.001279/0.1679, allocations: 0.5538 MB / 481 MB, free: 4.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.168, allocations: 8.031 kB / 481 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.1682, allocations: 23.81 kB / 481 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1685, allocations: 222.8 kB / 481.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.1688, allocations: 123.4 kB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.1688, allocations: 27.94 kB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.1693, allocations: 315.7 kB / 481.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1694, allocations: 7.938 kB / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1694, allocations: 11.98 kB / 481.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.1694, allocations: 8 kB / 481.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.1703, allocations: 0.7313 MB / 482.4 MB, free: 2.625 MB / 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.001485/0.1718, allocations: 1.347 MB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1721, allocations: 163.7 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002678/0.1748, allocations: 2.864 MB / 486.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1749, allocations: 46.55 kB / 486.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.1749, allocations: 0 / 486.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003564/0.1753, allocations: 141.3 kB / 487 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1753, allocations: 51.41 kB / 487 MB, free: 13.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1755, allocations: 207.8 kB / 487.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1756, allocations: 29.7 kB / 487.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1757, allocations: 210.8 kB / 487.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.1758, allocations: 51.34 kB / 487.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.1758, allocations: 7.938 kB / 487.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1759, allocations: 338.8 kB / 487.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.176, allocations: 48.84 kB / 487.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1763, allocations: 322 kB / 488.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1764, allocations: 103.8 kB / 488.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1765, allocations: 0 / 488.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005318/0.177, allocations: 373.3 kB / 488.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.177, allocations: 12 kB / 488.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.177, allocations: 8 kB / 488.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.1771, allocations: 16 kB / 488.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1773, allocations: 95.83 kB / 488.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.1774, allocations: 23.86 kB / 488.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1776, allocations: 47.91 kB / 488.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.1777, allocations: 32 kB / 488.9 MB, free: 11.27 MB / 366.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.0001557/0.1778, allocations: 158.1 kB / 489.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.1779, allocations: 23.81 kB / 489.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.1783, allocations: 181.2 kB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.1784, allocations: 0 / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1784, allocations: 3.938 kB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1784, allocations: 4 kB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.179, allocations: 445.7 kB / 489.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.179, allocations: 4 kB / 489.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.1791, allocations: 19.94 kB / 489.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1791, allocations: 4 kB / 489.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1791, allocations: 4.109 kB / 489.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1791, allocations: 8 kB / 489.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1791, allocations: 3.953 kB / 489.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1794, allocations: 269.5 kB / 490 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1795, allocations: 116.7 kB / 490.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.1795, allocations: 0 / 490.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1797, allocations: 11.92 kB / 490.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1797, allocations: 12 kB / 490.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1798, allocations: 12.05 kB / 490.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1799, allocations: 152.4 kB / 490.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1799, allocations: 0 / 490.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005433/0.1805, allocations: 103.9 kB / 490.4 MB, free: 9.609 MB / 366.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.0003023/0.1808, allocations: 175.1 kB / 490.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.1811, allocations: 166 kB / 490.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1811, allocations: 7.938 kB / 490.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.1812, allocations: 27.92 kB / 490.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.1816, allocations: 48.84 kB / 490.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.1825, allocations: 0.5132 MB / 491.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.183, allocations: 0.7326 MB / 492.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.1833, allocations: 66.27 kB / 492.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.1833, allocations: 27.42 kB / 492.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1833, allocations: 0 / 492.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of Templates: time 0.007897/0.1912, allocations: 3.233 MB / 495.4 MB, free: 4.578 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches