Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007951/0.0007951, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.00202, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007528/0.0007528, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001882, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8866/0.8866, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0753/0.9619, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.499e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006434/0.006449, allocations: 5.022 MB / 250.2 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.007274, allocations: 0.6424 MB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.007314, allocations: 0 / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.007442, allocations: 27.77 kB / 250.9 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.008632, allocations: 0.6145 MB / 251.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.008817, allocations: 87.86 kB / 251.6 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.00903, allocations: 187.2 kB / 251.8 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.742e-05/0.009057, allocations: 7.984 kB / 251.8 MB, free: 6.969 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.009979, allocations: 0.6081 MB / 252.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.01006, allocations: 47.83 kB / 252.4 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.01007, allocations: 4 kB / 252.4 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.01129, allocations: 0.8228 MB / 253.2 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.01134, allocations: 15.94 kB / 253.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.01138, allocations: 31.94 kB / 253.3 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.01173, allocations: 215.3 kB / 253.5 MB, free: 5.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.01173, allocations: 0 / 253.5 MB, free: 5.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01173, allocations: 0 / 253.5 MB, free: 5.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01174, allocations: 0 / 253.5 MB, free: 5.227 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.0003696/0.01211, allocations: 375.8 kB / 253.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.473e-05/0.01214, allocations: 8.625 kB / 253.9 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.01252, allocations: 141.8 kB / 254 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.01266, allocations: 133.7 kB / 254.1 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.01266, allocations: 4.375 kB / 254.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.01268, allocations: 8.375 kB / 254.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.01285, allocations: 197.2 kB / 254.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.01286, allocations: 0 / 254.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.01287, allocations: 12 kB / 254.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.01288, allocations: 0 / 254.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.01297, allocations: 66.69 kB / 254.4 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.01341, allocations: 494.1 kB / 254.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.0135, allocations: 58.53 kB / 255 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.01353, allocations: 24.86 kB / 255 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.01371, allocations: 64.17 kB / 255.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.01373, allocations: 38.56 kB / 255.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.01373, allocations: 0 / 255.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001456/0.01388, allocations: 93.47 kB / 255.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.0139, allocations: 51.41 kB / 255.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.01397, allocations: 114.7 kB / 255.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01399, allocations: 25.7 kB / 255.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.01403, allocations: 107.9 kB / 255.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.01406, allocations: 47.58 kB / 255.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.01411, allocations: 37.69 kB / 255.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.0142, allocations: 326.8 kB / 255.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.01422, allocations: 12 kB / 255.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.01427, allocations: 56.09 kB / 255.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.01437, allocations: 91.8 kB / 256 MB, free: 2.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01437, allocations: 4 kB / 256 MB, free: 2.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001265/0.01449, allocations: 101.5 kB / 256.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.0145, allocations: 7.938 kB / 256.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01451, allocations: 4 kB / 256.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.01452, allocations: 0 / 256.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.01462, allocations: 39.91 kB / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01463, allocations: 4 kB / 256.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.01468, allocations: 11.95 kB / 256.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.0147, allocations: 4 kB / 256.2 MB, free: 2.27 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 6.42e-05/0.01476, allocations: 124.5 kB / 256.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.01479, allocations: 20.14 kB / 256.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.01497, allocations: 106.3 kB / 256.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01497, allocations: 0 / 256.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.01497, allocations: 4 kB / 256.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.01497, allocations: 0 / 256.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.01526, allocations: 254.3 kB / 256.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01526, allocations: 0 / 256.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.01533, allocations: 31.98 kB / 256.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.01537, allocations: 27.88 kB / 256.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01537, allocations: 0 / 256.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.01537, allocations: 0 / 256.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01537, allocations: 4 kB / 256.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01538, allocations: 0 / 256.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.01549, allocations: 179.4 kB / 256.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.01551, allocations: 4 kB / 257 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.01559, allocations: 4 kB / 257 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.01561, allocations: 11.97 kB / 257 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.01562, allocations: 4 kB / 257 MB, free: 1.457 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.948e-05/0.01564, allocations: 12.8 kB / 257 MB, free: 1.441 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01564, allocations: 8 kB / 257 MB, free: 1.434 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.01592, allocations: 63.86 kB / 257.1 MB, free: 1.371 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.0002235/0.01614, allocations: 156.1 kB / 257.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01625, allocations: 72.69 kB / 257.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.01626, allocations: 8 kB / 257.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/0.0163, allocations: 32.84 kB / 257.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.0166, allocations: 90.09 kB / 257.4 MB, free: 1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.01897, allocations: 235.4 kB / 257.6 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.01901, allocations: 63.84 kB / 257.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.01913, allocations: 29.19 kB / 257.7 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.01927, allocations: 87.33 kB / 257.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01927, allocations: 4 kB / 257.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of Templates: time 0.005722/0.02499, allocations: 3.027 MB / 260.8 MB, free: 13.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.433805818669498]