Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 81.81 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009554/0.0009554, allocations: 163.8 kB / 24.82 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9153/0.9153, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.348e-05, allocations: 9.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006268/0.006281, allocations: 4.907 MB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.006999, allocations: 0.6385 MB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.007037, allocations: 0 / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.007176, allocations: 27.78 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.008644, allocations: 0.6302 MB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.008815, allocations: 87.84 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.009013, allocations: 187.2 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.607e-05/0.009039, allocations: 11.92 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.009969, allocations: 0.6509 MB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.01004, allocations: 39.89 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.01005, allocations: 8 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.01127, allocations: 0.9162 MB / 281.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.01131, allocations: 23.86 kB / 281.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.01136, allocations: 35.91 kB / 281.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.01172, allocations: 247.2 kB / 281.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.01172, allocations: 0 / 281.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01172, allocations: 0 / 281.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.01173, allocations: 4 kB / 281.7 MB, free: 8.789 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.0003708/0.0121, allocations: 459.8 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.01213, allocations: 11.98 kB / 282.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.0125, allocations: 60.67 kB / 282.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.01263, allocations: 132.5 kB / 282.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.01264, allocations: 4.375 kB / 282.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.01266, allocations: 16.36 kB / 282.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.01309, allocations: 209.2 kB / 282.6 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.01309, allocations: 0 / 282.6 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.01311, allocations: 8 kB / 282.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.01311, allocations: 4 kB / 282.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.01322, allocations: 62.98 kB / 282.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.01372, allocations: 0.7078 MB / 283.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.01382, allocations: 74.95 kB / 283.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.01386, allocations: 23.67 kB / 283.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.01405, allocations: 71.94 kB / 283.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.01407, allocations: 37.39 kB / 283.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.01407, allocations: 4 kB / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001869/0.01426, allocations: 105.8 kB / 283.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.01428, allocations: 55.41 kB / 283.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.01437, allocations: 185.8 kB / 283.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01439, allocations: 25.7 kB / 283.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.01444, allocations: 146.7 kB / 284.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.01447, allocations: 47.59 kB / 284.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.01452, allocations: 43.34 kB / 284.2 MB, free: 6.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.01466, allocations: 0.4961 MB / 284.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.01468, allocations: 11.98 kB / 284.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.01474, allocations: 74.09 kB / 284.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.866e-05/0.01484, allocations: 102 kB / 284.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01484, allocations: 0 / 284.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001628/0.01501, allocations: 129.1 kB / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01502, allocations: 12.14 kB / 285 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.01502, allocations: 0 / 285 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.01503, allocations: 4 kB / 285 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.01513, allocations: 27.98 kB / 285 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01513, allocations: 11.88 kB / 285 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.01519, allocations: 15.89 kB / 285 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.0152, allocations: 4 kB / 285.1 MB, free: 5.164 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 7.692e-05/0.01528, allocations: 164.5 kB / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.01531, allocations: 15.95 kB / 285.2 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.01552, allocations: 126.3 kB / 285.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01552, allocations: 0 / 285.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01552, allocations: 0 / 285.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01552, allocations: 4 kB / 285.4 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.01587, allocations: 349.9 kB / 285.7 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01587, allocations: 0 / 285.7 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.01594, allocations: 27.92 kB / 285.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.01594, allocations: 0 / 285.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.01594, allocations: 4 kB / 285.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01594, allocations: 0 / 285.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01595, allocations: 4 kB / 285.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.01611, allocations: 243.8 kB / 286 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.01615, allocations: 19.94 kB / 286 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01616, allocations: 3.984 kB / 286 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.01624, allocations: 0 / 286 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.01626, allocations: 15.92 kB / 286 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.01627, allocations: 4 kB / 286 MB, free: 4.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.01632, allocations: 139.1 kB / 286.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01632, allocations: 0 / 286.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.01666, allocations: 67.77 kB / 286.2 MB, free: 3.93 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.0002198/0.01687, allocations: 178.9 kB / 286.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.017, allocations: 67.72 kB / 286.5 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.017, allocations: 4.062 kB / 286.5 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.01704, allocations: 43.58 kB / 286.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.01742, allocations: 51.88 kB / 286.6 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.01804, allocations: 214.4 kB / 286.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.01809, allocations: 63.84 kB / 286.8 MB, free: 3.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.0182, allocations: 41.11 kB / 286.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.01834, allocations: 114.2 kB / 287 MB, free: 3.105 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01834, allocations: 0 / 287 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Templates: time 0.005804/0.02414, allocations: 2.97 MB / 289.9 MB, free: 172 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.73068070365116]