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.000988/0.000988, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002392, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.000887/0.000887, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009636/0.001851, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8796/0.8796, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1756/1.055, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] 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 1.253e-06/1.253e-06, allocations: 0 / 239.7 MB, free: 6.398 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.626e-05, allocations: 4.531 kB / 239.7 MB, free: 6.395 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007034/0.00706, allocations: 4.951 MB / 244.7 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.007885, allocations: 0.6404 MB / 245.3 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.007931, allocations: 5.406 kB / 245.3 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.008125, allocations: 23.78 kB / 245.3 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.009637, allocations: 0.6023 MB / 245.9 MB, free: 164 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.009862, allocations: 93.03 kB / 246 MB, free: 72 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.01014, allocations: 179.4 kB / 246.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.01018, allocations: 8.891 kB / 246.2 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.01119, allocations: 0.6181 MB / 246.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.01127, allocations: 39.89 kB / 246.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.01129, allocations: 4 kB / 246.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.01258, allocations: 0.7876 MB / 247.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.01264, allocations: 15.94 kB / 247.7 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.01268, allocations: 27.94 kB / 247.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.01308, allocations: 215.3 kB / 247.9 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.01309, allocations: 7.938 kB / 247.9 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0131, allocations: 0 / 247.9 MB, free: 14.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.01311, allocations: 0 / 247.9 MB, free: 14.18 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.0004447/0.01355, allocations: 359.9 kB / 248.3 MB, free: 13.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.01359, allocations: 12.03 kB / 248.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.01403, allocations: 137.8 kB / 248.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.01421, allocations: 133.7 kB / 248.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.01422, allocations: 8.375 kB / 248.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.01424, allocations: 4.375 kB / 248.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.01444, allocations: 213.1 kB / 248.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.01445, allocations: 4 kB / 248.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.01446, allocations: 0 / 248.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.01447, allocations: 4 kB / 248.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.01457, allocations: 58.7 kB / 248.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.01506, allocations: 494.2 kB / 249.3 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.01516, allocations: 62.42 kB / 249.4 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.01519, allocations: 20.84 kB / 249.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.01539, allocations: 63.94 kB / 249.5 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.01542, allocations: 42.48 kB / 249.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 3.537e-06/0.01542, allocations: 3.984 kB / 249.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001647/0.01559, allocations: 85.61 kB / 249.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.01561, allocations: 51.41 kB / 249.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.01569, allocations: 126.6 kB / 249.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.01571, allocations: 29.7 kB / 249.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.01575, allocations: 96.03 kB / 249.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.01579, allocations: 51.53 kB / 249.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.01584, allocations: 37.69 kB / 250 MB, free: 11.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.01592, allocations: 322.8 kB / 250.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.01595, allocations: 15.98 kB / 250.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.016, allocations: 63.31 kB / 250.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.01609, allocations: 91.8 kB / 250.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01609, allocations: 0 / 250.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001341/0.01623, allocations: 97.56 kB / 250.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01624, allocations: 4 kB / 250.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01625, allocations: 4 kB / 250.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01626, allocations: 0 / 250.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01638, allocations: 39.92 kB / 250.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01638, allocations: 7.984 kB / 250.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.01643, allocations: 11.89 kB / 250.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01645, allocations: 8 kB / 250.6 MB, free: 11.23 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 7.472e-05/0.01652, allocations: 120.6 kB / 250.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.01656, allocations: 16.11 kB / 250.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.01676, allocations: 98.34 kB / 250.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01677, allocations: 7.984 kB / 250.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01677, allocations: 4 kB / 250.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01677, allocations: 0 / 250.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.01709, allocations: 254.6 kB / 251.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.0171, allocations: 0 / 251.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.01717, allocations: 27.98 kB / 251.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.0172, allocations: 15.94 kB / 251.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01721, allocations: 4 kB / 251.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01721, allocations: 8 kB / 251.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01722, allocations: 3.938 kB / 251.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01722, allocations: 0 / 251.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.01735, allocations: 174.2 kB / 251.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.01737, allocations: 8 kB / 251.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.01745, allocations: 0 / 251.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.01747, allocations: 11.97 kB / 251.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.01748, allocations: 11.98 kB / 251.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.13e-05/0.0175, allocations: 12.86 kB / 251.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0175, allocations: 4 kB / 251.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.01783, allocations: 59.86 kB / 251.5 MB, free: 10.34 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.0002824/0.01811, allocations: 136.2 kB / 251.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.01824, allocations: 80.69 kB / 251.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.01825, allocations: 0 / 251.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.0183, allocations: 40.83 kB / 251.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.01864, allocations: 90.05 kB / 251.8 MB, free: 9.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.02104, allocations: 243.2 kB / 252 MB, free: 9.719 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.703e-05/0.02109, allocations: 63.84 kB / 252.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.02122, allocations: 37.11 kB / 252.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.02137, allocations: 95.31 kB / 252.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of SimCode: time 1.272e-06/0.02137, allocations: 0 / 252.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of Templates: time 0.005755/0.02713, allocations: 2.932 MB / 255.2 MB, free: 6.621 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5719406194984913]