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.002113/0.002113, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.002168/0.002168, allocations: 164.4 kB / 25.03 MB, free: 8.926 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 1.464/1.464, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.563e-06/1.563e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.326e-05, allocations: 2.312 kB / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01464/0.01468, allocations: 7.74 MB / 258.1 MB, free: 68 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.01609, allocations: 0.6385 MB / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.01615, allocations: 0 / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.01646, allocations: 27.83 kB / 258.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.01843, allocations: 0.6146 MB / 259.4 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.01872, allocations: 103.7 kB / 259.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.01904, allocations: 183.2 kB / 259.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.01908, allocations: 4 kB / 259.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.02051, allocations: 0.6509 MB / 260.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.02062, allocations: 47.83 kB / 260.3 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.02065, allocations: 8 kB / 260.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.02242, allocations: 0.881 MB / 261.2 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.02248, allocations: 15.92 kB / 261.2 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.02256, allocations: 43.91 kB / 261.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.0231, allocations: 251.3 kB / 261.5 MB, free: 12.6 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.02311, allocations: 0 / 261.5 MB, free: 12.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02311, allocations: 0 / 261.5 MB, free: 12.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.02311, allocations: 0 / 261.5 MB, free: 12.6 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.0007061/0.02382, allocations: 455.5 kB / 262 MB, free: 12.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.02387, allocations: 11.98 kB / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.02435, allocations: 60.67 kB / 262 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.02459, allocations: 140.4 kB / 262.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.02461, allocations: 8.375 kB / 262.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.02463, allocations: 12.38 kB / 262.2 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.02497, allocations: 214 kB / 262.4 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.02498, allocations: 4.188 kB / 262.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.025, allocations: 8.125 kB / 262.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.02501, allocations: 4 kB / 262.4 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.02521, allocations: 83.86 kB / 262.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/0.02616, allocations: 0.7461 MB / 263.3 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.02636, allocations: 87.03 kB / 263.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.02643, allocations: 35.67 kB / 263.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.02675, allocations: 63.94 kB / 263.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.02679, allocations: 41.39 kB / 263.5 MB, free: 10.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.0268, allocations: 3.938 kB / 263.5 MB, free: 10.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003771/0.02717, allocations: 125.9 kB / 263.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.02722, allocations: 55.41 kB / 263.7 MB, free: 10.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.02741, allocations: 181.9 kB / 263.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.02744, allocations: 29.7 kB / 263.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.02757, allocations: 146.7 kB / 264 MB, free: 9.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.02762, allocations: 43.64 kB / 264.1 MB, free: 9.852 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.0277, allocations: 47.36 kB / 264.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003031/0.02801, allocations: 0.4922 MB / 264.6 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.02808, allocations: 23.98 kB / 264.6 MB, free: 9.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.02821, allocations: 94.03 kB / 264.7 MB, free: 9.152 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.02841, allocations: 121.9 kB / 264.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.02841, allocations: 0 / 264.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002785/0.02869, allocations: 145.5 kB / 265 MB, free: 8.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.02871, allocations: 7.938 kB / 265 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.02872, allocations: 4 kB / 265 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.02873, allocations: 0 / 265 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.02887, allocations: 35.92 kB / 265 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.02888, allocations: 4 kB / 265 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.02895, allocations: 15.89 kB / 265 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.02899, allocations: 11.98 kB / 265 MB, free: 8.785 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 0.0001681/0.02915, allocations: 176.4 kB / 265.2 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.0292, allocations: 16.11 kB / 265.2 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.02957, allocations: 138.3 kB / 265.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.02957, allocations: 0 / 265.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02957, allocations: 0 / 265.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.02958, allocations: 0 / 265.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.03034, allocations: 397.1 kB / 265.8 MB, free: 8.016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.03034, allocations: 4 kB / 265.8 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.03043, allocations: 23.98 kB / 265.8 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.03043, allocations: 0 / 265.8 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.03045, allocations: 8 kB / 265.8 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.03045, allocations: 0 / 265.8 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.03045, allocations: 0 / 265.8 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.03076, allocations: 259.8 kB / 266 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.03083, allocations: 31.86 kB / 266.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.03085, allocations: 0 / 266.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.03095, allocations: 0 / 266.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.03099, allocations: 11.98 kB / 266.1 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.03101, allocations: 4 kB / 266.1 MB, free: 7.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.03112, allocations: 139.1 kB / 266.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03112, allocations: 4 kB / 266.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.03148, allocations: 63.88 kB / 266.3 MB, free: 7.457 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.0003575/0.03184, allocations: 163 kB / 266.5 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.03207, allocations: 102.9 kB / 266.6 MB, free: 7.191 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03207, allocations: 0 / 266.6 MB, free: 7.191 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.03215, allocations: 51.59 kB / 266.6 MB, free: 7.137 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.03261, allocations: 56.16 kB / 266.7 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.03314, allocations: 221.8 kB / 266.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.03324, allocations: 83.75 kB / 267 MB, free: 6.738 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.03338, allocations: 32.84 kB / 267 MB, free: 6.703 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.03343, allocations: 24.48 kB / 267 MB, free: 6.68 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.03344, allocations: 0 / 267 MB, free: 6.68 MB / 250.7 MB Notification: Performance of Templates: time 0.007551/0.04099, allocations: 2.555 MB / 269.6 MB, free: 4.148 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.768932997016236]