Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001316/0.001316, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001388/0.001388, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9811/0.9811, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 274.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.204e-05, allocations: 2.312 kB / 274.2 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01182/0.01184, allocations: 5.507 MB / 279.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.01759, allocations: 1.431 MB / 281.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.01805, allocations: 11.94 kB / 281.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.0185, allocations: 194.3 kB / 281.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007304/0.01923, allocations: 424.3 kB / 281.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.02276, allocations: 263.5 kB / 282 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.02413, allocations: 1.42 MB / 283.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.02452, allocations: 267.6 kB / 283.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004031/0.02855, allocations: 0.7874 MB / 284.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.02918, allocations: 438.7 kB / 284.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.02934, allocations: 120 kB / 285 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.02951, allocations: 120 kB / 285.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.02979, allocations: 263.1 kB / 285.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.03022, allocations: 455 kB / 285.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008849/0.0311, allocations: 0.8992 MB / 286.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.03111, allocations: 4 kB / 286.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.03111, allocations: 0 / 286.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.03112, allocations: 0 / 286.7 MB, free: 7.898 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005222/0.03635, allocations: 1.54 MB / 288.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.03638, allocations: 8.031 kB / 288.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.03663, allocations: 192.2 kB / 288.5 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.04036, allocations: 0.5433 MB / 289 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.04059, allocations: 301.9 kB / 289.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.0407, allocations: 88.33 kB / 289.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.04192, allocations: 1.719 MB / 291.1 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.04194, allocations: 192 / 291.1 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.042, allocations: 36.12 kB / 291.2 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.04201, allocations: 20 kB / 291.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.04248, allocations: 273.7 kB / 291.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00585/0.04833, allocations: 1.7 MB / 293.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.05288, allocations: 0.5362 MB / 293.7 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.05321, allocations: 178.3 kB / 293.8 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.05326, allocations: 16.66 kB / 293.9 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/0.05333, allocations: 53.91 kB / 293.9 MB, free: 132 kB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.435e-06/0.05333, allocations: 0 / 293.9 MB, free: 132 kB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001285/0.05461, allocations: 0.6564 MB / 294.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003128/0.05493, allocations: 0.9528 MB / 295.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.05556, allocations: 0.6826 MB / 296.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.05562, allocations: 45.7 kB / 296.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.05607, allocations: 0.4915 MB / 296.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.05625, allocations: 265.6 kB / 297 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.05647, allocations: 176.1 kB / 297.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.05661, allocations: 0.4964 MB / 297.7 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.05684, allocations: 183 kB / 297.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.05764, allocations: 1.469 MB / 299.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.05821, allocations: 406 kB / 299.7 MB, free: 9.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.05821, allocations: 4 kB / 299.7 MB, free: 9.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00073/0.05894, allocations: 0.7553 MB / 300.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.059, allocations: 89.09 kB / 300.6 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.05901, allocations: 0 / 300.6 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.0592, allocations: 118.3 kB / 300.7 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.05956, allocations: 147.8 kB / 300.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/0.0636, allocations: 8.787 MB / 309.6 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.06405, allocations: 87.48 kB / 309.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.06408, allocations: 16 kB / 309.7 MB, free: 14.89 MB / 298.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.0002036/0.06428, allocations: 216.4 kB / 309.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.06441, allocations: 119.4 kB / 310 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.0645, allocations: 99.98 kB / 310.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.06451, allocations: 8 kB / 310.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.06452, allocations: 0 / 310.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005331/0.06505, allocations: 0.7267 MB / 310.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.06634, allocations: 1.181 MB / 312.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.06635, allocations: 4 kB / 312.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.06671, allocations: 151.8 kB / 312.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-05/0.06678, allocations: 27.61 kB / 312.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.06681, allocations: 15.98 kB / 312.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009337/0.06774, allocations: 1.745 MB / 314 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.06774, allocations: 0 / 314 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.06844, allocations: 0.6983 MB / 314.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.06868, allocations: 179.1 kB / 314.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.06875, allocations: 20 kB / 314.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.06907, allocations: 35.97 kB / 314.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.06914, allocations: 56.47 kB / 315 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.06916, allocations: 15.98 kB / 315 MB, free: 9.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002751/0.06943, allocations: 426.8 kB / 315.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06943, allocations: 0 / 315.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.06999, allocations: 307.6 kB / 315.7 MB, free: 8.586 MB / 298.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.0001357/0.07013, allocations: 123 kB / 315.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.07115, allocations: 1.478 MB / 317.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.07116, allocations: 0 / 317.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.07144, allocations: 362.4 kB / 317.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.07213, allocations: 282.7 kB / 317.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.07423, allocations: 1.526 MB / 319.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.07437, allocations: 169.5 kB / 319.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003632/0.07473, allocations: 122.9 kB / 319.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007296/0.07546, allocations: 497.8 kB / 320.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.07546, allocations: 0 / 320.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of Templates: time 0.02372/0.09918, allocations: 20.41 MB / 340.6 MB, free: 15.82 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.3458310812711716]