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.001629/0.001629, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007353/0.0007353, allocations: 94.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2617, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003992/0.2658, allocations: 3.977 MB / 379.1 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2672, allocations: 1.677 MB / 380.7 MB, free: 40.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.2673, allocations: 4.875 kB / 380.7 MB, free: 40.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2676, allocations: 31 kB / 380.8 MB, free: 40.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.2678, allocations: 108.1 kB / 380.9 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.2684, allocations: 216.3 kB / 381.1 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.2688, allocations: 316.1 kB / 381.4 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.2688, allocations: 23.5 kB / 381.4 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.2691, allocations: 123.6 kB / 381.5 MB, free: 40.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2692, allocations: 79.55 kB / 381.6 MB, free: 40.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.2692, allocations: 6.438 kB / 381.6 MB, free: 40.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.2695, allocations: 91.42 kB / 381.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.2695, allocations: 36.78 kB / 381.7 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.468e-05/0.2696, allocations: 99.64 kB / 381.8 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.2699, allocations: 144.1 kB / 382 MB, free: 40.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2699, allocations: 4 kB / 382 MB, free: 40.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2699, allocations: 0 / 382 MB, free: 40.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2699, allocations: 0 / 382 MB, free: 40.09 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.0008381/0.2708, allocations: 453.2 kB / 382.4 MB, free: 39.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2708, allocations: 8.531 kB / 382.4 MB, free: 39.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.271, allocations: 33.8 kB / 382.5 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2712, allocations: 206.7 kB / 382.7 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.2713, allocations: 9.562 kB / 382.7 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.2713, allocations: 13.94 kB / 382.7 MB, free: 39.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.2717, allocations: 221.4 kB / 382.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2717, allocations: 0.9375 kB / 382.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.2718, allocations: 7.219 kB / 382.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2718, allocations: 3.062 kB / 382.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.2721, allocations: 150.5 kB / 383.1 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2732, allocations: 0.9445 MB / 384 MB, free: 38.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.2736, allocations: 150.9 kB / 384.2 MB, free: 38.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.2737, allocations: 51.45 kB / 384.2 MB, free: 38.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004472/0.2742, allocations: 0.5052 MB / 384.7 MB, free: 37.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2742, allocations: 43.75 kB / 384.8 MB, free: 37.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.2742, allocations: 0 / 384.8 MB, free: 37.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002328/0.2766, allocations: 0.7619 MB / 385.5 MB, free: 37.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2766, allocations: 52.81 kB / 385.6 MB, free: 36.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2767, allocations: 159.1 kB / 385.7 MB, free: 36.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2768, allocations: 30.95 kB / 385.8 MB, free: 36.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.2768, allocations: 135.2 kB / 385.9 MB, free: 36.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.2769, allocations: 72.73 kB / 386 MB, free: 36.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.2769, allocations: 5.344 kB / 386 MB, free: 36.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.277, allocations: 329.7 kB / 386.3 MB, free: 36.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.2772, allocations: 78.53 kB / 386.4 MB, free: 36.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.2775, allocations: 212.4 kB / 386.6 MB, free: 36.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.278, allocations: 289 kB / 386.9 MB, free: 35.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.278, allocations: 1.031 kB / 386.9 MB, free: 35.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006249/0.2786, allocations: 324 kB / 387.2 MB, free: 35.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2787, allocations: 6.906 kB / 387.2 MB, free: 35.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2787, allocations: 3.156 kB / 387.2 MB, free: 35.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2787, allocations: 5.406 kB / 387.2 MB, free: 35.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.2791, allocations: 85.86 kB / 387.3 MB, free: 35.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.2791, allocations: 9.391 kB / 387.3 MB, free: 35.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.2793, allocations: 13.5 kB / 387.3 MB, free: 35.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.2794, allocations: 15.83 kB / 387.3 MB, free: 35.58 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 9.835e-05/0.2795, allocations: 138.5 kB / 387.4 MB, free: 35.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.2795, allocations: 19.19 kB / 387.5 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.2801, allocations: 235.6 kB / 387.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2802, allocations: 1.844 kB / 387.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2802, allocations: 4 kB / 387.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2802, allocations: 1.031 kB / 387.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.2813, allocations: 0.6042 MB / 388.3 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2813, allocations: 1.562 kB / 388.3 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.2816, allocations: 52.97 kB / 388.4 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2816, allocations: 2.531 kB / 388.4 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2816, allocations: 6.578 kB / 388.4 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2816, allocations: 6.969 kB / 388.4 MB, free: 34.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2817, allocations: 5.469 kB / 388.4 MB, free: 34.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.2824, allocations: 398.5 kB / 388.8 MB, free: 34.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.2824, allocations: 96.97 kB / 388.9 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.2825, allocations: 11.94 kB / 388.9 MB, free: 34.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.2827, allocations: 15.92 kB / 388.9 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.2827, allocations: 11.98 kB / 388.9 MB, free: 34.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.2828, allocations: 11.94 kB / 388.9 MB, free: 34.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.358e-05/0.2828, allocations: 111.2 kB / 389 MB, free: 34.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2828, allocations: 0 / 389 MB, free: 34.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000357/0.2832, allocations: 63.94 kB / 389.1 MB, free: 34.11 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.0002502/0.2834, allocations: 127.2 kB / 389.2 MB, free: 33.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.2839, allocations: 219.6 kB / 389.4 MB, free: 33.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.284, allocations: 0 / 389.4 MB, free: 33.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2842, allocations: 93 kB / 389.5 MB, free: 33.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.2846, allocations: 43.97 kB / 389.6 MB, free: 33.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.2854, allocations: 0.5896 MB / 390.2 MB, free: 32.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2856, allocations: 0.7206 MB / 390.9 MB, free: 32.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2857, allocations: 27.42 kB / 390.9 MB, free: 32.21 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2857, allocations: 0 / 390.9 MB, free: 32.21 MB / 298.7 MB Notification: Performance of Templates: time 0.003692/0.2894, allocations: 2.619 MB / 393.5 MB, free: 29.59 MB / 298.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/jenkins/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