Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.0009758/0.0009758, allocations: 75.77 kB / 22.46 MB, free: 2.09 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.001045/0.001045, allocations: 160.1 kB / 25.75 MB, free: 8.945 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.8998/0.8998, allocations: 158.6 MB / 187.5 MB, free: 2.492 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.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 251.1 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.735e-05, allocations: 6.109 kB / 251.1 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01196/0.01197, allocations: 5.577 MB / 256.7 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00564/0.01761, allocations: 1.445 MB / 258.1 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.018, allocations: 15.88 kB / 258.1 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.01843, allocations: 194.3 kB / 258.3 MB, free: 496 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006695/0.0191, allocations: 420.3 kB / 258.7 MB, free: 72 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.02262, allocations: 263.5 kB / 259 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.02392, allocations: 1.413 MB / 260.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.02432, allocations: 271.6 kB / 260.7 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.02512, allocations: 0.7836 MB / 261.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.02877, allocations: 442.7 kB / 261.9 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.02893, allocations: 120 kB / 262 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.02909, allocations: 124 kB / 262.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.02927, allocations: 263.1 kB / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.02968, allocations: 455 kB / 262.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.03056, allocations: 0.9108 MB / 263.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.03057, allocations: 0 / 263.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.03057, allocations: 0 / 263.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.03058, allocations: 0 / 263.7 MB, free: 11.03 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004973/0.03555, allocations: 1.544 MB / 265.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.03559, allocations: 15.98 kB / 265.3 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.03584, allocations: 184.2 kB / 265.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/0.03662, allocations: 0.5648 MB / 266.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.03683, allocations: 305.9 kB / 266.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.03694, allocations: 88.38 kB / 266.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004511/0.04145, allocations: 1.766 MB / 268.2 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.04147, allocations: 192 / 268.2 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.04153, allocations: 40.12 kB / 268.2 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.04155, allocations: 16 kB / 268.3 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.04225, allocations: 339.7 kB / 268.6 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006006/0.04826, allocations: 1.812 MB / 270.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/0.05195, allocations: 0.5702 MB / 271 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.05238, allocations: 201.5 kB / 271.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.05243, allocations: 24.64 kB / 271.2 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.05248, allocations: 51.91 kB / 271.2 MB, free: 2.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.305e-06/0.05248, allocations: 0 / 271.2 MB, free: 2.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001433/0.05391, allocations: 0.7299 MB / 272 MB, free: 2.184 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003538/0.05427, allocations: 0.9489 MB / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.05489, allocations: 0.7142 MB / 273.6 MB, free: 280 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.05493, allocations: 41.7 kB / 273.7 MB, free: 232 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.05518, allocations: 483.6 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.05532, allocations: 253.6 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.05563, allocations: 168.3 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.05575, allocations: 0.5043 MB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.05601, allocations: 211 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.05667, allocations: 1.496 MB / 276.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.05716, allocations: 470 kB / 277.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.05717, allocations: 0 / 277.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001113/0.05828, allocations: 0.8255 MB / 278.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.05832, allocations: 85.11 kB / 278.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.05833, allocations: 4 kB / 278.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.05856, allocations: 118.2 kB / 278.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.05889, allocations: 152 kB / 278.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/0.06257, allocations: 8.907 MB / 287.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.06292, allocations: 79.83 kB / 287.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.06295, allocations: 31.94 kB / 287.4 MB, free: 1.277 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.06315, allocations: 216.5 kB / 287.6 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.06326, allocations: 123.4 kB / 287.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.06334, allocations: 92.02 kB / 287.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.06335, allocations: 8 kB / 287.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.06335, allocations: 3.984 kB / 287.9 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006161/0.06397, allocations: 0.7696 MB / 288.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.06534, allocations: 1.329 MB / 290 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.06535, allocations: 0 / 290 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.0657, allocations: 147.8 kB / 290.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.06578, allocations: 27.67 kB / 290.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.0658, allocations: 15.98 kB / 290.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008971/0.0667, allocations: 1.768 MB / 291.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0667, allocations: 0 / 291.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.06754, allocations: 0.7762 MB / 292.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.06775, allocations: 179.1 kB / 292.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.06782, allocations: 20 kB / 292.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.06811, allocations: 44 kB / 292.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.06817, allocations: 40.58 kB / 293 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.0682, allocations: 19.98 kB / 293 MB, free: 11.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.06856, allocations: 462.9 kB / 293.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06856, allocations: 0 / 293.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004684/0.06903, allocations: 303.7 kB / 293.7 MB, free: 10.64 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.06915, allocations: 123.1 kB / 293.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.07029, allocations: 1.528 MB / 295.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.07029, allocations: 4 kB / 295.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.07061, allocations: 374.4 kB / 295.7 MB, free: 8.441 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.07126, allocations: 286.8 kB / 296 MB, free: 8.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.07328, allocations: 1.532 MB / 297.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.07339, allocations: 177.3 kB / 297.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000277/0.07367, allocations: 115 kB / 297.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.07381, allocations: 80.48 kB / 297.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.07381, allocations: 0 / 297.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of Templates: time 0.01884/0.09265, allocations: 18.74 MB / 316.7 MB, free: 3.473 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.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: 3.3702429169788957]