Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001383/0.001383, allocations: 109 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.001503/0.001503, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 8.016 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling")
translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.77 kB / 379 MB, free: 2.633 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2299, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00501/0.2349, allocations: 3.555 MB / 436 MB, free: 3.379 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00185/0.2367, allocations: 0.9852 MB / 436.9 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.2369, allocations: 7.938 kB / 436.9 MB, free: 2.379 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.2373, allocations: 107.1 kB / 437 MB, free: 2.273 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.2376, allocations: 194.4 kB / 437.2 MB, free: 2.082 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.2379, allocations: 119.8 kB / 437.4 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007354/0.2386, allocations: 0.638 MB / 438 MB, free: 1.324 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.2389, allocations: 135.5 kB / 438.1 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.2392, allocations: 247.1 kB / 438.4 MB, free: 0.9414 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.2395, allocations: 270.9 kB / 438.6 MB, free: 0.6758 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.847e-05/0.2396, allocations: 52 kB / 438.7 MB, free: 0.625 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.2397, allocations: 56 kB / 438.7 MB, free: 0.5703 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2398, allocations: 115.5 kB / 438.8 MB, free: 468 kB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000282/0.2401, allocations: 298.6 kB / 439.1 MB, free: 168 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.2408, allocations: 0.6448 MB / 439.8 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2408, allocations: 0 / 439.8 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.343e-06/0.2408, allocations: 3.938 kB / 439.8 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 8.165e-06/0.2408, allocations: 0 / 439.8 MB, free: 15.52 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: 80
 * Number of variables: 80
Notification: Performance of Generate backend data structure: time 0.001428/0.2423, allocations: 0.7827 MB / 440.6 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2423, allocations: 12.03 kB / 440.6 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2424, allocations: 68.5 kB / 440.7 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.243, allocations: 333.2 kB / 441 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.2431, allocations: 62.91 kB / 441 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.2432, allocations: 32.38 kB / 441.1 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.244, allocations: 457.1 kB / 441.5 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.244, allocations: 3.938 kB / 441.5 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.244, allocations: 20 kB / 441.5 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.244, allocations: 11.94 kB / 441.6 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.2446, allocations: 278.5 kB / 441.8 MB, free: 13.36 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.002165/0.2468, allocations: 1.248 MB / 443.1 MB, free: 12.03 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.248, allocations: 339.4 kB / 443.4 MB, free: 11.69 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.2483, allocations: 128.3 kB / 443.5 MB, free: 11.56 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.2483, allocations: 15.98 kB / 443.5 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2483, allocations: 34.56 kB / 443.6 MB, free: 11.5 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.2483, allocations: 4 kB / 443.6 MB, free: 11.5 MB / 350.1 MB
Notification: Performance of matching and sorting (n=32): time 0.001165/0.2495, allocations: 456.2 kB / 444 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002583/0.2498, allocations: 452.9 kB / 444.5 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.2503, allocations: 449.9 kB / 444.9 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.2504, allocations: 33.7 kB / 444.9 MB, free: 10.01 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.2506, allocations: 240.6 kB / 445.2 MB, free: 9.77 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.2507, allocations: 111 kB / 445.3 MB, free: 9.66 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2508, allocations: 81.97 kB / 445.4 MB, free: 9.57 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001714/0.251, allocations: 358.8 kB / 445.7 MB, free: 9.211 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.2512, allocations: 104.6 kB / 445.8 MB, free: 9.109 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.2516, allocations: 256 kB / 446.1 MB, free: 8.809 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.2522, allocations: 273.3 kB / 446.3 MB, free: 8.531 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2522, allocations: 4 kB / 446.3 MB, free: 8.527 MB / 350.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007774/0.253, allocations: 416.6 kB / 446.7 MB, free: 8.102 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.253, allocations: 33.7 kB / 446.8 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.253, allocations: 3.984 kB / 446.8 MB, free: 8.059 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.2532, allocations: 49.64 kB / 446.8 MB, free: 8.004 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.2535, allocations: 63.95 kB / 446.9 MB, free: 7.941 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/0.2562, allocations: 2.77 MB / 449.7 MB, free: 4.938 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.2566, allocations: 43.75 kB / 449.7 MB, free: 4.895 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.2566, allocations: 12 kB / 449.7 MB, free: 4.883 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (36):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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): 2 systems
   {(3,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.2569, allocations: 170 kB / 449.9 MB, free: 4.707 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-05/0.257, allocations: 55.67 kB / 449.9 MB, free: 4.652 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2571, allocations: 52.64 kB / 450 MB, free: 4.602 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2571, allocations: 0 / 450 MB, free: 4.602 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2571, allocations: 4.031 kB / 450 MB, free: 4.598 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007643/0.2578, allocations: 0.6608 MB / 450.7 MB, free: 3.832 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.2592, allocations: 0.8676 MB / 451.5 MB, free: 2.91 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2592, allocations: 3.938 kB / 451.5 MB, free: 2.906 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.2596, allocations: 71.89 kB / 451.6 MB, free: 2.836 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2596, allocations: 0 / 451.6 MB, free: 2.836 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.2596, allocations: 4 kB / 451.6 MB, free: 2.832 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2596, allocations: 4 kB / 451.6 MB, free: 2.828 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2596, allocations: 0 / 451.6 MB, free: 2.828 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000901/0.2606, allocations: 0.5292 MB / 452.1 MB, free: 2.285 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.2607, allocations: 83.58 kB / 452.2 MB, free: 2.203 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.2608, allocations: 11.98 kB / 452.2 MB, free: 2.191 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.2611, allocations: 12 kB / 452.2 MB, free: 2.18 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.2612, allocations: 23.95 kB / 452.3 MB, free: 2.156 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.2612, allocations: 4 kB / 452.3 MB, free: 2.152 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003905/0.2616, allocations: 327.2 kB / 452.6 MB, free: 1.836 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2616, allocations: 0 / 452.6 MB, free: 1.836 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004444/0.262, allocations: 131.9 kB / 452.7 MB, free: 1.707 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (pipe.T,heatCapacitor.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 (32):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * 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.0001332/0.2621, allocations: 107.4 kB / 452.8 MB, free: 1.594 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009769/0.2631, allocations: 0.5513 MB / 453.4 MB, free: 1.004 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2631, allocations: 0 / 453.4 MB, free: 1.004 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.2634, allocations: 119.8 kB / 453.5 MB, free: 0.8867 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.264, allocations: 137.8 kB / 453.6 MB, free: 0.75 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.2657, allocations: 0.8925 MB / 454.5 MB, free: 15.83 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.2662, allocations: 0.8197 MB / 455.3 MB, free: 14.98 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002325/0.2664, allocations: 60.36 kB / 455.4 MB, free: 14.92 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2665, allocations: 39.42 kB / 455.4 MB, free: 14.88 MB / 366.1 MB
Notification: Performance of SimCode: time 8.81e-07/0.2665, allocations: 4 kB / 455.4 MB, free: 14.88 MB / 366.1 MB
Notification: Performance of Templates: time 0.01588/0.2824, allocations: 8.461 MB / 463.9 MB, free: 6.562 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.625123373232782]