Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001838/0.001838, allocations: 89.56 kB / 21.44 MB, free: 276 kB / 14.72 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.002105/0.002105, allocations: 162.1 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 298.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.365e-05, allocations: 6.281 kB / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01192/0.01195, allocations: 7.146 MB / 306.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.01303, allocations: 0.5763 MB / 306.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.01312, allocations: 0 / 306.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.0134, allocations: 27.72 kB / 306.7 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.01529, allocations: 0.6146 MB / 307.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.01561, allocations: 103.8 kB / 307.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.01593, allocations: 187.1 kB / 307.6 MB, free: 48 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.01598, allocations: 4 kB / 307.6 MB, free: 44 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.01744, allocations: 0.6471 MB / 308.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.01755, allocations: 47.77 kB / 308.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.01757, allocations: 15.94 kB / 308.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.01925, allocations: 0.8733 MB / 309.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.01933, allocations: 27.91 kB / 309.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.01941, allocations: 35.91 kB / 309.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.02004, allocations: 259.3 kB / 309.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.02005, allocations: 0 / 309.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.02005, allocations: 0 / 309.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.02006, allocations: 0 / 309.5 MB, free: 14.14 MB / 302.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.0007192/0.02077, allocations: 353.6 kB / 309.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.02082, allocations: 11.98 kB / 309.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.0213, allocations: 32.86 kB / 309.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.02167, allocations: 137.7 kB / 310 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.0217, allocations: 8.375 kB / 310 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.02172, allocations: 12.38 kB / 310 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.02212, allocations: 218.6 kB / 310.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.02213, allocations: 192 / 310.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.02215, allocations: 8.125 kB / 310.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.02216, allocations: 4 kB / 310.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.02238, allocations: 107.9 kB / 310.4 MB, free: 13.18 MB / 302.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.0008306/0.02321, allocations: 0.5399 MB / 310.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.0234, allocations: 82.48 kB / 311 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.02348, allocations: 36.83 kB / 311 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.0238, allocations: 68.19 kB / 311.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.02384, allocations: 38.56 kB / 311.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.02384, allocations: 0 / 311.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003791/0.02422, allocations: 125.6 kB / 311.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.02427, allocations: 51.41 kB / 311.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.02442, allocations: 125.7 kB / 311.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.02445, allocations: 29.7 kB / 311.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.02454, allocations: 99.94 kB / 311.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.0246, allocations: 51.56 kB / 311.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.02468, allocations: 37.7 kB / 311.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.02487, allocations: 326.8 kB / 311.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.02493, allocations: 23.98 kB / 312 MB, free: 11.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.02504, allocations: 75.84 kB / 312 MB, free: 11.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.02524, allocations: 109 kB / 312.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.02525, allocations: 4 kB / 312.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000246/0.02549, allocations: 138 kB / 312.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02551, allocations: 4 kB / 312.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02552, allocations: 4 kB / 312.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.02554, allocations: 0 / 312.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.02567, allocations: 31.98 kB / 312.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.02569, allocations: 7.969 kB / 312.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.02575, allocations: 11.95 kB / 312.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.02578, allocations: 8 kB / 312.4 MB, free: 11.02 MB / 302.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.0001329/0.02591, allocations: 129.7 kB / 312.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.02595, allocations: 12.08 kB / 312.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.02628, allocations: 146.5 kB / 312.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.02629, allocations: 0 / 312.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.02629, allocations: 0 / 312.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.02629, allocations: 0 / 312.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.02676, allocations: 326.1 kB / 313 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02677, allocations: 0 / 313 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.02685, allocations: 31.86 kB / 313 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.02686, allocations: 0 / 313 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.02687, allocations: 8 kB / 313 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02687, allocations: 4 kB / 313 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02687, allocations: 0 / 313 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.02712, allocations: 207.4 kB / 313.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.02717, allocations: 19.92 kB / 313.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.02719, allocations: 0 / 313.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.02729, allocations: 8 kB / 313.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.02732, allocations: 7.984 kB / 313.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.02734, allocations: 7.938 kB / 313.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.02741, allocations: 91.27 kB / 313.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 5e-08/0.02741, allocations: 0 / 313.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.02778, allocations: 71.8 kB / 313.4 MB, free: 9.906 MB / 302.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.0003335/0.02811, allocations: 159 kB / 313.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.02831, allocations: 83.97 kB / 313.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02831, allocations: 0 / 313.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.069e-05/0.02837, allocations: 35.92 kB / 313.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.02882, allocations: 48.17 kB / 313.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.02932, allocations: 209.4 kB / 313.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.95e-05/0.02942, allocations: 87.52 kB / 314 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.02954, allocations: 32.88 kB / 314 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.0296, allocations: 24.48 kB / 314.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.0296, allocations: 3.938 kB / 314.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of Templates: time 0.00715/0.03675, allocations: 2.457 MB / 316.5 MB, free: 6.719 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.611390504986048]