Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0029/0.002906, allocations: 188.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.574/3.574, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001895/0.001894, allocations: 94.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006482/0.0006487, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1504, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.009412/0.1599, allocations: 3.702 MB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.1643, allocations: 1.512 MB / 379.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.1646, allocations: 4 kB / 379.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.165, allocations: 35.86 kB / 379.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.1656, allocations: 111.6 kB / 379.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1671, allocations: 215.5 kB / 380.1 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.1678, allocations: 171.7 kB / 380.3 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1679, allocations: 24.88 kB / 380.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.1685, allocations: 111.7 kB / 380.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1687, allocations: 63.75 kB / 380.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.1688, allocations: 4 kB / 380.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000582/0.1694, allocations: 91.89 kB / 380.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.1695, allocations: 35.89 kB / 380.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1696, allocations: 49.64 kB / 380.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.1702, allocations: 144 kB / 380.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1702, allocations: 0 / 380.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-06/0.1702, allocations: 0 / 380.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1702, allocations: 3.938 kB / 380.8 MB, free: 9.141 MB / 282.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.001767/0.172, allocations: 455.2 kB / 381.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.1721, allocations: 16.03 kB / 381.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.1725, allocations: 19.81 kB / 381.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.173, allocations: 206.8 kB / 381.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.173, allocations: 12.28 kB / 381.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.68e-05/0.1731, allocations: 12 kB / 381.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.174, allocations: 208.7 kB / 381.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.1741, allocations: 3.938 kB / 381.7 MB, free: 8.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.1742, allocations: 8 kB / 381.7 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.1742, allocations: 4 kB / 381.7 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.1751, allocations: 151.8 kB / 381.9 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.178, allocations: 0.944 MB / 382.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005131/0.1832, allocations: 142.8 kB / 382.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.1845, allocations: 0.5113 MB / 383.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.1846, allocations: 34.52 kB / 383.5 MB, free: 6.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 4.539e-06/0.1847, allocations: 4 kB / 383.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.006121/0.1908, allocations: 0.7557 MB / 384.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.1909, allocations: 51.41 kB / 384.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1913, allocations: 154.8 kB / 384.4 MB, free: 5.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.1913, allocations: 33.7 kB / 384.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1916, allocations: 210.3 kB / 384.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.1917, allocations: 74.94 kB / 384.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.1918, allocations: 8 kB / 384.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.192, allocations: 326.8 kB / 385.1 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.1927, allocations: 79.94 kB / 385.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.1935, allocations: 193.4 kB / 385.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.1943, allocations: 108.8 kB / 385.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1943, allocations: 0 / 385.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001869/0.1962, allocations: 327.1 kB / 385.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.1963, allocations: 8 kB / 385.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.1964, allocations: 7.953 kB / 385.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/0.1964, allocations: 4 kB / 385.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009678/0.1974, allocations: 95.75 kB / 385.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/0.1975, allocations: 4.281 kB / 385.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.1981, allocations: 19.98 kB / 385.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/0.1982, allocations: 12 kB / 385.9 MB, free: 3.586 MB / 282.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 0.0002997/0.1985, allocations: 130 kB / 386.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1986, allocations: 15.81 kB / 386.1 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.2004, allocations: 250.6 kB / 386.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.2004, allocations: 0 / 386.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2004, allocations: 0 / 386.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.2005, allocations: 7.938 kB / 386.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.2037, allocations: 0.5919 MB / 386.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.2038, allocations: 0 / 386.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.2045, allocations: 59.89 kB / 387 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.2046, allocations: 4.125 kB / 387 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.2047, allocations: 4 kB / 387 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.2047, allocations: 0 / 387 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2047, allocations: 4 kB / 387 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.2069, allocations: 457.2 kB / 387.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.2071, allocations: 89.05 kB / 387.5 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.2072, allocations: 4 kB / 387.5 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.2079, allocations: 15.94 kB / 387.5 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.208, allocations: 15.98 kB / 387.6 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.208, allocations: 7.984 kB / 387.6 MB, free: 1.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.2083, allocations: 115.2 kB / 387.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.2083, allocations: 4.062 kB / 387.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001025/0.2093, allocations: 63.94 kB / 387.7 MB, free: 1.625 MB / 282.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.0004006/0.2098, allocations: 127.1 kB / 387.9 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.2114, allocations: 211.7 kB / 388.1 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.2115, allocations: 0 / 388.1 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.2122, allocations: 100.9 kB / 388.2 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.213, allocations: 43.92 kB / 388.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.2155, allocations: 0.5779 MB / 388.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3971/0.6127, allocations: 0.7214 MB / 389.5 MB, free: 20.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.6131, allocations: 27.98 kB / 389.5 MB, free: 20.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6131, allocations: 0 / 389.5 MB, free: 20.61 MB / 282.7 MB Notification: Performance of Templates: time 0.01325/0.6264, allocations: 2.581 MB / 392.1 MB, free: 20.52 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches