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.001331/0.001331, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001523/0.001523, allocations: 168 kB / 25.69 MB, free: 8.441 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.9751/0.9751, allocations: 158.6 MB / 187.6 MB, free: 2.77 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.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 7.81e-07/7.81e-07, allocations: 3.938 kB / 251.6 MB, free: 7.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.149e-05, allocations: 2.312 kB / 251.6 MB, free: 7.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.008725/0.008736, allocations: 9.455 MB / 261.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.00985, allocations: 0.6344 MB / 261.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.01, allocations: 4 kB / 261.7 MB, free: 13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.01034, allocations: 91.3 kB / 261.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.01082, allocations: 333.9 kB / 262.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.01215, allocations: 0.6622 MB / 262.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008169/0.01296, allocations: 0.8753 MB / 263.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.01313, allocations: 74.72 kB / 263.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.01539, allocations: 1.313 MB / 265.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.01577, allocations: 239.3 kB / 265.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.01582, allocations: 28 kB / 265.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.01616, allocations: 187.6 kB / 265.5 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.01626, allocations: 107.6 kB / 265.6 MB, free: 9.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.0164, allocations: 143.7 kB / 265.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.01682, allocations: 378.9 kB / 266.1 MB, free: 8.594 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.01682, allocations: 0 / 266.1 MB, free: 8.594 MB / 250.7 MB Notification: Performance of FrontEnd: time 5e-07/0.01682, allocations: 4 kB / 266.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.01682, allocations: 0 / 266.1 MB, free: 8.59 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005738/0.0174, allocations: 0.5115 MB / 266.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.01743, allocations: 15.92 kB / 266.7 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.01772, allocations: 100.5 kB / 266.8 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.01799, allocations: 220.9 kB / 267 MB, free: 7.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.018, allocations: 21.02 kB / 267 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.01804, allocations: 28.38 kB / 267 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.01838, allocations: 491.4 kB / 267.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01839, allocations: 8.125 kB / 267.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.01841, allocations: 16.12 kB / 267.5 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.01842, allocations: 8 kB / 267.5 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.01854, allocations: 95.3 kB / 267.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.01959, allocations: 1.254 MB / 268.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.01974, allocations: 102.5 kB / 269 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.01978, allocations: 36.84 kB / 269 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.01984, allocations: 23.98 kB / 269 MB, free: 5.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.01987, allocations: 34.56 kB / 269.1 MB, free: 5.434 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.01987, allocations: 0 / 269.1 MB, free: 5.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.00151/0.02138, allocations: 0.7092 MB / 269.8 MB, free: 4.688 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.0214, allocations: 51.41 kB / 269.8 MB, free: 4.625 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.02153, allocations: 224.9 kB / 270 MB, free: 4.395 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.02155, allocations: 33.7 kB / 270.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.02162, allocations: 180.3 kB / 270.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.02168, allocations: 103.1 kB / 270.4 MB, free: 4.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.02175, allocations: 70 kB / 270.4 MB, free: 4 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.02183, allocations: 338.8 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.02187, allocations: 32.72 kB / 270.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.02196, allocations: 118.8 kB / 270.9 MB, free: 3.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.02212, allocations: 188 kB / 271.1 MB, free: 3.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.02213, allocations: 0 / 271.1 MB, free: 3.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002309/0.02236, allocations: 229.8 kB / 271.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.02237, allocations: 4 kB / 271.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.02238, allocations: 4 kB / 271.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.0226, allocations: 80.7 kB / 271.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.02277, allocations: 76.2 kB / 271.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006126/0.02339, allocations: 0.5757 MB / 272 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.02348, allocations: 15.94 kB / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.0235, allocations: 12 kB / 272.1 MB, free: 2.234 MB / 250.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 9.44e-05/0.0236, allocations: 128.6 kB / 272.2 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.02364, allocations: 31.97 kB / 272.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.02393, allocations: 268.8 kB / 272.5 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.02393, allocations: 4 kB / 272.5 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02394, allocations: 11.97 kB / 272.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002337/0.02417, allocations: 469.3 kB / 273 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.02463, allocations: 441.1 kB / 273.4 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02464, allocations: 4 kB / 273.4 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.02474, allocations: 39.97 kB / 273.4 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.02499, allocations: 96.75 kB / 273.5 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.02501, allocations: 11.94 kB / 273.5 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002509/0.02526, allocations: 0.564 MB / 274.1 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02526, allocations: 3.938 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.02555, allocations: 322.1 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.02558, allocations: 19.81 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.0256, allocations: 16.05 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.0257, allocations: 4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.02573, allocations: 19.91 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.02574, allocations: 15.98 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.85e-05/0.0258, allocations: 70.78 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0258, allocations: 0 / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.02605, allocations: 103.9 kB / 274.7 MB, free: 15.41 MB / 266.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.0001721/0.02622, allocations: 124.2 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.02646, allocations: 163.6 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.02646, allocations: 4 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.02657, allocations: 86.17 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.02698, allocations: 149.1 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.0279, allocations: 0.5759 MB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.02796, allocations: 92.56 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.02811, allocations: 54.86 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.02838, allocations: 173.1 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02838, allocations: 0 / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of Templates: time 0.009142/0.03752, allocations: 6.932 MB / 283 MB, free: 7.043 MB / 266.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 -s gbode -gbm=radauIIA3 -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","",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.782520805951208]