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.0008031/0.0008031, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008949/0.0008949, allocations: 169.9 kB / 24.91 MB, free: 9.188 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.976/0.976, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.342e-06/1.342e-06, allocations: 0 / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.942e-05, allocations: 2.312 kB / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005686/0.005706, allocations: 4.988 MB / 278.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.006387, allocations: 0.6423 MB / 279.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.006441, allocations: 4 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.006658, allocations: 31.77 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.007958, allocations: 0.6068 MB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.008147, allocations: 87.86 kB / 279.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.008357, allocations: 187.1 kB / 280 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.008395, allocations: 11.92 kB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007914/0.009187, allocations: 0.6041 MB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.009267, allocations: 47.83 kB / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.009283, allocations: 4 kB / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009936/0.01028, allocations: 0.8734 MB / 281.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.01033, allocations: 23.91 kB / 281.6 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.01038, allocations: 35.92 kB / 281.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.01072, allocations: 239.3 kB / 281.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01073, allocations: 0 / 281.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01073, allocations: 7.938 kB / 281.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.01073, allocations: 0 / 281.8 MB, free: 8.871 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.0003316/0.01106, allocations: 324.3 kB / 282.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.01109, allocations: 8.031 kB / 282.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.01139, allocations: 64.69 kB / 282.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.01153, allocations: 137.6 kB / 282.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.01155, allocations: 8.375 kB / 282.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.01156, allocations: 8.375 kB / 282.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.01173, allocations: 189.3 kB / 282.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.01174, allocations: 4 kB / 282.6 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.01175, allocations: 8 kB / 282.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.01176, allocations: 4 kB / 282.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.01184, allocations: 54.7 kB / 282.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.01222, allocations: 498.2 kB / 283.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.74e-05/0.01229, allocations: 58.55 kB / 283.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.01232, allocations: 24.84 kB / 283.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.01248, allocations: 55.89 kB / 283.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.0125, allocations: 46.5 kB / 283.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.0125, allocations: 0 / 283.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001382/0.01264, allocations: 89.52 kB / 283.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.01266, allocations: 51.41 kB / 283.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.01273, allocations: 122.6 kB / 283.6 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.01274, allocations: 37.69 kB / 283.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.01278, allocations: 95.86 kB / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.01281, allocations: 51.56 kB / 283.7 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.01285, allocations: 37.69 kB / 283.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.01293, allocations: 318.8 kB / 284.1 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.01295, allocations: 19.98 kB / 284.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.013, allocations: 62.94 kB / 284.2 MB, free: 6.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.547e-05/0.01308, allocations: 83.88 kB / 284.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01308, allocations: 0 / 284.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000109/0.01319, allocations: 101.6 kB / 284.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.0132, allocations: 12.03 kB / 284.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01321, allocations: 0 / 284.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.01322, allocations: 4 kB / 284.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.01329, allocations: 35.92 kB / 284.4 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.0133, allocations: 4 kB / 284.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.01333, allocations: 11.89 kB / 284.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01335, allocations: 8 kB / 284.4 MB, free: 6.055 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.498e-05/0.01341, allocations: 124.5 kB / 284.6 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.01344, allocations: 7.984 kB / 284.6 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.01359, allocations: 110.3 kB / 284.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01359, allocations: 0 / 284.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01359, allocations: 0 / 284.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.0136, allocations: 0 / 284.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.01383, allocations: 257.6 kB / 284.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01384, allocations: 0 / 284.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.01388, allocations: 23.98 kB / 284.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01388, allocations: 0 / 284.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.01389, allocations: 4 kB / 284.9 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01389, allocations: 11.92 kB / 285 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01389, allocations: 0 / 285 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.01399, allocations: 175.4 kB / 285.1 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.01401, allocations: 15.94 kB / 285.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.01402, allocations: 4 kB / 285.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.01407, allocations: 0 / 285.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.01409, allocations: 15.95 kB / 285.2 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.0141, allocations: 8 kB / 285.2 MB, free: 5.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.491e-05/0.01411, allocations: 16.84 kB / 285.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01411, allocations: 0 / 285.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01432, allocations: 71.75 kB / 285.3 MB, free: 5.168 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.0002048/0.01452, allocations: 152.4 kB / 285.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.01461, allocations: 65.06 kB / 285.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01462, allocations: 8 kB / 285.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.01464, allocations: 36.78 kB / 285.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.01485, allocations: 47.89 kB / 285.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.01538, allocations: 216.2 kB / 285.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.01541, allocations: 63.84 kB / 285.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.447e-05/0.01549, allocations: 28.89 kB / 285.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.0156, allocations: 87.34 kB / 285.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0156, allocations: 0 / 285.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of Templates: time 0.004279/0.01988, allocations: 2.994 MB / 288.9 MB, free: 1.473 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 -s gbode -gbm=radauIIA3 -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.593159027863294]