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.0009629/0.0009629, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009478/0.0009478, allocations: 169 kB / 24.91 MB, free: 8.723 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.8752/0.8752, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.653e-06/1.653e-06, allocations: 0 / 273.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.124e-05, allocations: 9.062 kB / 273.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004958/0.004979, allocations: 4.944 MB / 278.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005829/0.005562, allocations: 0.6307 MB / 279 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.005607, allocations: 3.938 kB / 279 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.005814, allocations: 35.77 kB / 279 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.006911, allocations: 0.6302 MB / 279.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.007069, allocations: 91.84 kB / 279.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.007265, allocations: 183.2 kB / 279.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.0073, allocations: 7.984 kB / 279.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.008019, allocations: 0.6118 MB / 280.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.008086, allocations: 39.89 kB / 280.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.008103, allocations: 8 kB / 280.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008522/0.008955, allocations: 0.8694 MB / 281.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.008999, allocations: 19.91 kB / 281.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.009039, allocations: 39.92 kB / 281.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.009326, allocations: 235.3 kB / 281.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.009328, allocations: 4 kB / 281.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.009329, allocations: 0 / 281.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.009332, allocations: 0 / 281.8 MB, free: 12.09 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.0003235/0.009656, allocations: 328.2 kB / 282.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.009687, allocations: 8.031 kB / 282.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.009938, allocations: 68.69 kB / 282.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.01007, allocations: 133.6 kB / 282.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.01008, allocations: 8.375 kB / 282.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.0101, allocations: 12.38 kB / 282.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.01025, allocations: 197.2 kB / 282.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.01025, allocations: 3.938 kB / 282.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.01026, allocations: 0 / 282.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.01027, allocations: 4 kB / 282.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.01035, allocations: 66.69 kB / 282.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.01072, allocations: 494.2 kB / 283.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/0.0108, allocations: 66.47 kB / 283.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.01082, allocations: 20.86 kB / 283.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.01097, allocations: 59.94 kB / 283.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.01099, allocations: 30.56 kB / 283.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.01099, allocations: 0 / 283.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001329/0.01112, allocations: 89.91 kB / 283.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01115, allocations: 55.41 kB / 283.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/0.01121, allocations: 122.6 kB / 283.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.01122, allocations: 33.64 kB / 283.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.01126, allocations: 99.94 kB / 283.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.01128, allocations: 47.56 kB / 283.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.0114, allocations: 37.69 kB / 283.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.01147, allocations: 326.8 kB / 284 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.01148, allocations: 8 kB / 284 MB, free: 9.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.01152, allocations: 57.12 kB / 284.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/0.01158, allocations: 94.61 kB / 284.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01159, allocations: 4 kB / 284.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.808e-05/0.01168, allocations: 93.53 kB / 284.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.01169, allocations: 6.344 kB / 284.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01169, allocations: 4.156 kB / 284.3 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.0117, allocations: 7.938 kB / 284.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.01177, allocations: 35.92 kB / 284.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.01178, allocations: 4 kB / 284.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.01181, allocations: 11.89 kB / 284.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01182, allocations: 8 kB / 284.4 MB, free: 9.27 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 5.917e-05/0.01188, allocations: 128.5 kB / 284.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.0119, allocations: 4 kB / 284.5 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.01204, allocations: 110.4 kB / 284.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01204, allocations: 0 / 284.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01204, allocations: 0 / 284.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01204, allocations: 0 / 284.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.01226, allocations: 266.5 kB / 284.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01226, allocations: 0 / 284.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.01231, allocations: 16 kB / 284.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.01231, allocations: 3.938 kB / 284.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.01231, allocations: 11.98 kB / 284.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01232, allocations: 0 / 284.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.01232, allocations: 0 / 284.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.706e-05/0.0124, allocations: 174.7 kB / 285.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.01243, allocations: 15.94 kB / 285.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.01244, allocations: 4 kB / 285.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.01248, allocations: 7.984 kB / 285.1 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.0125, allocations: 7.984 kB / 285.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.01251, allocations: 4 kB / 285.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.569e-05/0.01252, allocations: 20.83 kB / 285.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01252, allocations: 0 / 285.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000181/0.0127, allocations: 59.88 kB / 285.2 MB, free: 8.395 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.0001841/0.01289, allocations: 164 kB / 285.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.01297, allocations: 64.75 kB / 285.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01298, allocations: 0 / 285.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.013, allocations: 37.09 kB / 285.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.0132, allocations: 43.94 kB / 285.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.01369, allocations: 219.4 kB / 285.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.01373, allocations: 63.84 kB / 285.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.01381, allocations: 45.09 kB / 285.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.01391, allocations: 91.33 kB / 285.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01391, allocations: 0 / 285.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of Templates: time 0.004202/0.01811, allocations: 2.969 MB / 288.9 MB, free: 4.695 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.6466764830984175]