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.0009603/0.0009603, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00106/0.00106, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9599/0.9599, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.252e-06/1.252e-06, allocations: 0 / 273 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.725e-05, allocations: 2.312 kB / 273 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004747/0.004764, allocations: 4.949 MB / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005735/0.005337, allocations: 0.6424 MB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.005386, allocations: 4 kB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.005588, allocations: 23.83 kB / 278.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.006655, allocations: 0.6263 MB / 279.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.006804, allocations: 87.84 kB / 279.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.00699, allocations: 187.1 kB / 279.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.007023, allocations: 7.938 kB / 279.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.00777, allocations: 0.6509 MB / 280.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.586e-05/0.007826, allocations: 43.83 kB / 280.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.007842, allocations: 8 kB / 280.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008709/0.008713, allocations: 0.9085 MB / 281.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.008757, allocations: 23.91 kB / 281.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.008798, allocations: 31.94 kB / 281.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.009106, allocations: 247.2 kB / 281.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.009108, allocations: 0 / 281.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009109, allocations: 0 / 281.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.009113, allocations: 4 kB / 281.5 MB, free: 9.406 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.0003656/0.009479, allocations: 451.9 kB / 281.9 MB, free: 8.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.009508, allocations: 12.03 kB / 281.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.009788, allocations: 60.67 kB / 282 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.009932, allocations: 136.5 kB / 282.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.00994, allocations: 384 / 282.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.009956, allocations: 16.31 kB / 282.1 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.01015, allocations: 213.1 kB / 282.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.01015, allocations: 0 / 282.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.01017, allocations: 0 / 282.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01017, allocations: 7.984 kB / 282.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.01028, allocations: 78.2 kB / 282.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.01075, allocations: 0.7306 MB / 283.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.01085, allocations: 75.03 kB / 283.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.01089, allocations: 31.67 kB / 283.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.01105, allocations: 59.94 kB / 283.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.01108, allocations: 37.39 kB / 283.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.01108, allocations: 0 / 283.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001933/0.01127, allocations: 113.8 kB / 283.5 MB, free: 7.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.01129, allocations: 59.41 kB / 283.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.01137, allocations: 181.8 kB / 283.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01138, allocations: 25.7 kB / 283.7 MB, free: 6.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.01143, allocations: 154.5 kB / 283.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.01146, allocations: 51.56 kB / 283.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.0115, allocations: 43.36 kB / 284 MB, free: 6.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.0116, allocations: 0.4883 MB / 284.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.01163, allocations: 19.98 kB / 284.5 MB, free: 6.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/0.01168, allocations: 86.03 kB / 284.6 MB, free: 6.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.01177, allocations: 110 kB / 284.7 MB, free: 5.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01178, allocations: 0 / 284.7 MB, free: 5.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001293/0.01191, allocations: 133.4 kB / 284.8 MB, free: 5.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.01192, allocations: 4 kB / 284.8 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.01192, allocations: 4 kB / 284.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01193, allocations: 0 / 284.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.01202, allocations: 40.08 kB / 284.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01202, allocations: 0 / 284.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.01206, allocations: 19.88 kB / 284.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01207, allocations: 8 kB / 284.9 MB, free: 5.707 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.342e-05/0.01214, allocations: 164.5 kB / 285 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.01216, allocations: 19.89 kB / 285 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.01233, allocations: 122.3 kB / 285.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01234, allocations: 0 / 285.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01234, allocations: 4 kB / 285.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01234, allocations: 3.984 kB / 285.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.01261, allocations: 373.3 kB / 285.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01261, allocations: 0 / 285.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.01265, allocations: 27.98 kB / 285.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01266, allocations: 0 / 285.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.01266, allocations: 4 kB / 285.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.01267, allocations: 0 / 285.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01267, allocations: 3.938 kB / 285.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.01279, allocations: 251.8 kB / 285.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.01282, allocations: 23.92 kB / 285.8 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.01283, allocations: 4 kB / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.01288, allocations: 8 kB / 285.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.0129, allocations: 11.92 kB / 285.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01291, allocations: 7.938 kB / 285.9 MB, free: 4.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.01296, allocations: 135.2 kB / 286 MB, free: 4.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01296, allocations: 0 / 286 MB, free: 4.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.01317, allocations: 63.83 kB / 286.1 MB, free: 4.426 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.0001815/0.01335, allocations: 175.3 kB / 286.2 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.01347, allocations: 75.53 kB / 286.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01347, allocations: 0 / 286.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.01351, allocations: 47.28 kB / 286.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01376, allocations: 56.12 kB / 286.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.01433, allocations: 214.5 kB / 286.6 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.01437, allocations: 63.84 kB / 286.7 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.01445, allocations: 28.89 kB / 286.7 MB, free: 3.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.01448, allocations: 28.48 kB / 286.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01448, allocations: 0 / 286.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of Templates: time 0.003922/0.0184, allocations: 2.617 MB / 289.4 MB, free: 1.133 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.7467148010618985]