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.0007851/0.0007851, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002083, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001273/0.001273, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001782/0.003055, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9481/0.9481, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1599/1.108, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.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.503e-06/1.503e-06, allocations: 3.938 kB / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.834e-05, allocations: 6.312 kB / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007857/0.007886, allocations: 7.833 MB / 229.6 MB, free: 8.316 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.008537, allocations: 0.6462 MB / 230.3 MB, free: 7.668 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.008591, allocations: 0 / 230.3 MB, free: 7.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.008758, allocations: 19.84 kB / 230.3 MB, free: 7.648 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.01003, allocations: 0.599 MB / 230.9 MB, free: 7.047 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.01024, allocations: 95.81 kB / 231 MB, free: 6.953 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.01046, allocations: 187.2 kB / 231.2 MB, free: 6.77 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.0105, allocations: 7.938 kB / 231.2 MB, free: 6.762 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.01127, allocations: 0.6043 MB / 231.8 MB, free: 6.156 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.01133, allocations: 43.83 kB / 231.8 MB, free: 6.113 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.01135, allocations: 7.938 kB / 231.9 MB, free: 6.105 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.01235, allocations: 0.7955 MB / 232.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.0124, allocations: 12 kB / 232.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.01244, allocations: 27.94 kB / 232.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.01278, allocations: 211.3 kB / 232.9 MB, free: 5.062 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.0128, allocations: 3.984 kB / 232.9 MB, free: 5.059 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0128, allocations: 0 / 232.9 MB, free: 5.059 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.01281, allocations: 0 / 232.9 MB, free: 5.059 MB / 234.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.0004302/0.01324, allocations: 359.9 kB / 233.2 MB, free: 4.684 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.01327, allocations: 8.031 kB / 233.3 MB, free: 4.676 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.01359, allocations: 141.8 kB / 233.4 MB, free: 4.52 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.01374, allocations: 141.6 kB / 233.5 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.01375, allocations: 8.375 kB / 233.5 MB, free: 4.348 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.01377, allocations: 4.375 kB / 233.5 MB, free: 4.344 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.01394, allocations: 197.4 kB / 233.7 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.01395, allocations: 192 / 233.7 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.01396, allocations: 8.125 kB / 233.7 MB, free: 4.105 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01397, allocations: 4 kB / 233.8 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.01405, allocations: 66.7 kB / 233.8 MB, free: 4.035 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.01453, allocations: 0.4903 MB / 234.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.01462, allocations: 62.44 kB / 234.4 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.01465, allocations: 32.83 kB / 234.4 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.01484, allocations: 51.95 kB / 234.4 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.01486, allocations: 42.55 kB / 234.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.01486, allocations: 0 / 234.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001401/0.015, allocations: 77.92 kB / 234.6 MB, free: 3.227 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.01503, allocations: 55.34 kB / 234.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.0151, allocations: 130.7 kB / 234.7 MB, free: 3.02 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.01512, allocations: 25.7 kB / 234.8 MB, free: 2.988 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.01517, allocations: 103.8 kB / 234.9 MB, free: 2.883 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.0152, allocations: 51.62 kB / 234.9 MB, free: 2.832 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.01524, allocations: 29.69 kB / 235 MB, free: 2.797 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.01533, allocations: 322.8 kB / 235.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.01535, allocations: 15.98 kB / 235.3 MB, free: 2.457 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.01539, allocations: 56.11 kB / 235.3 MB, free: 2.387 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/0.01547, allocations: 83.88 kB / 235.4 MB, free: 2.285 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01547, allocations: 0 / 235.4 MB, free: 2.285 MB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001/0.01557, allocations: 107.4 kB / 235.5 MB, free: 2.176 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01558, allocations: 4 kB / 235.5 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01559, allocations: 4 kB / 235.5 MB, free: 2.168 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.0156, allocations: 4.156 kB / 235.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.01568, allocations: 39.98 kB / 235.6 MB, free: 2.125 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.01569, allocations: 0 / 235.6 MB, free: 2.125 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.01572, allocations: 15.89 kB / 235.6 MB, free: 2.109 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01574, allocations: 4 kB / 235.6 MB, free: 2.105 MB / 234.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 6.485e-05/0.0158, allocations: 124.6 kB / 235.7 MB, free: 1.973 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.01583, allocations: 11.94 kB / 235.7 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.01599, allocations: 114.2 kB / 235.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.016, allocations: 11.94 kB / 235.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.016, allocations: 0 / 235.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.016, allocations: 0 / 235.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.01626, allocations: 246.7 kB / 236.1 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01626, allocations: 3.938 kB / 236.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.01632, allocations: 35.92 kB / 236.1 MB, free: 1.527 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.01634, allocations: 23.86 kB / 236.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01634, allocations: 0 / 236.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.01635, allocations: 4 kB / 236.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01635, allocations: 0 / 236.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01635, allocations: 4 kB / 236.2 MB, free: 1.496 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.01647, allocations: 173.5 kB / 236.3 MB, free: 1.312 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.01648, allocations: 0 / 236.3 MB, free: 1.312 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.01654, allocations: 8 kB / 236.3 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.01655, allocations: 7.984 kB / 236.3 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01656, allocations: 4 kB / 236.4 MB, free: 1.293 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.01658, allocations: 24.77 kB / 236.4 MB, free: 1.266 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01658, allocations: 0 / 236.4 MB, free: 1.266 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.01679, allocations: 63.83 kB / 236.4 MB, free: 1.203 MB / 234.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.0002038/0.017, allocations: 144.3 kB / 236.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.01709, allocations: 64.77 kB / 236.6 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.0171, allocations: 4 kB / 236.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.01712, allocations: 36.22 kB / 236.7 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01736, allocations: 63.86 kB / 236.7 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.01892, allocations: 238.5 kB / 237 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.01895, allocations: 63.84 kB / 237 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 9.335e-05/0.01905, allocations: 37.11 kB / 237.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01916, allocations: 87.34 kB / 237.2 MB, free: 432 kB / 234.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01916, allocations: 0 / 237.2 MB, free: 432 kB / 234.7 MB Notification: Performance of Templates: time 0.004517/0.02367, allocations: 2.97 MB / 240.1 MB, free: 13.46 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 -ignoreHideResult -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.5098772598430514]