Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00202/0.00202, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002527/0.002527, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 63.88 kB / 378.7 MB, free: 2.762 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2389, allocations: 53.36 MB / 432.1 MB, free: 7.059 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007339/0.2462, allocations: 5.675 MB / 437.8 MB, free: 1.367 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002877/0.2491, allocations: 1.458 MB / 439.2 MB, free: 15.9 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.2495, allocations: 11.94 kB / 439.3 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.25, allocations: 202.2 kB / 439.5 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007904/0.2508, allocations: 396.7 kB / 439.8 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.2513, allocations: 255.6 kB / 440.1 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001575/0.2529, allocations: 1.37 MB / 441.5 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.2534, allocations: 271.8 kB / 441.7 MB, free: 13.39 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.254, allocations: 0.5216 MB / 442.2 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007518/0.2548, allocations: 0.5874 MB / 442.8 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.255, allocations: 116 kB / 442.9 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.2552, allocations: 124 kB / 443.1 MB, free: 12.04 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.2554, allocations: 255.1 kB / 443.3 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006561/0.2561, allocations: 0.6144 MB / 443.9 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001524/0.2576, allocations: 1.404 MB / 445.3 MB, free: 9.766 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2576, allocations: 0 / 445.3 MB, free: 9.766 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.543e-06/0.2576, allocations: 3.938 kB / 445.3 MB, free: 9.762 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.407e-05/0.2576, allocations: 4 kB / 445.3 MB, free: 9.758 MB / 350.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.00291/0.2606, allocations: 1.44 MB / 446.8 MB, free: 8.266 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2606, allocations: 8.031 kB / 446.8 MB, free: 8.258 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.2608, allocations: 144.2 kB / 446.9 MB, free: 8.117 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.262, allocations: 0.5707 MB / 447.5 MB, free: 7.52 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.2622, allocations: 151.6 kB / 447.7 MB, free: 7.352 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2623, allocations: 72.31 kB / 447.7 MB, free: 7.281 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.2641, allocations: 0.9708 MB / 448.7 MB, free: 6.195 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.2641, allocations: 3.938 kB / 448.7 MB, free: 6.191 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/0.2642, allocations: 32 kB / 448.7 MB, free: 6.16 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2642, allocations: 16 kB / 448.7 MB, free: 6.145 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.2657, allocations: 0.6246 MB / 449.4 MB, free: 5.516 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.004791/0.2705, allocations: 2.579 MB / 451.9 MB, free: 2.789 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.2732, allocations: 0.7536 MB / 452.7 MB, free: 2.031 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/0.274, allocations: 324 kB / 453 MB, free: 1.715 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.2741, allocations: 16.64 kB / 453 MB, free: 1.699 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.2741, allocations: 47.22 kB / 453.1 MB, free: 1.645 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=72): time 2.735e-06/0.2741, allocations: 0 / 453.1 MB, free: 1.645 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.002721/0.2768, allocations: 1.032 MB / 454.1 MB, free: 0.5938 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005361/0.2774, allocations: 0.9565 MB / 455.1 MB, free: 15.41 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2784, allocations: 0.7903 MB / 455.9 MB, free: 14.61 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.2785, allocations: 49.64 kB / 455.9 MB, free: 14.56 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.2789, allocations: 413.1 kB / 456.3 MB, free: 14.15 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.2791, allocations: 269.7 kB / 456.6 MB, free: 13.88 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.2794, allocations: 150.6 kB / 456.7 MB, free: 13.73 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001587/0.2796, allocations: 337.9 kB / 457.1 MB, free: 13.39 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.2802, allocations: 257.9 kB / 457.3 MB, free: 13.14 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009643/0.2811, allocations: 0.5802 MB / 457.9 MB, free: 12.43 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.2825, allocations: 0.6638 MB / 458.5 MB, free: 11.73 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2825, allocations: 0 / 458.5 MB, free: 11.73 MB / 366.1 MB
Notification: Performance of matching and sorting (n=90) (initialization): time 0.001906/0.2844, allocations: 0.9514 MB / 459.5 MB, free: 10.75 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.2845, allocations: 85.11 kB / 459.6 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2845, allocations: 0 / 459.6 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.2848, allocations: 132.2 kB / 459.7 MB, free: 10.5 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.2856, allocations: 155.8 kB / 459.9 MB, free: 10.35 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/0.2923, allocations: 6.813 MB / 466.7 MB, free: 2.957 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2934, allocations: 107.4 kB / 466.8 MB, free: 2.852 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.2935, allocations: 23.98 kB / 466.8 MB, free: 2.828 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.0005889/0.294, allocations: 241.7 kB / 467 MB, free: 2.582 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.2943, allocations: 107.3 kB / 467.1 MB, free: 2.477 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.2945, allocations: 100.9 kB / 467.2 MB, free: 2.375 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.2945, allocations: 8 kB / 467.3 MB, free: 2.367 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.2945, allocations: 0 / 467.3 MB, free: 2.367 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001687/0.2962, allocations: 0.9777 MB / 468.2 MB, free: 1.281 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.2994, allocations: 1.701 MB / 469.9 MB, free: 15.51 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.2994, allocations: 7.984 kB / 469.9 MB, free: 15.5 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.3002, allocations: 159.8 kB / 470.1 MB, free: 15.35 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.3003, allocations: 20.84 kB / 470.1 MB, free: 15.32 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.3004, allocations: 23.92 kB / 470.1 MB, free: 15.3 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.3015, allocations: 1.299 MB / 471.4 MB, free: 13.89 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3015, allocations: 7.922 kB / 471.4 MB, free: 13.88 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.3037, allocations: 1.086 MB / 472.5 MB, free: 12.78 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.3042, allocations: 187.1 kB / 472.7 MB, free: 12.59 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.3043, allocations: 20 kB / 472.7 MB, free: 12.57 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/0.305, allocations: 39.97 kB / 472.8 MB, free: 12.54 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3051, allocations: 48.56 kB / 472.8 MB, free: 12.49 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.3052, allocations: 19.98 kB / 472.8 MB, free: 12.47 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0007593/0.3059, allocations: 0.5459 MB / 473.4 MB, free: 11.93 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3059, allocations: 0 / 473.4 MB, free: 11.93 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.000834/0.3067, allocations: 295.7 kB / 473.7 MB, free: 11.64 MB / 382.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.0001865/0.3069, allocations: 123.1 kB / 473.8 MB, free: 11.51 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.002284/0.3092, allocations: 1.366 MB / 475.2 MB, free: 10.04 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3092, allocations: 4 kB / 475.2 MB, free: 10.04 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.31, allocations: 398.3 kB / 475.6 MB, free: 9.633 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3111, allocations: 281.6 kB / 475.8 MB, free: 9.359 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.3142, allocations: 1.703 MB / 477.5 MB, free: 7.625 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.3149, allocations: 0.9835 MB / 478.5 MB, free: 6.613 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0005271/0.3154, allocations: 119.5 kB / 478.6 MB, free: 6.492 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.3156, allocations: 79.42 kB / 478.7 MB, free: 6.414 MB / 382.1 MB
Notification: Performance of SimCode: time 6.21e-07/0.3156, allocations: 0 / 478.7 MB, free: 6.414 MB / 382.1 MB
Notification: Performance of Templates: time 0.03375/0.3494, allocations: 18.39 MB / 497.1 MB, free: 4.324 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.214486939832568]