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.001575/0.001575, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001601/0.001601, allocations: 189.2 kB / 23.72 MB, free: 4.68 MB / 14.72 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 1.535/1.535, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001579/0.001579, allocations: 51.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.008673/0.2501, allocations: 5.659 MB / 428.8 MB, free: 8.992 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002885/0.253, allocations: 1.421 MB / 430.2 MB, free: 7.566 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.2535, allocations: 19.88 kB / 430.2 MB, free: 7.547 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.2541, allocations: 202.3 kB / 430.4 MB, free: 7.348 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008614/0.2549, allocations: 396.7 kB / 430.8 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.2555, allocations: 263.6 kB / 431.1 MB, free: 6.699 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001659/0.2572, allocations: 1.366 MB / 432.4 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005443/0.2577, allocations: 267.8 kB / 432.7 MB, free: 5.039 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.2583, allocations: 0.5255 MB / 433.2 MB, free: 4.512 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000725/0.259, allocations: 0.5797 MB / 433.8 MB, free: 3.93 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.2592, allocations: 120 kB / 433.9 MB, free: 3.812 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.2595, allocations: 123.9 kB / 434 MB, free: 3.691 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.2597, allocations: 259.1 kB / 434.3 MB, free: 3.438 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000607/0.2603, allocations: 0.6067 MB / 434.9 MB, free: 2.828 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001447/0.2617, allocations: 1.41 MB / 436.3 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2618, allocations: 0 / 436.3 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.2618, allocations: 0 / 436.3 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.509e-05/0.2618, allocations: 4 kB / 436.3 MB, free: 1.41 MB / 334.1 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.002817/0.2646, allocations: 1.436 MB / 437.7 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2646, allocations: 12.92 kB / 437.8 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.2648, allocations: 132.2 kB / 437.9 MB, free: 15.78 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2659, allocations: 0.5785 MB / 438.5 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.2661, allocations: 155.6 kB / 438.6 MB, free: 15 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.2662, allocations: 72.33 kB / 438.7 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.2679, allocations: 0.967 MB / 439.7 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.2679, allocations: 0 / 439.7 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.268, allocations: 32 kB / 439.7 MB, free: 13.82 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.268, allocations: 19.98 kB / 439.7 MB, free: 13.8 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.2694, allocations: 0.6246 MB / 440.3 MB, free: 13.18 MB / 350.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.2737, allocations: 2.586 MB / 442.9 MB, free: 10.44 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.2764, allocations: 0.7408 MB / 443.7 MB, free: 9.691 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.2772, allocations: 322.7 kB / 444 MB, free: 9.375 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.2773, allocations: 22.5 kB / 444 MB, free: 9.355 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2773, allocations: 47.22 kB / 444 MB, free: 9.301 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=72): time 1.914e-06/0.2773, allocations: 0 / 444 MB, free: 9.301 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.002641/0.2799, allocations: 1.032 MB / 445.1 MB, free: 8.25 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005009/0.2804, allocations: 0.9528 MB / 446 MB, free: 7.07 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.2815, allocations: 0.7864 MB / 446.8 MB, free: 6.273 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.59e-05/0.2816, allocations: 45.7 kB / 446.9 MB, free: 6.223 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.2819, allocations: 413.1 kB / 447.3 MB, free: 5.812 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.2822, allocations: 269.7 kB / 447.5 MB, free: 5.547 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.2825, allocations: 158.6 kB / 447.7 MB, free: 5.387 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001635/0.2826, allocations: 334 kB / 448 MB, free: 5.055 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.2833, allocations: 257.9 kB / 448.3 MB, free: 4.801 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/0.2843, allocations: 0.588 MB / 448.8 MB, free: 4.086 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2856, allocations: 0.6678 MB / 449.5 MB, free: 3.383 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2856, allocations: 3.938 kB / 449.5 MB, free: 3.379 MB / 350.1 MB
Notification: Performance of matching and sorting (n=90) (initialization): time 0.001908/0.2875, allocations: 0.9436 MB / 450.5 MB, free: 2.398 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.2876, allocations: 89.11 kB / 450.5 MB, free: 2.293 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2876, allocations: 3.938 kB / 450.5 MB, free: 2.289 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.2879, allocations: 128.2 kB / 450.7 MB, free: 2.148 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.2887, allocations: 147.8 kB / 450.8 MB, free: 2.004 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006384/0.2951, allocations: 6.812 MB / 457.6 MB, free: 10.61 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.2959, allocations: 107.4 kB / 457.7 MB, free: 10.51 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.296, allocations: 20 kB / 457.8 MB, free: 10.49 MB / 366.1 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.0003782/0.2964, allocations: 242 kB / 458 MB, free: 10.24 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.2966, allocations: 111.4 kB / 458.1 MB, free: 10.13 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.2968, allocations: 100.9 kB / 458.2 MB, free: 10.03 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2968, allocations: 8 kB / 458.2 MB, free: 10.02 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2968, allocations: 0 / 458.2 MB, free: 10.02 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.2983, allocations: 0.97 MB / 459.2 MB, free: 8.945 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.3013, allocations: 1.716 MB / 460.9 MB, free: 7.16 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3013, allocations: 0 / 460.9 MB, free: 7.16 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.3022, allocations: 159.8 kB / 461 MB, free: 7.004 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.251e-05/0.3023, allocations: 32.78 kB / 461.1 MB, free: 6.969 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.3023, allocations: 11.98 kB / 461.1 MB, free: 6.957 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.3034, allocations: 1.303 MB / 462.4 MB, free: 5.543 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3034, allocations: 4.031 kB / 462.4 MB, free: 5.539 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.3056, allocations: 1.078 MB / 463.5 MB, free: 4.441 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.306, allocations: 191.1 kB / 463.7 MB, free: 4.254 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.3061, allocations: 23.98 kB / 463.7 MB, free: 4.23 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.3068, allocations: 47.83 kB / 463.7 MB, free: 4.184 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.3069, allocations: 44.56 kB / 463.8 MB, free: 4.141 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.307, allocations: 16 kB / 463.8 MB, free: 4.125 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0007477/0.3077, allocations: 0.5498 MB / 464.3 MB, free: 3.582 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3077, allocations: 0 / 464.3 MB, free: 3.582 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007649/0.3085, allocations: 291.8 kB / 464.6 MB, free: 3.297 MB / 366.1 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.0001795/0.3087, allocations: 123.1 kB / 464.7 MB, free: 3.168 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002282/0.3109, allocations: 1.37 MB / 466.1 MB, free: 1.695 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3109, allocations: 0 / 466.1 MB, free: 1.695 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007661/0.3117, allocations: 398.2 kB / 466.5 MB, free: 1.289 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.3128, allocations: 282.9 kB / 466.8 MB, free: 1.012 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.3158, allocations: 1.696 MB / 468.5 MB, free: 15.29 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.3165, allocations: 0.9796 MB / 469.5 MB, free: 14.27 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0005289/0.3171, allocations: 127.5 kB / 469.6 MB, free: 14.14 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.3173, allocations: 79.42 kB / 469.7 MB, free: 14.07 MB / 382.1 MB
Notification: Performance of SimCode: time 8.62e-07/0.3173, allocations: 0 / 469.7 MB, free: 14.07 MB / 382.1 MB
Notification: Performance of Templates: time 0.03147/0.3488, allocations: 18.39 MB / 488.1 MB, free: 12.01 MB / 398.1 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=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: 5.285541143268347]