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.001348/0.001348, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.494/1.494, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0008019/0.0008019, allocations: 97.53 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 11.98 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.6976, allocations: 190.7 MB / 0.5544 GB, free: 48.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.698, allocations: 80.19 kB / 0.5545 GB, free: 47.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04226/0.7402, allocations: 20.96 MB / 0.575 GB, free: 29.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.7403, allocations: 0 / 0.575 GB, free: 29.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.7403, allocations: 3.938 kB / 0.575 GB, free: 29.94 MB / 378.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.0005971/0.7409, allocations: 443.7 kB / 0.5754 GB, free: 29.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.741, allocations: 12.03 kB / 0.5754 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.7414, allocations: 30.33 kB / 0.5755 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.7417, allocations: 202.9 kB / 0.5757 GB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7417, allocations: 384 / 0.5757 GB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.7418, allocations: 11.81 kB / 0.5757 GB, free: 29.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.742, allocations: 139.5 kB / 0.5758 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.742, allocations: 4.125 kB / 0.5758 GB, free: 29.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.7421, allocations: 7.938 kB / 0.5758 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7421, allocations: 4 kB / 0.5758 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.7422, allocations: 109 kB / 0.5759 GB, free: 28.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.7428, allocations: 0.6123 MB / 0.5765 GB, free: 28.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.743, allocations: 88.23 kB / 0.5766 GB, free: 28.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.743, allocations: 40.03 kB / 0.5766 GB, free: 28.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/0.7435, allocations: 0.7989 MB / 0.5774 GB, free: 27.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.7435, allocations: 41.98 kB / 0.5775 GB, free: 27.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.7435, allocations: 0 / 0.5775 GB, free: 27.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002777/0.7438, allocations: 130.7 kB / 0.5776 GB, free: 27.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.7438, allocations: 55.41 kB / 0.5776 GB, free: 27.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.7439, allocations: 117 kB / 0.5777 GB, free: 26.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.744, allocations: 25.7 kB / 0.5778 GB, free: 26.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.744, allocations: 103.5 kB / 0.5779 GB, free: 26.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.744, allocations: 46.41 kB / 0.5779 GB, free: 26.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.7441, allocations: 0 / 0.5779 GB, free: 26.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.7441, allocations: 326.3 kB / 0.5782 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.7442, allocations: 22.98 kB / 0.5782 GB, free: 26.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.7442, allocations: 79.09 kB / 0.5783 GB, free: 26.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.7443, allocations: 109.8 kB / 0.5784 GB, free: 26.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7443, allocations: 0 / 0.5784 GB, free: 26.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000177/0.7445, allocations: 139 kB / 0.5786 GB, free: 26.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.7446, allocations: 4 kB / 0.5786 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7446, allocations: 0 / 0.5786 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7446, allocations: 4 kB / 0.5786 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.7447, allocations: 31.97 kB / 0.5786 GB, free: 26.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7447, allocations: 4 kB / 0.5786 GB, free: 26.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.7448, allocations: 18.94 kB / 0.5786 GB, free: 26.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.7448, allocations: 8.312 kB / 0.5786 GB, free: 26.05 MB / 378.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 () * Number of clocked 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 7.18e-05/0.7449, allocations: 129.1 kB / 0.5787 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.7449, allocations: 7.906 kB / 0.5788 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.7452, allocations: 145.5 kB / 0.5789 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7452, allocations: 0 / 0.5789 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7452, allocations: 8 kB / 0.5789 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7452, allocations: 3.938 kB / 0.5789 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.7456, allocations: 386 kB / 0.5793 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7456, allocations: 0 / 0.5793 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.7457, allocations: 27.92 kB / 0.5793 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7457, allocations: 0 / 0.5793 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.7457, allocations: 11.69 kB / 0.5793 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7457, allocations: 0 / 0.5793 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7457, allocations: 7.984 kB / 0.5793 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.7459, allocations: 196.8 kB / 0.5795 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.7459, allocations: 96.88 kB / 0.5796 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.746, allocations: 11.19 kB / 0.5796 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.746, allocations: 0 / 0.5796 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.7461, allocations: 11.86 kB / 0.5796 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.7461, allocations: 4 kB / 0.5796 GB, free: 25.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.7461, allocations: 90.77 kB / 0.5797 GB, free: 24.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.563e-06/0.7462, allocations: 7.938 kB / 0.5797 GB, free: 24.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.7465, allocations: 70.86 kB / 0.5798 GB, free: 24.88 MB / 378.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 () * Number of clocked 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.0002773/0.7468, allocations: 151.1 kB / 0.5799 GB, free: 24.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.747, allocations: 81.53 kB / 0.58 GB, free: 24.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.747, allocations: 4 kB / 0.58 GB, free: 24.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/0.7471, allocations: 38.8 kB / 0.5801 GB, free: 24.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.7475, allocations: 39.02 kB / 0.5801 GB, free: 24.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.748, allocations: 289.5 kB / 0.5804 GB, free: 24.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.7481, allocations: 0.697 MB / 0.581 GB, free: 23.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.7483, allocations: 40.94 kB / 0.5811 GB, free: 23.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.7484, allocations: 26.8 kB / 0.5811 GB, free: 23.51 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.7484, allocations: 0 / 0.5811 GB, free: 23.51 MB / 378.7 MB Notification: Performance of Templates: time 0.005003/0.7534, allocations: 2.271 MB / 0.5833 GB, free: 21.26 MB / 378.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/jenkins1/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