Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009506/0.0009503, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 226.6 MB / 244.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007332/0.0007335, allocations: 109.2 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001994/0.0001994, allocations: 8 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003082/0.173, allocations: 3.994 MB / 411.5 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1742, allocations: 1.68 MB / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.1743, allocations: 0 / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1745, allocations: 35.81 kB / 413.2 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1747, allocations: 111.4 kB / 413.3 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1751, allocations: 212 kB / 413.5 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1753, allocations: 318.8 kB / 413.8 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.1754, allocations: 9.109 kB / 413.8 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1755, allocations: 123.5 kB / 414 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.1756, allocations: 79.73 kB / 414 MB, free: 21.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.1756, allocations: 8 kB / 414 MB, free: 21.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.1758, allocations: 79.89 kB / 414.1 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.1759, allocations: 35.88 kB / 414.2 MB, free: 21.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.1759, allocations: 53.64 kB / 414.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1761, allocations: 136.7 kB / 414.3 MB, free: 20.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1761, allocations: 0 / 414.3 MB, free: 20.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1761, allocations: 0 / 414.3 MB, free: 20.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1761, allocations: 0 / 414.3 MB, free: 20.96 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000663/0.1767, allocations: 463.1 kB / 414.8 MB, free: 20.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/0.1768, allocations: 8.031 kB / 414.8 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1769, allocations: 27.8 kB / 414.8 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1771, allocations: 198.9 kB / 415 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1771, allocations: 12.23 kB / 415 MB, free: 20.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1771, allocations: 20 kB / 415.1 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.1774, allocations: 213.5 kB / 415.3 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1775, allocations: 0 / 415.3 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1775, allocations: 8 kB / 415.3 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1775, allocations: 4 kB / 415.3 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1778, allocations: 151.8 kB / 415.4 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.1787, allocations: 0.9478 MB / 416.4 MB, free: 18.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.179, allocations: 146.8 kB / 416.5 MB, free: 18.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1792, allocations: 56.83 kB / 416.6 MB, free: 18.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.1795, allocations: 0.4993 MB / 417.1 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.1795, allocations: 34.56 kB / 417.1 MB, free: 17.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1795, allocations: 0 / 417.1 MB, free: 17.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002135/0.1817, allocations: 0.7733 MB / 417.9 MB, free: 17.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.1817, allocations: 59.34 kB / 417.9 MB, free: 17.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.1818, allocations: 157.8 kB / 418.1 MB, free: 16.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1818, allocations: 25.7 kB / 418.1 MB, free: 16.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.1819, allocations: 135.9 kB / 418.2 MB, free: 16.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1819, allocations: 74.98 kB / 418.3 MB, free: 16.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.1819, allocations: 8 kB / 418.3 MB, free: 16.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.182, allocations: 326.8 kB / 418.6 MB, free: 16.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.1822, allocations: 83.69 kB / 418.7 MB, free: 16.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1824, allocations: 194.6 kB / 418.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1827, allocations: 96.91 kB / 419 MB, free: 15.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1827, allocations: 0 / 419 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005551/0.1832, allocations: 329 kB / 419.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1832, allocations: 4 kB / 419.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1833, allocations: 8 kB / 419.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1833, allocations: 11.95 kB / 419.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.1836, allocations: 79.88 kB / 419.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1836, allocations: 11.94 kB / 419.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1838, allocations: 23.92 kB / 419.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.1839, allocations: 12 kB / 419.5 MB, free: 15.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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 7.836e-05/0.184, allocations: 137.8 kB / 419.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.184, allocations: 19.8 kB / 419.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/0.1845, allocations: 230.7 kB / 419.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1846, allocations: 0 / 419.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1846, allocations: 0 / 419.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1846, allocations: 11.98 kB / 419.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.1856, allocations: 0.6098 MB / 420.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1856, allocations: 3.938 kB / 420.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1859, allocations: 51.95 kB / 420.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1859, allocations: 0 / 420.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1859, allocations: 8 kB / 420.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1859, allocations: 4 kB / 420.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1859, allocations: 3.938 kB / 420.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.1866, allocations: 405.9 kB / 421 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.1866, allocations: 100.9 kB / 421.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1866, allocations: 0 / 421.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.1869, allocations: 15.98 kB / 421.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.1869, allocations: 15.92 kB / 421.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1869, allocations: 15.98 kB / 421.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.187, allocations: 112.6 kB / 421.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.187, allocations: 0 / 421.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.1873, allocations: 63.94 kB / 421.3 MB, free: 13.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001205/0.1874, allocations: 119.2 kB / 421.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.1879, allocations: 215.6 kB / 421.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1879, allocations: 0 / 421.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.1881, allocations: 97.06 kB / 421.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1885, allocations: 35.92 kB / 421.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.1892, allocations: 0.5827 MB / 422.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.1893, allocations: 0.717 MB / 423 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.1894, allocations: 31.42 kB / 423.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1895, allocations: 0 / 423.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003115/0.1926, allocations: 2.595 MB / 425.7 MB, free: 9.027 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches