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.001496/0.001496, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001167/0.001167, allocations: 158.9 kB / 25.75 MB, free: 8.965 MB / 18.57 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 0.9962/0.9962, allocations: 158.6 MB / 187.5 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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 1.853e-06/1.853e-06, allocations: 0 / 251.1 MB, free: 7.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.027e-05, allocations: 10.25 kB / 251.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01131/0.01134, allocations: 7.767 MB / 258.9 MB, free: 104 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.01232, allocations: 0.6385 MB / 259.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.01242, allocations: 0 / 259.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.01284, allocations: 27.83 kB / 259.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.01462, allocations: 0.6185 MB / 260.1 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.01487, allocations: 91.78 kB / 260.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.01513, allocations: 191.1 kB / 260.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.01518, allocations: 4 kB / 260.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.0163, allocations: 0.6509 MB / 261.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.01638, allocations: 43.88 kB / 261.1 MB, free: 13.83 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.0164, allocations: 7.938 kB / 261.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.0177, allocations: 0.8733 MB / 262 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.01776, allocations: 23.91 kB / 262 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.01782, allocations: 39.91 kB / 262.1 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.01827, allocations: 227.4 kB / 262.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01828, allocations: 4 kB / 262.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01828, allocations: 0 / 262.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.01828, allocations: 0 / 262.3 MB, free: 12.66 MB / 250.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.0005369/0.01882, allocations: 451.9 kB / 262.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.01887, allocations: 15.98 kB / 262.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.01934, allocations: 52.67 kB / 262.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.01955, allocations: 148.4 kB / 262.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.01957, allocations: 8.375 kB / 262.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.01959, allocations: 8.375 kB / 262.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.01986, allocations: 209.9 kB / 263.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01986, allocations: 4.188 kB / 263.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.01989, allocations: 8.125 kB / 263.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.0199, allocations: 4 kB / 263.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.02005, allocations: 75.86 kB / 263.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.02074, allocations: 0.7228 MB / 264 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.0209, allocations: 94.81 kB / 264.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.02096, allocations: 31.67 kB / 264.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.0212, allocations: 59.95 kB / 264.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.02123, allocations: 37.39 kB / 264.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.02123, allocations: 0 / 264.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003063/0.02154, allocations: 113.9 kB / 264.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.02157, allocations: 55.41 kB / 264.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.02168, allocations: 181.8 kB / 264.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.0217, allocations: 25.7 kB / 264.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.02177, allocations: 162.5 kB / 264.7 MB, free: 10 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.02181, allocations: 39.66 kB / 264.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.02186, allocations: 39.36 kB / 264.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.02201, allocations: 0.4961 MB / 265.3 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.02206, allocations: 23.98 kB / 265.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.02214, allocations: 74.11 kB / 265.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.02228, allocations: 106 kB / 265.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.02228, allocations: 4 kB / 265.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002236/0.02251, allocations: 141.4 kB / 265.6 MB, free: 9.012 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.02252, allocations: 4 kB / 265.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.02253, allocations: 4 kB / 265.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.02254, allocations: 3.938 kB / 265.6 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.02266, allocations: 31.98 kB / 265.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.02267, allocations: 3.938 kB / 265.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.02273, allocations: 15.89 kB / 265.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.02275, allocations: 8 kB / 265.7 MB, free: 8.941 MB / 250.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 9.438e-05/0.02284, allocations: 168.5 kB / 265.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.02289, allocations: 16.05 kB / 265.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.02316, allocations: 126.3 kB / 266 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.02316, allocations: 4 kB / 266 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.02317, allocations: 0 / 266 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02317, allocations: 3.984 kB / 266 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.02361, allocations: 373.3 kB / 266.4 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02361, allocations: 0 / 266.4 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.02369, allocations: 27.94 kB / 266.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.02369, allocations: 0 / 266.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.0237, allocations: 7.984 kB / 266.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.02371, allocations: 4 kB / 266.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02371, allocations: 0 / 266.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.02393, allocations: 251.8 kB / 266.7 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.02397, allocations: 19.88 kB / 266.7 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.02399, allocations: 4 kB / 266.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.02408, allocations: 4 kB / 266.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.02411, allocations: 11.97 kB / 266.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.02412, allocations: 8 kB / 266.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.02419, allocations: 139.1 kB / 266.8 MB, free: 7.719 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02419, allocations: 0 / 266.8 MB, free: 7.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000371/0.02456, allocations: 67.83 kB / 266.9 MB, free: 7.652 MB / 250.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.0002965/0.02485, allocations: 163 kB / 267.1 MB, free: 7.484 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.02505, allocations: 87.33 kB / 267.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02505, allocations: 0 / 267.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.02511, allocations: 43.61 kB / 267.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.02555, allocations: 55.44 kB / 267.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.02647, allocations: 217.8 kB / 267.5 MB, free: 7.062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.02653, allocations: 67.8 kB / 267.5 MB, free: 6.977 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.02667, allocations: 24.91 kB / 267.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.02673, allocations: 28.47 kB / 267.6 MB, free: 6.922 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02673, allocations: 4 kB / 267.6 MB, free: 6.918 MB / 250.7 MB Notification: Performance of Templates: time 0.006551/0.03328, allocations: 2.555 MB / 270.1 MB, free: 4.387 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] 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","",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.86305565899238]