Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 147 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.006/1.006, allocations: 173.4 MB / 201.5 MB, free: 8.766 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.977e-05, allocations: 2.312 kB / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007055/0.007075, allocations: 4.932 MB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008306/0.007905, allocations: 0.6423 MB / 274.1 MB, free: 424 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.007955, allocations: 0 / 274.1 MB, free: 424 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.008174, allocations: 23.78 kB / 274.1 MB, free: 400 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.00957, allocations: 0.6108 MB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.009778, allocations: 95.78 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.01003, allocations: 183.2 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.01007, allocations: 4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009775/0.01104, allocations: 0.608 MB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.261e-05/0.01113, allocations: 43.89 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.01114, allocations: 7.938 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.01238, allocations: 0.8421 MB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.01243, allocations: 23.91 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.01248, allocations: 35.91 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.01287, allocations: 231.3 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01287, allocations: 3.938 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01287, allocations: 0 / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.01288, allocations: 4 kB / 276.8 MB, free: 13.7 MB / 266.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.0003949/0.01327, allocations: 320.4 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01331, allocations: 12.92 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/0.01375, allocations: 64.66 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.01392, allocations: 133.6 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.01393, allocations: 8.375 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.01395, allocations: 12.38 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.01415, allocations: 193.2 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.01416, allocations: 0 / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.01417, allocations: 0 / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.01418, allocations: 8 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.01429, allocations: 62.7 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.01477, allocations: 494.2 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.01487, allocations: 66.39 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.01491, allocations: 28.83 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.01511, allocations: 51.95 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.01514, allocations: 42.48 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.01514, allocations: 0 / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001746/0.01531, allocations: 93.84 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.01534, allocations: 51.41 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.01541, allocations: 118.6 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.01543, allocations: 33.7 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.01548, allocations: 107.8 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.01552, allocations: 51.53 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.01556, allocations: 33.7 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.01566, allocations: 322.8 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.01569, allocations: 15.98 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.01574, allocations: 64.03 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.01584, allocations: 83.88 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01584, allocations: 0 / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001347/0.01597, allocations: 93.53 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01599, allocations: 8 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01599, allocations: 0 / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.01601, allocations: 8.156 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01611, allocations: 39.91 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01612, allocations: 4 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.01617, allocations: 7.953 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01619, allocations: 8 kB / 279.3 MB, free: 10.88 MB / 266.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 7.278e-05/0.01626, allocations: 128.5 kB / 279.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.01629, allocations: 7.984 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.01649, allocations: 106.3 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01649, allocations: 4 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01649, allocations: 0 / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01649, allocations: 0 / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.01681, allocations: 258.6 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01681, allocations: 0 / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.01688, allocations: 27.98 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01688, allocations: 0 / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01689, allocations: 4 kB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01689, allocations: 3.984 kB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01689, allocations: 3.938 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.01702, allocations: 183.4 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.01706, allocations: 23.92 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.01707, allocations: 4 kB / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.01715, allocations: 0 / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.01717, allocations: 7.984 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.01719, allocations: 11.98 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.021e-05/0.01721, allocations: 12.86 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01721, allocations: 0 / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.01752, allocations: 59.86 kB / 280.2 MB, free: 9.988 MB / 266.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.000241/0.01776, allocations: 140.2 kB / 280.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.01787, allocations: 68.69 kB / 280.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.01788, allocations: 0 / 280.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.01791, allocations: 33.09 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.01822, allocations: 43.95 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.0189, allocations: 235.4 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.529e-05/0.01895, allocations: 63.84 kB / 280.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.01906, allocations: 33.12 kB / 280.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.01921, allocations: 95.31 kB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01921, allocations: 0 / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of Templates: time 0.005649/0.02486, allocations: 2.874 MB / 283.8 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.728977559134364]