Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 84 kB / 21.18 MB, free: 3.398 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 145.1 kB / 24.54 MB, free: 48 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9388/0.9388, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.277e-05, allocations: 6.25 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007208/0.007241, allocations: 5.599 MB / 273.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.01081, allocations: 1.409 MB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/0.01166, allocations: 19.88 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.01229, allocations: 190.3 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.0135, allocations: 416.4 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.01414, allocations: 259.5 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.01601, allocations: 1.428 MB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.01654, allocations: 267.6 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.01778, allocations: 0.7913 MB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008183/0.0186, allocations: 442.8 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.01888, allocations: 119.9 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.01914, allocations: 124 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.01935, allocations: 255.1 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006991/0.02005, allocations: 455 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.02182, allocations: 0.9148 MB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.02183, allocations: 7.984 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.02183, allocations: 0 / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.211e-05/0.02189, allocations: 0 / 280.6 MB, free: 9.73 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.002883/0.02477, allocations: 1.536 MB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.02482, allocations: 12.03 kB / 282.2 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003531/0.02518, allocations: 188.2 kB / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.02626, allocations: 0.5648 MB / 282.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.02653, allocations: 301.9 kB / 283.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.02668, allocations: 88.33 kB / 283.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.02849, allocations: 1.77 MB / 285.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.02852, allocations: 192 / 285.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/0.0286, allocations: 40.12 kB / 285.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.02863, allocations: 16 kB / 285.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/0.02953, allocations: 347.6 kB / 285.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.03368, allocations: 1.816 MB / 287.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.03568, allocations: 0.5697 MB / 287.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.03617, allocations: 205.5 kB / 288 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.056e-05/0.03624, allocations: 16.66 kB / 288.1 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.0363, allocations: 54.05 kB / 288.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.968e-06/0.0363, allocations: 0 / 288.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001828/0.03813, allocations: 0.7299 MB / 288.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004946/0.03863, allocations: 0.9489 MB / 289.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.03956, allocations: 0.7122 MB / 290.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.03963, allocations: 45.7 kB / 290.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.04002, allocations: 483.5 kB / 291 MB, free: 14.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.04025, allocations: 265.7 kB / 291.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.04051, allocations: 160.3 kB / 291.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.04069, allocations: 0.5004 MB / 291.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.04109, allocations: 215 kB / 292.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.04237, allocations: 1.492 MB / 293.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007987/0.04317, allocations: 462 kB / 294.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.04317, allocations: 0 / 294.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001431/0.0446, allocations: 0.8296 MB / 294.9 MB, free: 10 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.04468, allocations: 93.09 kB / 295 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.0447, allocations: 4 kB / 295 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.0451, allocations: 118.4 kB / 295.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.04568, allocations: 147.8 kB / 295.3 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/0.05175, allocations: 8.904 MB / 304.2 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1409/0.1926, allocations: 88.7 kB / 304.3 MB, free: 38.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.1928, allocations: 30.64 kB / 304.3 MB, free: 38.86 MB / 282.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.0003334/0.1931, allocations: 207.6 kB / 304.5 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.1934, allocations: 118.5 kB / 304.6 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.1935, allocations: 96.3 kB / 304.7 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.1935, allocations: 7.938 kB / 304.7 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.1935, allocations: 1.312 kB / 304.7 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007532/0.1943, allocations: 0.7749 MB / 305.5 MB, free: 38.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.1962, allocations: 1.328 MB / 306.8 MB, free: 37.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1962, allocations: 0 / 306.8 MB, free: 37.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.1967, allocations: 149.8 kB / 307 MB, free: 37.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.1968, allocations: 31.42 kB / 307 MB, free: 37.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.1968, allocations: 14.56 kB / 307 MB, free: 37.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006195/0.1975, allocations: 1.762 MB / 308.8 MB, free: 36.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1975, allocations: 0 / 308.8 MB, free: 36.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1985, allocations: 0.7745 MB / 309.6 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.1989, allocations: 176.5 kB / 309.7 MB, free: 35.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.199, allocations: 22.58 kB / 309.7 MB, free: 35.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.1993, allocations: 38.14 kB / 309.8 MB, free: 35.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.1994, allocations: 43.05 kB / 309.8 MB, free: 35.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.1995, allocations: 17.41 kB / 309.8 MB, free: 35.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004752/0.1999, allocations: 469.3 kB / 310.3 MB, free: 35.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1999, allocations: 0 / 310.3 MB, free: 35.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006933/0.2006, allocations: 304 kB / 310.6 MB, free: 35.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.0001463/0.2008, allocations: 123.7 kB / 310.7 MB, free: 35.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.202, allocations: 1.523 MB / 312.2 MB, free: 34.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.2021, allocations: 9.562 kB / 312.2 MB, free: 34.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.2024, allocations: 377.8 kB / 312.6 MB, free: 34.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/0.2032, allocations: 276.6 kB / 312.9 MB, free: 34.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.2057, allocations: 1.545 MB / 314.4 MB, free: 33.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.2058, allocations: 170.5 kB / 314.6 MB, free: 33.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.2062, allocations: 123.3 kB / 314.7 MB, free: 33.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2064, allocations: 73.62 kB / 314.8 MB, free: 33.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2064, allocations: 0 / 314.8 MB, free: 33.33 MB / 282.7 MB Notification: Performance of Templates: time 0.02039/0.2268, allocations: 18.77 MB / 333.6 MB, free: 21.21 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.454328751191497]