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.001507/0.001507, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.907/1.907, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001135/0.001134, allocations: 90.19 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003962, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3396, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6469/0.9865, allocations: 272.7 MB / 0.6321 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.9868, allocations: 71.16 kB / 0.6321 GB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03621/1.023, allocations: 9.436 MB / 0.6413 GB, free: 8.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.023, allocations: 0 / 0.6413 GB, free: 8.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/1.023, allocations: 4 kB / 0.6413 GB, free: 8.73 MB / 426.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.001184/1.024, allocations: 457.2 kB / 0.6418 GB, free: 8.242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.024, allocations: 8.031 kB / 0.6418 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/1.025, allocations: 27.61 kB / 0.6418 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/1.025, allocations: 209.6 kB / 0.642 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/1.025, allocations: 7.781 kB / 0.642 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/1.025, allocations: 18.88 kB / 0.642 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/1.026, allocations: 216.1 kB / 0.6422 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.026, allocations: 4 kB / 0.6423 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/1.026, allocations: 7.625 kB / 0.6423 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/1.026, allocations: 4 kB / 0.6423 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/1.026, allocations: 148 kB / 0.6424 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/1.028, allocations: 0.9305 MB / 0.6433 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/1.029, allocations: 147.5 kB / 0.6435 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/1.03, allocations: 0.4963 MB / 0.6439 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.03, allocations: 42.25 kB / 0.644 GB, free: 6.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/1.03, allocations: 0 / 0.644 GB, free: 6.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.004281/1.034, allocations: 0.7599 MB / 0.6447 GB, free: 5.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.034, allocations: 51.41 kB / 0.6448 GB, free: 5.273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.034, allocations: 153.2 kB / 0.6449 GB, free: 5.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/1.034, allocations: 29.52 kB / 0.6449 GB, free: 5.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.034, allocations: 209.2 kB / 0.6451 GB, free: 4.895 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/1.034, allocations: 77.48 kB / 0.6452 GB, free: 4.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/1.035, allocations: 3.688 kB / 0.6452 GB, free: 4.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/1.035, allocations: 326.4 kB / 0.6455 GB, free: 4.508 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/1.035, allocations: 85.19 kB / 0.6456 GB, free: 4.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/1.036, allocations: 192.2 kB / 0.6458 GB, free: 4.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/1.036, allocations: 108.6 kB / 0.6459 GB, free: 4.168 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.036, allocations: 0 / 0.6459 GB, free: 4.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001166/1.037, allocations: 313.8 kB / 0.6462 GB, free: 3.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.037, allocations: 11.12 kB / 0.6462 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.037, allocations: 4 kB / 0.6462 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.037, allocations: 4 kB / 0.6462 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/1.038, allocations: 79.52 kB / 0.6463 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/1.038, allocations: 15.92 kB / 0.6463 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/1.039, allocations: 16.09 kB / 0.6463 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/1.039, allocations: 23.62 kB / 0.6463 GB, free: 3.785 MB / 426.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.0001751/1.039, allocations: 127.8 kB / 0.6465 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/1.039, allocations: 11.91 kB / 0.6465 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/1.04, allocations: 248.6 kB / 0.6467 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.04, allocations: 7.984 kB / 0.6467 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.04, allocations: 0 / 0.6467 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/1.04, allocations: 0 / 0.6467 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/1.042, allocations: 0.5911 MB / 0.6473 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.042, allocations: 4 kB / 0.6473 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/1.043, allocations: 43.97 kB / 0.6473 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/1.043, allocations: 8.125 kB / 0.6474 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/1.043, allocations: 19.31 kB / 0.6474 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.043, allocations: 7.938 kB / 0.6474 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.043, allocations: 0 / 0.6474 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/1.044, allocations: 453 kB / 0.6478 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/1.044, allocations: 85.02 kB / 0.6479 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/1.044, allocations: 7.562 kB / 0.6479 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.045, allocations: 15.73 kB / 0.6479 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/1.045, allocations: 15.92 kB / 0.6479 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/1.045, allocations: 19.44 kB / 0.648 GB, free: 2.223 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001091/1.045, allocations: 106.7 kB / 0.6481 GB, free: 2.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.045, allocations: 64 / 0.6481 GB, free: 2.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005586/1.046, allocations: 71.3 kB / 0.6481 GB, free: 2.062 MB / 426.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.0002876/1.046, allocations: 148.5 kB / 0.6483 GB, free: 1.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009826/1.047, allocations: 216.4 kB / 0.6485 GB, free: 1.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.047, allocations: 0 / 0.6485 GB, free: 1.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/1.047, allocations: 90.55 kB / 0.6486 GB, free: 1.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/1.048, allocations: 35.28 kB / 0.6486 GB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/1.049, allocations: 0.5829 MB / 0.6492 GB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/1.05, allocations: 0.7167 MB / 0.6499 GB, free: 324 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/1.05, allocations: 31.36 kB / 0.6499 GB, free: 296 kB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/1.05, allocations: 4 kB / 0.6499 GB, free: 292 kB / 426.7 MB Notification: Performance of Templates: time 0.2664/1.316, allocations: 2.723 MB / 0.6526 GB, free: 160.7 MB / 426.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