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.00147/0.00147, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001725/0.001725, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.9735/0.9735, allocations: 177.1 MB / 205 MB, free: 5.625 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.472e-06/1.472e-06, allocations: 0 / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.224e-05, allocations: 2.312 kB / 272.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005605/0.005627, allocations: 4.954 MB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005941/0.006221, allocations: 0.6502 MB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.006268, allocations: 0 / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.006499, allocations: 27.78 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.007691, allocations: 0.6302 MB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.007857, allocations: 87.86 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.008052, allocations: 179.2 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.008085, allocations: 11.92 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.008875, allocations: 0.6548 MB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.008947, allocations: 39.83 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.008964, allocations: 8 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.01001, allocations: 0.9085 MB / 281.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.01005, allocations: 15.92 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.0101, allocations: 47.84 kB / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.01044, allocations: 243.2 kB / 281.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01044, allocations: 0 / 281.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01044, allocations: 4 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.01045, allocations: 0 / 281.4 MB, free: 9.078 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.0003969/0.01085, allocations: 455.9 kB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01088, allocations: 12.03 kB / 281.9 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.01141, allocations: 56.67 kB / 281.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.01156, allocations: 136.5 kB / 282 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.01157, allocations: 8.375 kB / 282 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.01159, allocations: 4.375 kB / 282.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.01178, allocations: 213 kB / 282.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.01179, allocations: 0 / 282.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.01181, allocations: 4 kB / 282.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01182, allocations: 7.984 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.01193, allocations: 74.67 kB / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.01242, allocations: 0.7306 MB / 283.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.01253, allocations: 75.03 kB / 283.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.01257, allocations: 35.67 kB / 283.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.01274, allocations: 55.95 kB / 283.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.01276, allocations: 37.39 kB / 283.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.01276, allocations: 0 / 283.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002063/0.01297, allocations: 121.8 kB / 283.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.01299, allocations: 55.41 kB / 283.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.01308, allocations: 173.9 kB / 283.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.01309, allocations: 29.7 kB / 283.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.01315, allocations: 154.6 kB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.01317, allocations: 47.58 kB / 283.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.01321, allocations: 39.38 kB / 283.9 MB, free: 6.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.01334, allocations: 0.4922 MB / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.01337, allocations: 19.98 kB / 284.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.01342, allocations: 82.09 kB / 284.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.01352, allocations: 110 kB / 284.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01352, allocations: 0 / 284.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001465/0.01367, allocations: 133.1 kB / 284.7 MB, free: 5.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01368, allocations: 8 kB / 284.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01369, allocations: 0 / 284.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.0137, allocations: 4 kB / 284.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.01379, allocations: 32.08 kB / 284.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01379, allocations: 4 kB / 284.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.01383, allocations: 19.83 kB / 284.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01384, allocations: 8 kB / 284.8 MB, free: 5.391 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.96e-05/0.01391, allocations: 172.5 kB / 285 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.01394, allocations: 11.95 kB / 285 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.01413, allocations: 134.3 kB / 285.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01413, allocations: 0 / 285.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01414, allocations: 4 kB / 285.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01414, allocations: 0 / 285.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.01444, allocations: 377.2 kB / 285.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01444, allocations: 4 kB / 285.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.01449, allocations: 19.98 kB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01449, allocations: 0 / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.0145, allocations: 8 kB / 285.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.0145, allocations: 0 / 285.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.0145, allocations: 3.938 kB / 285.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.01464, allocations: 247.8 kB / 285.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.01467, allocations: 19.94 kB / 285.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01468, allocations: 12 kB / 285.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.01473, allocations: 3.984 kB / 285.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.01476, allocations: 15.92 kB / 285.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01477, allocations: 4 kB / 285.8 MB, free: 4.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.01481, allocations: 135.2 kB / 285.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01481, allocations: 0 / 285.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000244/0.01505, allocations: 63.83 kB / 286 MB, free: 4.102 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.0002185/0.01527, allocations: 179.2 kB / 286.2 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.0154, allocations: 75.53 kB / 286.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.0154, allocations: 0 / 286.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.01544, allocations: 46.66 kB / 286.3 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01571, allocations: 48.2 kB / 286.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.01633, allocations: 226.4 kB / 286.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.01637, allocations: 63.84 kB / 286.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.01645, allocations: 32.89 kB / 286.7 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.01648, allocations: 16.5 kB / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01648, allocations: 0 / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of Templates: time 0.004725/0.02121, allocations: 2.614 MB / 289.3 MB, free: 0.8086 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.849388714879751]