Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.002009/0.002009, allocations: 95.55 kB / 21.73 MB, free: 2.688 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.00256/0.00256, allocations: 163.2 kB / 25.03 MB, free: 8.414 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 1.559/1.559, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.322e-05, allocations: 6.312 kB / 250.4 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.03685/0.03688, allocations: 24.96 MB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.04137, allocations: 2.519 MB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.04158, allocations: 7.938 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006504/0.04224, allocations: 162.9 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007912/0.04303, allocations: 345.8 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.04579, allocations: 1.013 MB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.04697, allocations: 0.9027 MB / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.04716, allocations: 80.73 kB / 280.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005613/0.05277, allocations: 2.903 MB / 283.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.05334, allocations: 255.2 kB / 283.6 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.05342, allocations: 32 kB / 283.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.05408, allocations: 255.5 kB / 283.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.05424, allocations: 103.6 kB / 283.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.05448, allocations: 151.7 kB / 284.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.05546, allocations: 0.6037 MB / 284.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.05547, allocations: 4 kB / 284.7 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.05547, allocations: 0 / 284.7 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.05548, allocations: 3.984 kB / 284.7 MB, free: 5.375 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001179/0.05666, allocations: 0.6709 MB / 285.4 MB, free: 4.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.0567, allocations: 11.98 kB / 285.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.05719, allocations: 104.3 kB / 285.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.0577, allocations: 243.9 kB / 285.7 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.05773, allocations: 21.03 kB / 285.7 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.05781, allocations: 28.38 kB / 285.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.05867, allocations: 0.5818 MB / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.05869, allocations: 8.125 kB / 286.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.05874, allocations: 20.11 kB / 286.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.05875, allocations: 15.94 kB / 286.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.05914, allocations: 181.8 kB / 286.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.06184, allocations: 1.926 MB / 288.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.06225, allocations: 187.1 kB / 288.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.0624, allocations: 79.66 kB / 288.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.0625, allocations: 23.98 kB / 288.8 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.06255, allocations: 41.33 kB / 288.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.914e-06/0.06255, allocations: 0 / 288.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.002904/0.06546, allocations: 0.8962 MB / 289.7 MB, free: 36 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.06553, allocations: 55.41 kB / 289.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.06592, allocations: 328.2 kB / 290.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.06596, allocations: 33.7 kB / 290.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.06623, allocations: 247.3 kB / 290.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.06636, allocations: 111.1 kB / 290.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.06653, allocations: 87.69 kB / 290.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003871/0.06691, allocations: 0.5235 MB / 291.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.0671, allocations: 80.7 kB / 291.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.06741, allocations: 210 kB / 291.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.06795, allocations: 324.2 kB / 291.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.06795, allocations: 4 kB / 291.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008149/0.06877, allocations: 392.6 kB / 292.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.06879, allocations: 7.594 kB / 292.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.0688, allocations: 4 kB / 292.1 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.06931, allocations: 103.9 kB / 292.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.06958, allocations: 67.91 kB / 292.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008903/0.07047, allocations: 0.9404 MB / 293.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.07065, allocations: 8 kB / 293.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.0707, allocations: 16 kB / 293.2 MB, free: 12.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.07094, allocations: 196.5 kB / 293.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.07105, allocations: 35.86 kB / 293.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008195/0.07187, allocations: 419 kB / 293.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.07189, allocations: 11.92 kB / 293.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.07189, allocations: 4.031 kB / 293.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007713/0.07266, allocations: 0.554 MB / 294.4 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.07418, allocations: 0.7422 MB / 295.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.07418, allocations: 0 / 295.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.07435, allocations: 31.98 kB / 295.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005988/0.07495, allocations: 119.5 kB / 295.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.07497, allocations: 4 kB / 295.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008589/0.07583, allocations: 0.9132 MB / 296.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.07583, allocations: 0 / 296.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009568/0.07679, allocations: 0.5454 MB / 296.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.07686, allocations: 19.86 kB / 296.8 MB, free: 8.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.07692, allocations: 11.94 kB / 296.8 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.07713, allocations: 12.06 kB / 296.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.07718, allocations: 15.97 kB / 296.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.07721, allocations: 15.98 kB / 296.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.07748, allocations: 225.1 kB / 297.1 MB, free: 8.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07748, allocations: 0 / 297.1 MB, free: 8.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.07802, allocations: 115.9 kB / 297.2 MB, free: 8.121 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003525/0.07837, allocations: 147 kB / 297.3 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006584/0.07903, allocations: 270.4 kB / 297.6 MB, free: 7.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.07904, allocations: 4 kB / 297.6 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.07936, allocations: 129 kB / 297.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.08031, allocations: 163.6 kB / 297.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.08171, allocations: 0.5963 MB / 298.5 MB, free: 6.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.08192, allocations: 159.2 kB / 298.6 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.08216, allocations: 62.86 kB / 298.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.08224, allocations: 28.5 kB / 298.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of SimCode: time 1.133e-06/0.08224, allocations: 3.938 kB / 298.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of Templates: time 0.01487/0.09711, allocations: 6.415 MB / 305.1 MB, free: 132 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.9372445970075205]