Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 181.6 kB / 8.699 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001046, allocations: 86.22 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.243e-05/1.245e-05, allocations: 224 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 47.59 MB / 363.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.678/0.7824, allocations: 190.2 MB / 0.5403 GB, free: 149.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.7828, allocations: 68.22 kB / 0.5403 GB, free: 149.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07391/0.8568, allocations: 22.78 MB / 0.5626 GB, free: 133.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.8568, allocations: 4 kB / 0.5626 GB, free: 133.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.8569, allocations: 3.938 kB / 0.5626 GB, free: 133.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006274/0.8575, allocations: 434.1 kB / 0.563 GB, free: 132.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/0.8576, allocations: 11.97 kB / 0.563 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.8582, allocations: 35.88 kB / 0.563 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.8584, allocations: 195.2 kB / 0.5632 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8584, allocations: 4 kB / 0.5632 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.8585, allocations: 4 kB / 0.5632 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002381/0.8587, allocations: 99.92 kB / 0.5633 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.8589, allocations: 121 kB / 0.5634 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.859, allocations: 0 / 0.5634 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.859, allocations: 0 / 0.5634 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.859, allocations: 7.953 kB / 0.5634 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007627/0.8598, allocations: 0.5876 MB / 0.564 GB, free: 131.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.8599, allocations: 82.5 kB / 0.5641 GB, free: 131.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.86, allocations: 32.84 kB / 0.5641 GB, free: 131.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.8607, allocations: 0.8037 MB / 0.5649 GB, free: 130.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.8607, allocations: 46.52 kB / 0.565 GB, free: 130.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.592e-06/0.8607, allocations: 0 / 0.565 GB, free: 130.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008771/0.8616, allocations: 129.9 kB / 0.5651 GB, free: 130.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.8616, allocations: 51.41 kB / 0.5651 GB, free: 130.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.8617, allocations: 109.1 kB / 0.5652 GB, free: 130.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.8618, allocations: 25.7 kB / 0.5653 GB, free: 130.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.8618, allocations: 99.8 kB / 0.5654 GB, free: 130.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.8619, allocations: 55.23 kB / 0.5654 GB, free: 130 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.8619, allocations: 0 / 0.5654 GB, free: 130 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.862, allocations: 318.8 kB / 0.5657 GB, free: 129.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.862, allocations: 24 kB / 0.5657 GB, free: 129.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.8621, allocations: 65.14 kB / 0.5658 GB, free: 129.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.8627, allocations: 67.94 kB / 0.5659 GB, free: 129.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8627, allocations: 0 / 0.5659 GB, free: 129.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007539/0.8635, allocations: 157.9 kB / 0.566 GB, free: 129.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.8635, allocations: 4 kB / 0.566 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8635, allocations: 4 kB / 0.566 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8636, allocations: 3.953 kB / 0.566 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.8637, allocations: 35.98 kB / 0.5661 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.8638, allocations: 3.938 kB / 0.5661 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8639, allocations: 19.94 kB / 0.5661 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.8639, allocations: 8 kB / 0.5661 GB, free: 129.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.92e-05/0.864, allocations: 108.9 kB / 0.5662 GB, free: 129.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.8641, allocations: 4 kB / 0.5662 GB, free: 129.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/0.8649, allocations: 167.2 kB / 0.5664 GB, free: 129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8649, allocations: 11.95 kB / 0.5664 GB, free: 129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8649, allocations: 0 / 0.5664 GB, free: 129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.8649, allocations: 3.984 kB / 0.5664 GB, free: 129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.8659, allocations: 383.7 kB / 0.5667 GB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8659, allocations: 0 / 0.5667 GB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.866, allocations: 27.92 kB / 0.5668 GB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.866, allocations: 0 / 0.5668 GB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.8661, allocations: 11.94 kB / 0.5668 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8661, allocations: 0 / 0.5668 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8661, allocations: 0 / 0.5668 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.8667, allocations: 224.2 kB / 0.567 GB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.8668, allocations: 101 kB / 0.5671 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.8669, allocations: 0 / 0.5671 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.867, allocations: 11.94 kB / 0.5671 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.8671, allocations: 7.984 kB / 0.5671 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.8671, allocations: 11.92 kB / 0.5671 GB, free: 128.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.8672, allocations: 87.28 kB / 0.5672 GB, free: 128.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8672, allocations: 7.938 kB / 0.5672 GB, free: 128.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.8677, allocations: 59.92 kB / 0.5673 GB, free: 128 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0003688/0.8681, allocations: 151.1 kB / 0.5674 GB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.8683, allocations: 72.55 kB / 0.5675 GB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.8683, allocations: 0 / 0.5675 GB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.8684, allocations: 36.19 kB / 0.5675 GB, free: 127.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.8689, allocations: 36.27 kB / 0.5675 GB, free: 127.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.8693, allocations: 108.3 kB / 0.5677 GB, free: 127.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.8695, allocations: 0.6928 MB / 0.5683 GB, free: 126.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.8697, allocations: 37.02 kB / 0.5684 GB, free: 126.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.8698, allocations: 15.44 kB / 0.5684 GB, free: 126.8 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.8698, allocations: 0 / 0.5684 GB, free: 126.8 MB / 410.7 MB Notification: Performance of Templates: time 0.008452/0.8783, allocations: 2.203 MB / 0.5705 GB, free: 124.6 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches