Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009875/0.0009875, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001077/0.001077, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8988/0.8988, allocations: 177.2 MB / 206.1 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.867e-06/9.879e-06, allocations: 2.312 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004307/0.004317, allocations: 4.903 MB / 279.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004974/0.004814, allocations: 0.6281 MB / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.004854, allocations: 3.938 kB / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.005023, allocations: 35.77 kB / 279.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008484/0.005871, allocations: 0.6185 MB / 280.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.006001, allocations: 91.8 kB / 280.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.006164, allocations: 187.1 kB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.075e-05/0.006194, allocations: 11.92 kB / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006507/0.006845, allocations: 0.6431 MB / 281.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.006902, allocations: 51.88 kB / 281.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.006915, allocations: 4 kB / 281.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007901/0.007705, allocations: 0.9046 MB / 282.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.007745, allocations: 23.91 kB / 282.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.007786, allocations: 43.91 kB / 282.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.008049, allocations: 243.2 kB / 282.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.00805, allocations: 4 kB / 282.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008051, allocations: 0 / 282.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.008054, allocations: 0 / 282.5 MB, free: 12.03 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.0003251/0.008379, allocations: 451.9 kB / 283 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.008406, allocations: 15.97 kB / 283 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.00865, allocations: 56.67 kB / 283.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.008784, allocations: 140.5 kB / 283.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.008793, allocations: 8.375 kB / 283.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.008806, allocations: 8.375 kB / 283.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.008949, allocations: 205.7 kB / 283.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.008957, allocations: 3.938 kB / 283.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.008968, allocations: 4 kB / 283.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.008973, allocations: 4 kB / 283.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.009049, allocations: 58.11 kB / 283.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.009439, allocations: 0.7117 MB / 284.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.00952, allocations: 75 kB / 284.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.009545, allocations: 27.62 kB / 284.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.009678, allocations: 63.94 kB / 284.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.009702, allocations: 37.39 kB / 284.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.009703, allocations: 0 / 284.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001544/0.009857, allocations: 101.9 kB / 284.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.009881, allocations: 51.41 kB / 284.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.009951, allocations: 185.8 kB / 284.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.009963, allocations: 29.7 kB / 284.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.01001, allocations: 142.7 kB / 284.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.01003, allocations: 55.5 kB / 284.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.01007, allocations: 47.34 kB / 285 MB, free: 9.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.01017, allocations: 0.4922 MB / 285.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.01018, allocations: 15.98 kB / 285.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.01023, allocations: 74.09 kB / 285.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.0103, allocations: 97.67 kB / 285.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0103, allocations: 4 kB / 285.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001131/0.01041, allocations: 121.5 kB / 285.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.01042, allocations: 8 kB / 285.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01043, allocations: 3.984 kB / 285.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.01044, allocations: 0 / 285.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.0105, allocations: 39.91 kB / 285.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01051, allocations: 0 / 285.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.01054, allocations: 15.89 kB / 285.9 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01055, allocations: 11.94 kB / 285.9 MB, free: 8.418 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 6.046e-05/0.01061, allocations: 172.6 kB / 286 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.01063, allocations: 7.953 kB / 286 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.01078, allocations: 118.4 kB / 286.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01079, allocations: 4 kB / 286.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01079, allocations: 0 / 286.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01079, allocations: 0 / 286.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.01103, allocations: 357.8 kB / 286.5 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.01103, allocations: 0 / 286.5 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.01107, allocations: 27.98 kB / 286.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01108, allocations: 0 / 286.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.01108, allocations: 4 kB / 286.5 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01108, allocations: 3.938 kB / 286.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01108, allocations: 4 kB / 286.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.0112, allocations: 246.7 kB / 286.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.01122, allocations: 15.94 kB / 286.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.01123, allocations: 4 kB / 286.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.01128, allocations: 7.984 kB / 286.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.0113, allocations: 11.98 kB / 286.8 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.0113, allocations: 8 kB / 286.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.01134, allocations: 135.1 kB / 287 MB, free: 7.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01134, allocations: 0 / 287 MB, free: 7.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.01155, allocations: 67.81 kB / 287 MB, free: 7.18 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.0001705/0.01172, allocations: 174.9 kB / 287.2 MB, free: 7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.186e-05/0.01181, allocations: 63.59 kB / 287.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.01181, allocations: 0 / 287.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.01184, allocations: 43.59 kB / 287.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01209, allocations: 53.2 kB / 287.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.01257, allocations: 222.3 kB / 287.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.0126, allocations: 67.84 kB / 287.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.487e-05/0.01268, allocations: 29.16 kB / 287.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01278, allocations: 118.2 kB / 287.8 MB, free: 6.359 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01278, allocations: 0 / 287.8 MB, free: 6.359 MB / 266.7 MB Notification: Performance of Templates: time 0.003868/0.01665, allocations: 3.009 MB / 290.8 MB, free: 3.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.684512513689697]