Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 47.92 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007316/0.2597, allocations: 4.573 MB / 428.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.2606, allocations: 0.5725 MB / 428.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.2607, allocations: 0 / 428.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.2609, allocations: 35.77 kB / 429 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.2625, allocations: 0.5995 MB / 429.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.2627, allocations: 99.53 kB / 429.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.263, allocations: 175.3 kB / 429.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.263, allocations: 15.92 kB / 429.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.2641, allocations: 0.6265 MB / 430.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.2642, allocations: 51.77 kB / 430.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2643, allocations: 4 kB / 430.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.2657, allocations: 0.8813 MB / 431.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.2658, allocations: 23.91 kB / 431.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.2658, allocations: 35.86 kB / 431.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.2662, allocations: 231.1 kB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.2662, allocations: 7.938 kB / 431.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2662, allocations: 4 kB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2662, allocations: 0 / 431.7 MB, free: 6.508 MB / 334.1 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.0005177/0.2668, allocations: 353.6 kB / 432.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2668, allocations: 12.02 kB / 432.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.2672, allocations: 28.88 kB / 432.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.2675, allocations: 142.4 kB / 432.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2675, allocations: 8.375 kB / 432.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2675, allocations: 7.938 kB / 432.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.2678, allocations: 214.1 kB / 432.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2678, allocations: 0 / 432.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.2678, allocations: 11.98 kB / 432.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2678, allocations: 4 kB / 432.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.268, allocations: 103.9 kB / 432.6 MB, free: 5.551 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.2687, allocations: 0.5437 MB / 433.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2689, allocations: 82.48 kB / 433.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.269, allocations: 32.84 kB / 433.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.2693, allocations: 64.19 kB / 433.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2693, allocations: 34.5 kB / 433.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.2693, allocations: 4 kB / 433.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000317/0.2696, allocations: 129.6 kB / 433.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.2697, allocations: 55.39 kB / 433.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2698, allocations: 121.7 kB / 433.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2698, allocations: 29.7 kB / 433.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.2699, allocations: 103.9 kB / 433.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.2699, allocations: 43.58 kB / 433.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.27, allocations: 37.7 kB / 433.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2701, allocations: 318.8 kB / 434.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.2702, allocations: 23.98 kB / 434.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2703, allocations: 73.14 kB / 434.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2704, allocations: 109.1 kB / 434.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2704, allocations: 0 / 434.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002269/0.2706, allocations: 145 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2706, allocations: 4 kB / 434.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2707, allocations: 8.156 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2707, allocations: 0 / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2708, allocations: 31.98 kB / 434.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2708, allocations: 3.938 kB / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.2709, allocations: 11.95 kB / 434.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2709, allocations: 8 kB / 434.6 MB, free: 3.406 MB / 334.1 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 0.000102/0.271, allocations: 129.7 kB / 434.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.271, allocations: 7.953 kB / 434.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.2713, allocations: 146.3 kB / 434.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2713, allocations: 7.875 kB / 434.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2713, allocations: 0 / 434.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2713, allocations: 4 kB / 434.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.2718, allocations: 318.2 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2718, allocations: 4 kB / 435.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.2719, allocations: 23.94 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2719, allocations: 7.922 kB / 435.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2719, allocations: 4 kB / 435.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2719, allocations: 3.938 kB / 435.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2719, allocations: 4 kB / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.2721, allocations: 203.5 kB / 435.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.2722, allocations: 19.88 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2722, allocations: 7.938 kB / 435.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.2723, allocations: 8 kB / 435.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.2723, allocations: 11.97 kB / 435.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.2723, allocations: 4 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.2724, allocations: 95.2 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2724, allocations: 0 / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.2727, allocations: 59.88 kB / 435.6 MB, free: 2.289 MB / 334.1 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.0002637/0.273, allocations: 159 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.2732, allocations: 78.16 kB / 435.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2732, allocations: 4.312 kB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.2732, allocations: 39.92 kB / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2736, allocations: 43.94 kB / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.2741, allocations: 265.9 kB / 436.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.2742, allocations: 75.77 kB / 436.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.2743, allocations: 23.44 kB / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2743, allocations: 0 / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Templates: time 0.004425/0.2787, allocations: 2.183 MB / 438.5 MB, free: 15.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.15332890721038]