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.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.001617/0.001617, allocations: 106 kB / 21.18 MB, free: 0.707 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.001685/0.001685, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 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 1.527/1.527, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 59.91 kB / 347.7 MB, free: 9.562 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2961, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005801/0.3019, allocations: 5.631 MB / 402.4 MB, free: 5.484 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003266/0.3051, allocations: 1.475 MB / 403.9 MB, free: 4.398 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000909/0.3061, allocations: 17.69 kB / 403.9 MB, free: 4.391 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000616/0.3067, allocations: 198.8 kB / 404.1 MB, free: 4.277 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3079, allocations: 399.7 kB / 404.5 MB, free: 3.992 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.3087, allocations: 260.4 kB / 404.8 MB, free: 3.848 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001707/0.3104, allocations: 1.362 MB / 406.1 MB, free: 3.152 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.3108, allocations: 272.3 kB / 406.4 MB, free: 2.988 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007551/0.3116, allocations: 0.5265 MB / 406.9 MB, free: 2.742 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000855/0.3124, allocations: 0.5772 MB / 407.5 MB, free: 2.449 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.3126, allocations: 121.8 kB / 407.6 MB, free: 2.445 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.3129, allocations: 124.3 kB / 407.7 MB, free: 2.441 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.3131, allocations: 260 kB / 408 MB, free: 2.266 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006024/0.3137, allocations: 0.6094 MB / 408.6 MB, free: 1.906 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00171/0.3154, allocations: 1.41 MB / 410 MB, free: 1.309 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3154, allocations: 1.719 kB / 410 MB, free: 1.309 MB / 318.1 MB
Notification: Performance of FrontEnd: time 2.104e-06/0.3154, allocations: 0 / 410 MB, free: 1.309 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 2.26e-05/0.3154, allocations: 4 kB / 410 MB, free: 1.305 MB / 318.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.002599/0.318, allocations: 1.44 MB / 411.5 MB, free: 224 kB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.3181, allocations: 13.83 kB / 411.5 MB, free: 220 kB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.3183, allocations: 132.6 kB / 411.6 MB, free: 156 kB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3196, allocations: 0.572 MB / 412.2 MB, free: 15.7 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.3199, allocations: 153.2 kB / 412.3 MB, free: 15.57 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.32, allocations: 69.81 kB / 412.4 MB, free: 15.54 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.322, allocations: 0.9772 MB / 413.4 MB, free: 14.79 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.322, allocations: 0 / 413.4 MB, free: 14.79 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.3221, allocations: 34.03 kB / 413.4 MB, free: 14.76 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.3221, allocations: 15.97 kB / 413.4 MB, free: 14.76 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.3236, allocations: 0.6188 MB / 414 MB, free: 14.47 MB / 334.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.005037/0.3287, allocations: 2.588 MB / 416.6 MB, free: 12.37 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.3312, allocations: 0.754 MB / 417.4 MB, free: 12 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007868/0.332, allocations: 320 kB / 417.7 MB, free: 11.84 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/0.3321, allocations: 16.67 kB / 417.7 MB, free: 11.83 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.774e-05/0.3322, allocations: 50.88 kB / 417.8 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.3322, allocations: 0 / 417.8 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of matching and sorting (n=72): time 0.003112/0.3353, allocations: 1.036 MB / 418.8 MB, free: 11.25 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008553/0.3361, allocations: 0.9491 MB / 419.8 MB, free: 10.08 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.3375, allocations: 0.7847 MB / 420.5 MB, free: 9.641 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.3377, allocations: 45.05 kB / 420.6 MB, free: 9.598 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.338, allocations: 410.3 kB / 421 MB, free: 9.242 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.3383, allocations: 279.8 kB / 421.3 MB, free: 8.996 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.3386, allocations: 151.4 kB / 421.4 MB, free: 8.91 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001864/0.3388, allocations: 340.8 kB / 421.7 MB, free: 8.578 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.3395, allocations: 252.4 kB / 422 MB, free: 8.465 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000975/0.3405, allocations: 0.5872 MB / 422.6 MB, free: 7.938 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3417, allocations: 0.6668 MB / 423.2 MB, free: 7.527 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3417, allocations: 1.031 kB / 423.2 MB, free: 7.527 MB / 334.1 MB
Notification: Performance of matching and sorting (n=90) (initialization): time 0.001947/0.3436, allocations: 0.9533 MB / 424.2 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/0.3437, allocations: 87.42 kB / 424.3 MB, free: 6.871 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3437, allocations: 1.125 kB / 424.3 MB, free: 6.871 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.3441, allocations: 124.9 kB / 424.4 MB, free: 6.789 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/0.3448, allocations: 156.1 kB / 424.5 MB, free: 6.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/0.3521, allocations: 6.8 MB / 431.3 MB, free: 15.37 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.3533, allocations: 115.2 kB / 431.5 MB, free: 15.26 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.3534, allocations: 23.98 kB / 431.5 MB, free: 15.23 MB / 350.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.0005103/0.3539, allocations: 241.7 kB / 431.7 MB, free: 14.99 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.3541, allocations: 107.7 kB / 431.8 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.3543, allocations: 96.91 kB / 431.9 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3543, allocations: 11.98 kB / 431.9 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3543, allocations: 0 / 431.9 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001537/0.3558, allocations: 0.9816 MB / 432.9 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.3591, allocations: 1.709 MB / 434.6 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3592, allocations: 7.984 kB / 434.6 MB, free: 11.89 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/0.3599, allocations: 147.8 kB / 434.8 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.3601, allocations: 28.78 kB / 434.8 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.3601, allocations: 15.98 kB / 434.8 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3613, allocations: 1.295 MB / 436.1 MB, free: 10.29 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.3613, allocations: 7.969 kB / 436.1 MB, free: 10.29 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.3635, allocations: 1.086 MB / 437.2 MB, free: 9.18 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/0.364, allocations: 183.4 kB / 437.4 MB, free: 9 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.3641, allocations: 20 kB / 437.4 MB, free: 8.98 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.3648, allocations: 43.97 kB / 437.4 MB, free: 8.938 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3649, allocations: 52.48 kB / 437.5 MB, free: 8.887 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.3649, allocations: 19.98 kB / 437.5 MB, free: 8.867 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0008292/0.3657, allocations: 0.5459 MB / 438.1 MB, free: 8.328 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 0 / 438.1 MB, free: 8.328 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0008469/0.3666, allocations: 295.7 kB / 438.4 MB, free: 8.039 MB / 350.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.0001688/0.3668, allocations: 119.2 kB / 438.5 MB, free: 7.914 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.002254/0.369, allocations: 1.354 MB / 439.8 MB, free: 6.457 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.369, allocations: 4 kB / 439.8 MB, free: 6.453 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.3697, allocations: 410.2 kB / 440.2 MB, free: 6.039 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3709, allocations: 279.1 kB / 440.5 MB, free: 5.766 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.374, allocations: 1.699 MB / 442.2 MB, free: 4.031 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.3746, allocations: 0.9796 MB / 443.2 MB, free: 3.02 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0005695/0.3752, allocations: 123.5 kB / 443.3 MB, free: 2.895 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3754, allocations: 79.42 kB / 443.4 MB, free: 2.82 MB / 350.1 MB
Notification: Performance of SimCode: time 6.81e-07/0.3754, allocations: 7.938 kB / 443.4 MB, free: 2.812 MB / 350.1 MB
Notification: Performance of Templates: time 0.03442/0.4098, allocations: 18.38 MB / 461.8 MB, free: 400 kB / 366.1 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=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.474988462403417]