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.00146/0.00146, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009119/0.0009119, allocations: 86.06 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.945e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 50.42 MB / 387.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8672/0.9961, allocations: 272.9 MB / 0.6449 GB, free: 54.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.9965, allocations: 64.66 kB / 0.645 GB, free: 54.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02173/1.018, allocations: 9.561 MB / 0.6543 GB, free: 46.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.018, allocations: 0 / 0.6543 GB, free: 46.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/1.018, allocations: 0 / 0.6543 GB, free: 46.71 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.0008254/1.019, allocations: 449.4 kB / 0.6548 GB, free: 46.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.019, allocations: 12.03 kB / 0.6548 GB, free: 46.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/1.019, allocations: 31.02 kB / 0.6548 GB, free: 46.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/1.02, allocations: 197.7 kB / 0.655 GB, free: 45.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/1.02, allocations: 4 kB / 0.655 GB, free: 45.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/1.02, allocations: 11.91 kB / 0.655 GB, free: 45.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002455/1.02, allocations: 113.9 kB / 0.6551 GB, free: 45.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/1.02, allocations: 185.4 kB / 0.6553 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/1.02, allocations: 3.938 kB / 0.6553 GB, free: 45.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/1.02, allocations: 3.953 kB / 0.6553 GB, free: 45.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.02, allocations: 4 kB / 0.6553 GB, free: 45.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/1.021, allocations: 0.8977 MB / 0.6562 GB, free: 44.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/1.022, allocations: 122.8 kB / 0.6563 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/1.022, allocations: 42.38 kB / 0.6563 GB, free: 44.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/1.022, allocations: 0.5201 MB / 0.6568 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/1.022, allocations: 34.55 kB / 0.6569 GB, free: 44.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/1.022, allocations: 0 / 0.6569 GB, free: 44.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001776/1.024, allocations: 0.5796 MB / 0.6574 GB, free: 43.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.024, allocations: 55.41 kB / 0.6575 GB, free: 43.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.024, allocations: 140.4 kB / 0.6576 GB, free: 43.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/1.024, allocations: 25.7 kB / 0.6576 GB, free: 43.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/1.024, allocations: 142.9 kB / 0.6578 GB, free: 43.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/1.024, allocations: 77 kB / 0.6579 GB, free: 43.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/1.024, allocations: 0 / 0.6579 GB, free: 43.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/1.024, allocations: 325.5 kB / 0.6582 GB, free: 42.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/1.025, allocations: 56.88 kB / 0.6582 GB, free: 42.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/1.025, allocations: 172.7 kB / 0.6584 GB, free: 42.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/1.025, allocations: 78.34 kB / 0.6585 GB, free: 42.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.025, allocations: 4 kB / 0.6585 GB, free: 42.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003853/1.025, allocations: 252.3 kB / 0.6587 GB, free: 42.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.025, allocations: 4 kB / 0.6587 GB, free: 42.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.025, allocations: 4 kB / 0.6587 GB, free: 42.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/1.025, allocations: 8 kB / 0.6587 GB, free: 42.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.026, allocations: 84.3 kB / 0.6588 GB, free: 42.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.026, allocations: 11.92 kB / 0.6588 GB, free: 42.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/1.026, allocations: 11.98 kB / 0.6588 GB, free: 42.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/1.026, allocations: 15.56 kB / 0.6588 GB, free: 42.15 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 0.0001043/1.026, allocations: 108.9 kB / 0.6589 GB, free: 42.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/1.026, allocations: 27.69 kB / 0.659 GB, free: 42.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/1.027, allocations: 197.4 kB / 0.6592 GB, free: 41.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.027, allocations: 4 kB / 0.6592 GB, free: 41.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.027, allocations: 0 / 0.6592 GB, free: 41.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.027, allocations: 0 / 0.6592 GB, free: 41.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/1.028, allocations: 0.5218 MB / 0.6597 GB, free: 41.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.028, allocations: 0 / 0.6597 GB, free: 41.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/1.028, allocations: 43.97 kB / 0.6597 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.028, allocations: 4 kB / 0.6597 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/1.028, allocations: 11.3 kB / 0.6597 GB, free: 41.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.028, allocations: 0 / 0.6597 GB, free: 41.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.028, allocations: 7.938 kB / 0.6597 GB, free: 41.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/1.028, allocations: 380.7 kB / 0.6601 GB, free: 40.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/1.028, allocations: 92.95 kB / 0.6602 GB, free: 40.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/1.028, allocations: 3.953 kB / 0.6602 GB, free: 40.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/1.029, allocations: 15.92 kB / 0.6602 GB, free: 40.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/1.029, allocations: 11.48 kB / 0.6602 GB, free: 40.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/1.029, allocations: 11.98 kB / 0.6602 GB, free: 40.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.328e-05/1.029, allocations: 108.3 kB / 0.6603 GB, free: 40.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.029, allocations: 3.938 kB / 0.6603 GB, free: 40.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003742/1.029, allocations: 60.06 kB / 0.6604 GB, free: 40.6 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.000254/1.029, allocations: 138.3 kB / 0.6605 GB, free: 40.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/1.03, allocations: 172.2 kB / 0.6607 GB, free: 40.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.03, allocations: 3.938 kB / 0.6607 GB, free: 40.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.03, allocations: 64.42 kB / 0.6608 GB, free: 40.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/1.03, allocations: 37.8 kB / 0.6608 GB, free: 40.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/1.031, allocations: 285.4 kB / 0.6611 GB, free: 39.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/1.031, allocations: 0.7243 MB / 0.6618 GB, free: 39.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002617/1.031, allocations: 42.06 kB / 0.6618 GB, free: 39.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/1.031, allocations: 24.55 kB / 0.6618 GB, free: 39.15 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/1.031, allocations: 4 kB / 0.6618 GB, free: 39.15 MB / 426.7 MB Notification: Performance of Templates: time 0.005432/1.037, allocations: 2.593 MB / 0.6644 GB, free: 36.59 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