Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001828/0.001828, 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.002291/0.002291, 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.516/1.516, allocations: 230.3 MB / 258 MB, free: 8.211 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank")
translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 378.7 MB, free: 2.758 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2356, allocations: 53.35 MB / 432.1 MB, free: 7.051 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004563/0.2402, allocations: 2.916 MB / 435 MB, free: 4.125 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002498/0.2427, allocations: 1.425 MB / 436.4 MB, free: 2.691 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2428, allocations: 7.938 kB / 436.4 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.2433, allocations: 179.1 kB / 436.6 MB, free: 2.508 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.2439, allocations: 250.6 kB / 436.9 MB, free: 2.262 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.2442, allocations: 147.6 kB / 437 MB, free: 2.117 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005806/0.2448, allocations: 469.5 kB / 437.5 MB, free: 1.66 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.245, allocations: 60.33 kB / 437.5 MB, free: 1.602 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.2452, allocations: 191.3 kB / 437.7 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.2455, allocations: 223.1 kB / 437.9 MB, free: 1.195 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.2456, allocations: 31.94 kB / 438 MB, free: 1.164 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.2457, allocations: 75.98 kB / 438 MB, free: 1.09 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.2458, allocations: 87.67 kB / 438.1 MB, free: 1.004 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.2461, allocations: 198.9 kB / 438.3 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.2467, allocations: 491.7 kB / 438.8 MB, free: 340 kB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2467, allocations: 0 / 438.8 MB, free: 340 kB / 334.1 MB
Notification: Performance of FrontEnd: time 1.693e-06/0.2467, allocations: 0 / 438.8 MB, free: 340 kB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.254e-06/0.2467, allocations: 4 kB / 438.8 MB, free: 336 kB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 47
 * Number of variables: 47
Notification: Performance of Generate backend data structure: time 0.001229/0.2479, allocations: 0.6444 MB / 439.4 MB, free: 15.65 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.248, allocations: 8.031 kB / 439.5 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2481, allocations: 52.66 kB / 439.5 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.2486, allocations: 289.1 kB / 439.8 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.2486, allocations: 16.81 kB / 439.8 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.2487, allocations: 16.38 kB / 439.8 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.2492, allocations: 293.8 kB / 440.1 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2492, allocations: 0 / 440.1 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.2492, allocations: 12 kB / 440.1 MB, free: 14.92 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2493, allocations: 4 kB / 440.1 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.2496, allocations: 149.7 kB / 440.3 MB, free: 14.77 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.001412/0.251, allocations: 0.7924 MB / 441.1 MB, free: 13.91 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.2514, allocations: 179.1 kB / 441.2 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2516, allocations: 68.41 kB / 441.3 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.2516, allocations: 11.97 kB / 441.3 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.2519, allocations: 134.3 kB / 441.4 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.2519, allocations: 0 / 441.4 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of matching and sorting (n=23): time 0.0008904/0.2528, allocations: 337.8 kB / 441.8 MB, free: 13.17 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000193/0.253, allocations: 312.4 kB / 442.1 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.2535, allocations: 441.7 kB / 442.5 MB, free: 12.35 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.2535, allocations: 37.64 kB / 442.5 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2537, allocations: 200.5 kB / 442.7 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.487e-05/0.2538, allocations: 87.27 kB / 442.8 MB, free: 12.02 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.2539, allocations: 57.7 kB / 442.9 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001772/0.2541, allocations: 354.8 kB / 443.2 MB, free: 11.6 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2542, allocations: 55.98 kB / 443.3 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.2545, allocations: 180.7 kB / 443.5 MB, free: 11.32 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.2548, allocations: 175.9 kB / 443.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2548, allocations: 0 / 443.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005029/0.2553, allocations: 270.2 kB / 443.9 MB, free: 10.87 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2553, allocations: 10.5 kB / 443.9 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2553, allocations: 0 / 443.9 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.2555, allocations: 40.91 kB / 443.9 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2557, allocations: 51.86 kB / 444 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.2574, allocations: 1.483 MB / 445.5 MB, free: 9.164 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.2576, allocations: 23.83 kB / 445.5 MB, free: 9.141 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2576, allocations: 4 kB / 445.5 MB, free: 9.137 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (27):
 * Single equations (assignments): 26
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.2578, allocations: 176.5 kB / 445.7 MB, free: 8.957 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.2579, allocations: 43.72 kB / 445.7 MB, free: 8.914 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.2584, allocations: 262.8 kB / 446 MB, free: 8.652 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2584, allocations: 4 kB / 446 MB, free: 8.648 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2584, allocations: 3.938 kB / 446 MB, free: 8.645 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006248/0.2591, allocations: 0.5789 MB / 446.6 MB, free: 7.961 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2601, allocations: 0.668 MB / 447.2 MB, free: 7.238 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.2601, allocations: 11.92 kB / 447.2 MB, free: 7.227 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.2604, allocations: 39.98 kB / 447.3 MB, free: 7.188 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2604, allocations: 0 / 447.3 MB, free: 7.188 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.2604, allocations: 8 kB / 447.3 MB, free: 7.18 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.2604, allocations: 3.984 kB / 447.3 MB, free: 7.176 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2604, allocations: 0 / 447.3 MB, free: 7.176 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.261, allocations: 402.8 kB / 447.7 MB, free: 6.766 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.2612, allocations: 71.95 kB / 447.8 MB, free: 6.695 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.2612, allocations: 4 kB / 447.8 MB, free: 6.691 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.2615, allocations: 11.98 kB / 447.8 MB, free: 6.68 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.2615, allocations: 23.95 kB / 447.8 MB, free: 6.656 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.2615, allocations: 7.938 kB / 447.8 MB, free: 6.648 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003796/0.2619, allocations: 319.1 kB / 448.1 MB, free: 6.336 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.2619, allocations: 0 / 448.1 MB, free: 6.336 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003931/0.2623, allocations: 91.88 kB / 448.2 MB, free: 6.246 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (openTank.m,openTank.H)
 * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled)
 * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (23):
 * Single equations (assignments): 21
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/0.2638, allocations: 425.4 kB / 448.6 MB, free: 5.961 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006468/0.2645, allocations: 295 kB / 448.9 MB, free: 5.66 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.2645, allocations: 4 kB / 448.9 MB, free: 5.656 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.2647, allocations: 75.77 kB / 449 MB, free: 5.582 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.2653, allocations: 113.4 kB / 449.1 MB, free: 5.473 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2668, allocations: 0.804 MB / 449.9 MB, free: 4.637 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.2673, allocations: 0.7998 MB / 450.7 MB, free: 3.805 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001563/0.2674, allocations: 46.94 kB / 450.8 MB, free: 3.762 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.2675, allocations: 39.31 kB / 450.8 MB, free: 3.723 MB / 350.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.2675, allocations: 0 / 450.8 MB, free: 3.723 MB / 350.1 MB
Notification: Performance of Templates: time 0.0127/0.2802, allocations: 6.339 MB / 457.1 MB, free: 13.46 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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: 4.773427352309227]