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.000943/0.000943, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.0009049/0.0009049, allocations: 162.5 kB / 25.33 MB, free: 9.465 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.9084/0.9084, allocations: 158.6 MB / 187.2 MB, free: 2.535 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 2.204e-06/2.204e-06, allocations: 0 / 251 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.383e-05, allocations: 2.312 kB / 251 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007699/0.007733, allocations: 7.789 MB / 258.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.008506, allocations: 0.6386 MB / 259.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.008576, allocations: 3.938 kB / 259.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.008827, allocations: 27.78 kB / 259.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.01027, allocations: 0.6185 MB / 260.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.01048, allocations: 95.78 kB / 260.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.01075, allocations: 191.1 kB / 260.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.01078, allocations: 8 kB / 260.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.01177, allocations: 0.6431 MB / 261 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.01186, allocations: 39.89 kB / 261.1 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.01188, allocations: 7.938 kB / 261.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.01304, allocations: 0.8811 MB / 261.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.01309, allocations: 23.91 kB / 262 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.01315, allocations: 31.92 kB / 262 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.01355, allocations: 235.3 kB / 262.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01355, allocations: 0 / 262.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01355, allocations: 4 kB / 262.2 MB, free: 8.352 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.01356, allocations: 0 / 262.2 MB, free: 8.352 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.0004896/0.01405, allocations: 455.9 kB / 262.7 MB, free: 7.871 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.01409, allocations: 11.98 kB / 262.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.01447, allocations: 56.67 kB / 262.7 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.01465, allocations: 136.5 kB / 262.9 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.01466, allocations: 8.375 kB / 262.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.01468, allocations: 16.36 kB / 262.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.01491, allocations: 198 kB / 263.1 MB, free: 7.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.01492, allocations: 4.188 kB / 263.1 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.01494, allocations: 16.11 kB / 263.1 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.01495, allocations: 0 / 263.1 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.01508, allocations: 75.86 kB / 263.2 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.01569, allocations: 0.7344 MB / 263.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.01582, allocations: 82.97 kB / 264 MB, free: 6.414 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.01587, allocations: 27.67 kB / 264 MB, free: 6.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.01608, allocations: 59.94 kB / 264.1 MB, free: 6.324 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.01611, allocations: 49.39 kB / 264.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.01611, allocations: 0 / 264.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002555/0.01637, allocations: 113.8 kB / 264.3 MB, free: 6.148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.0164, allocations: 55.41 kB / 264.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.01649, allocations: 173.9 kB / 264.5 MB, free: 5.895 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.01651, allocations: 29.7 kB / 264.5 MB, free: 5.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.01657, allocations: 150.5 kB / 264.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.0166, allocations: 55.56 kB / 264.7 MB, free: 5.652 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.01664, allocations: 39.36 kB / 264.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01676, allocations: 0.4883 MB / 265.2 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.0168, allocations: 23.98 kB / 265.3 MB, free: 5.082 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.01686, allocations: 78.09 kB / 265.3 MB, free: 4.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.01697, allocations: 112.4 kB / 265.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01698, allocations: 0 / 265.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001797/0.01716, allocations: 129.7 kB / 265.6 MB, free: 4.715 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01717, allocations: 12 kB / 265.6 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01718, allocations: 0 / 265.6 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01719, allocations: 4 kB / 265.6 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.01729, allocations: 31.92 kB / 265.6 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01729, allocations: 7.938 kB / 265.6 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.01735, allocations: 19.88 kB / 265.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01736, allocations: 4 kB / 265.6 MB, free: 4.637 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 7.766e-05/0.01744, allocations: 164.5 kB / 265.8 MB, free: 4.465 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.01748, allocations: 15.95 kB / 265.8 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.01769, allocations: 134.3 kB / 266 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.0177, allocations: 0 / 266 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.0177, allocations: 0 / 266 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.0177, allocations: 0 / 266 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.01804, allocations: 395.1 kB / 266.3 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01805, allocations: 0 / 266.3 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.0181, allocations: 19.98 kB / 266.4 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.0181, allocations: 0 / 266.4 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01811, allocations: 4 kB / 266.4 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01811, allocations: 4 kB / 266.4 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01811, allocations: 0 / 266.4 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.01828, allocations: 251.8 kB / 266.6 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.01832, allocations: 23.92 kB / 266.6 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.01833, allocations: 8 kB / 266.6 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.0184, allocations: 0 / 266.6 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.01843, allocations: 11.98 kB / 266.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01844, allocations: 4 kB / 266.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.01849, allocations: 139.1 kB / 266.8 MB, free: 3.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01849, allocations: 0 / 266.8 MB, free: 3.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.01881, allocations: 59.86 kB / 266.9 MB, free: 3.352 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.0002368/0.01904, allocations: 163 kB / 267 MB, free: 3.184 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.0192, allocations: 79.78 kB / 267.1 MB, free: 3.102 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01921, allocations: 4.062 kB / 267.1 MB, free: 3.098 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.01926, allocations: 47.16 kB / 267.1 MB, free: 3.051 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.01962, allocations: 52.16 kB / 267.2 MB, free: 3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.02031, allocations: 221.4 kB / 267.4 MB, free: 2.758 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.02035, allocations: 63.84 kB / 267.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.02046, allocations: 32.88 kB / 267.5 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.0205, allocations: 24.5 kB / 267.5 MB, free: 2.617 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0205, allocations: 0 / 267.5 MB, free: 2.617 MB / 250.7 MB Notification: Performance of Templates: time 0.005369/0.02587, allocations: 2.866 MB / 270.4 MB, free: 15.77 MB / 266.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.767494075000286]