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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 165.3 kB / 25.7 MB, free: 8.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8475/0.8475, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.882e-05, allocations: 2.312 kB / 251.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009895/0.009924, allocations: 7.762 MB / 259.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000794/0.01072, allocations: 0.6462 MB / 259.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.0108, allocations: 4 kB / 259.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.01111, allocations: 31.78 kB / 260 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.01279, allocations: 0.6186 MB / 260.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.01303, allocations: 99.72 kB / 260.7 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.01332, allocations: 183.1 kB / 260.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.01337, allocations: 4 kB / 260.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009482/0.01432, allocations: 0.6081 MB / 261.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.01441, allocations: 43.83 kB / 261.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.01443, allocations: 4 kB / 261.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009293/0.01535, allocations: 0.8304 MB / 262.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.01541, allocations: 27.91 kB / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.01545, allocations: 35.92 kB / 262.4 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.0158, allocations: 231.3 kB / 262.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.0158, allocations: 0 / 262.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0158, allocations: 0 / 262.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.01581, allocations: 3.938 kB / 262.6 MB, free: 12.12 MB / 250.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.0003545/0.01616, allocations: 324.3 kB / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.01619, allocations: 11.98 kB / 263 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.01647, allocations: 64.69 kB / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.01661, allocations: 137.7 kB / 263.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.01662, allocations: 4.375 kB / 263.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.01663, allocations: 12.36 kB / 263.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.01679, allocations: 189.5 kB / 263.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.0168, allocations: 4.188 kB / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.01681, allocations: 8.125 kB / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01681, allocations: 0 / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.01689, allocations: 66.61 kB / 263.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.01751, allocations: 494.2 kB / 263.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.095e-05/0.01759, allocations: 74.28 kB / 264 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.01761, allocations: 24.84 kB / 264 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.01778, allocations: 59.95 kB / 264.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.0178, allocations: 34.56 kB / 264.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.0178, allocations: 0 / 264.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001268/0.01793, allocations: 85.84 kB / 264.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.01795, allocations: 51.41 kB / 264.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.01801, allocations: 118.7 kB / 264.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.01802, allocations: 29.7 kB / 264.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.01807, allocations: 111.8 kB / 264.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.0181, allocations: 51.56 kB / 264.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.01813, allocations: 37.62 kB / 264.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.0182, allocations: 318.8 kB / 264.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.01822, allocations: 15.98 kB / 264.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.01826, allocations: 61.12 kB / 265 MB, free: 9.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-05/0.01832, allocations: 83.83 kB / 265 MB, free: 9.469 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01832, allocations: 0 / 265 MB, free: 9.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001002/0.01842, allocations: 101.3 kB / 265.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01844, allocations: 7.984 kB / 265.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01844, allocations: 4 kB / 265.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.01845, allocations: 0 / 265.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.01852, allocations: 31.98 kB / 265.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01853, allocations: 7.938 kB / 265.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.01856, allocations: 7.953 kB / 265.2 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01857, allocations: 8.156 kB / 265.2 MB, free: 9.301 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.01863, allocations: 128.6 kB / 265.3 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.01866, allocations: 15.92 kB / 265.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.01881, allocations: 110.3 kB / 265.5 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01881, allocations: 0 / 265.5 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01881, allocations: 4 kB / 265.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01881, allocations: 0 / 265.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.01904, allocations: 246.7 kB / 265.7 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01904, allocations: 4 kB / 265.7 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.01908, allocations: 31.92 kB / 265.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01908, allocations: 0 / 265.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.01909, allocations: 4 kB / 265.7 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01909, allocations: 0 / 265.7 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01909, allocations: 0 / 265.7 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.01918, allocations: 167.5 kB / 265.9 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01921, allocations: 15.94 kB / 265.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.01922, allocations: 8 kB / 265.9 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.01927, allocations: 3.938 kB / 265.9 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.01928, allocations: 11.98 kB / 265.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01929, allocations: 11.98 kB / 266 MB, free: 8.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.585e-05/0.01931, allocations: 16.84 kB / 266 MB, free: 8.477 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01931, allocations: 3.938 kB / 266 MB, free: 8.473 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.0195, allocations: 63.81 kB / 266 MB, free: 8.41 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.01969, allocations: 144.2 kB / 266.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.01978, allocations: 69.89 kB / 266.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01978, allocations: 0 / 266.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.01981, allocations: 36.77 kB / 266.3 MB, free: 8.156 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.02003, allocations: 56.41 kB / 266.3 MB, free: 8.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.0206, allocations: 226.6 kB / 266.6 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.02064, allocations: 67.8 kB / 266.6 MB, free: 7.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.067e-05/0.02073, allocations: 28.84 kB / 266.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.02084, allocations: 91.33 kB / 266.7 MB, free: 7.648 MB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02084, allocations: 0 / 266.7 MB, free: 7.648 MB / 250.7 MB Notification: Performance of Templates: time 0.004247/0.02509, allocations: 2.895 MB / 269.6 MB, free: 4.773 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6576508223079145]