Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009631/0.000963, allocations: 169.2 kB / 13.64 MB, free: 1.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008943, allocations: 84.11 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.093e-05, allocations: 0 / 343.8 MB, free: 4.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 50.43 MB / 394.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8241/0.9362, allocations: 273.6 MB / 0.6522 GB, free: 40.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.9366, allocations: 69.11 kB / 0.6523 GB, free: 40.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02032/0.9569, allocations: 9.611 MB / 0.6617 GB, free: 32.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.957, allocations: 0 / 0.6617 GB, free: 32.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.957, allocations: 4 kB / 0.6617 GB, free: 32.99 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.0007297/0.9577, allocations: 449.6 kB / 0.6621 GB, free: 32.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.9578, allocations: 8.031 kB / 0.6621 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.958, allocations: 23.77 kB / 0.6621 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.9583, allocations: 213.3 kB / 0.6623 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.9583, allocations: 7.781 kB / 0.6623 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.9583, allocations: 19.47 kB / 0.6623 GB, free: 32.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.9587, allocations: 197.9 kB / 0.6625 GB, free: 32.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.9587, allocations: 3.938 kB / 0.6625 GB, free: 32.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.9587, allocations: 11.69 kB / 0.6625 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9587, allocations: 11.89 kB / 0.6626 GB, free: 32.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.959, allocations: 136 kB / 0.6627 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.9601, allocations: 0.9445 MB / 0.6636 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.9603, allocations: 120.4 kB / 0.6637 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.9604, allocations: 42.67 kB / 0.6638 GB, free: 30.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005284/0.9609, allocations: 0.5271 MB / 0.6643 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.961, allocations: 34.12 kB / 0.6643 GB, free: 30.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.961, allocations: 0 / 0.6643 GB, free: 30.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001781/0.9628, allocations: 0.621 MB / 0.6649 GB, free: 29.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.9628, allocations: 55.41 kB / 0.665 GB, free: 29.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.963, allocations: 144.4 kB / 0.6651 GB, free: 29.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.9631, allocations: 29.45 kB / 0.6651 GB, free: 29.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.9631, allocations: 142.4 kB / 0.6653 GB, free: 29.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.9632, allocations: 73.12 kB / 0.6653 GB, free: 29.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.9632, allocations: 7.375 kB / 0.6654 GB, free: 29.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.9633, allocations: 329.7 kB / 0.6657 GB, free: 28.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.9634, allocations: 60.38 kB / 0.6657 GB, free: 28.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.9636, allocations: 172.5 kB / 0.6659 GB, free: 28.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.9637, allocations: 87.78 kB / 0.666 GB, free: 28.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9637, allocations: 8 kB / 0.666 GB, free: 28.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004172/0.9642, allocations: 278.4 kB / 0.6662 GB, free: 28.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.9642, allocations: 4 kB / 0.6663 GB, free: 28.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.9642, allocations: 4.469 kB / 0.6663 GB, free: 28.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.9642, allocations: 15.94 kB / 0.6663 GB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.9646, allocations: 79.88 kB / 0.6663 GB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.9646, allocations: 11.92 kB / 0.6664 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.9649, allocations: 23.3 kB / 0.6664 GB, free: 28.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.9649, allocations: 12 kB / 0.6664 GB, free: 28.27 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 () * 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.884e-05/0.965, allocations: 124.2 kB / 0.6665 GB, free: 28.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.9651, allocations: 19.81 kB / 0.6665 GB, free: 28.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.9655, allocations: 215.5 kB / 0.6667 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9655, allocations: 4 kB / 0.6667 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9655, allocations: 0 / 0.6667 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9655, allocations: 0 / 0.6667 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.9664, allocations: 0.5608 MB / 0.6673 GB, free: 27.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.9664, allocations: 4 kB / 0.6673 GB, free: 27.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.9667, allocations: 47.95 kB / 0.6673 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.9667, allocations: 3.938 kB / 0.6673 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.9667, allocations: 7.688 kB / 0.6673 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.9667, allocations: 7.984 kB / 0.6674 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9668, allocations: 4.125 kB / 0.6674 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.9672, allocations: 400.4 kB / 0.6677 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.9672, allocations: 96.47 kB / 0.6678 GB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.9673, allocations: 11.94 kB / 0.6678 GB, free: 26.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.9675, allocations: 15.42 kB / 0.6679 GB, free: 26.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.9675, allocations: 15.48 kB / 0.6679 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.9675, allocations: 8 kB / 0.6679 GB, free: 26.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.9676, allocations: 117.1 kB / 0.668 GB, free: 26.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9676, allocations: 0 / 0.668 GB, free: 26.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.968, allocations: 62.8 kB / 0.6681 GB, free: 26.64 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 () * 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.0002074/0.9682, allocations: 142.6 kB / 0.6682 GB, free: 26.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.9685, allocations: 186.3 kB / 0.6684 GB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9685, allocations: 0 / 0.6684 GB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.9686, allocations: 78.05 kB / 0.6684 GB, free: 26.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.9689, allocations: 32.22 kB / 0.6685 GB, free: 26.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.9696, allocations: 305.2 kB / 0.6688 GB, free: 25.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.9698, allocations: 0.7165 MB / 0.6695 GB, free: 25.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.9701, allocations: 42.06 kB / 0.6695 GB, free: 25.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.9702, allocations: 31.42 kB / 0.6695 GB, free: 25.17 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.9702, allocations: 0 / 0.6695 GB, free: 25.17 MB / 426.7 MB Notification: Performance of Templates: time 0.005311/0.9755, allocations: 2.798 MB / 0.6723 GB, free: 22.4 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches