Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001686/0.001686, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001931/0.001931, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.429/1.429, allocations: 225.6 MB / 252.5 MB, free: 13 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 370.9 MB, free: 9.379 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2258, allocations: 52.19 MB / 423.1 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005148/0.2309, allocations: 3.534 MB / 426.7 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001932/0.2328, allocations: 0.9423 MB / 427.6 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.2332, allocations: 7.938 kB / 427.6 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.2336, allocations: 115.1 kB / 427.7 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000555/0.2341, allocations: 190.4 kB / 427.9 MB, free: 9.898 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.2345, allocations: 115.8 kB / 428 MB, free: 9.785 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000914/0.2354, allocations: 0.6418 MB / 428.7 MB, free: 9.141 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.2356, allocations: 127.3 kB / 428.8 MB, free: 9.012 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.236, allocations: 255.1 kB / 429 MB, free: 8.762 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.2364, allocations: 270.8 kB / 429.3 MB, free: 8.496 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.2365, allocations: 52 kB / 429.3 MB, free: 8.445 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2366, allocations: 56 kB / 429.4 MB, free: 8.391 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2367, allocations: 119.5 kB / 429.5 MB, free: 8.273 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.237, allocations: 290.7 kB / 429.8 MB, free: 7.988 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007587/0.2377, allocations: 0.6511 MB / 430.4 MB, free: 7.34 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2377, allocations: 0 / 430.4 MB, free: 7.34 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.523e-06/0.2377, allocations: 0 / 430.4 MB, free: 7.34 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.096e-06/0.2378, allocations: 0 / 430.4 MB, free: 7.34 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: 80
 * Number of variables: 80
Notification: Performance of Generate backend data structure: time 0.001461/0.2392, allocations: 0.7827 MB / 431.2 MB, free: 6.516 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2393, allocations: 12.03 kB / 431.2 MB, free: 6.504 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2394, allocations: 64.61 kB / 431.3 MB, free: 6.441 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.24, allocations: 345.1 kB / 431.6 MB, free: 6.078 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2401, allocations: 54.91 kB / 431.7 MB, free: 6.02 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.2402, allocations: 32.38 kB / 431.7 MB, free: 5.988 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.241, allocations: 465 kB / 432.2 MB, free: 5.484 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.241, allocations: 0 / 432.2 MB, free: 5.484 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.241, allocations: 16 kB / 432.2 MB, free: 5.469 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.241, allocations: 12 kB / 432.2 MB, free: 5.457 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.2416, allocations: 278.5 kB / 432.5 MB, free: 5.184 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.002186/0.2438, allocations: 1.248 MB / 433.7 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.245, allocations: 344.5 kB / 434.1 MB, free: 3.504 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.2453, allocations: 128.8 kB / 434.2 MB, free: 3.375 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.2453, allocations: 11.97 kB / 434.2 MB, free: 3.363 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2454, allocations: 42.5 kB / 434.2 MB, free: 3.312 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.542e-06/0.2454, allocations: 0 / 434.2 MB, free: 3.312 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32): time 0.001172/0.2465, allocations: 448.3 kB / 434.7 MB, free: 2.863 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002448/0.2468, allocations: 452.9 kB / 435.1 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.2474, allocations: 457.8 kB / 435.6 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.2474, allocations: 33.7 kB / 435.6 MB, free: 1.82 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.2476, allocations: 232.7 kB / 435.8 MB, free: 1.59 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2477, allocations: 122.9 kB / 436 MB, free: 1.469 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.2479, allocations: 74.02 kB / 436 MB, free: 1.387 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001918/0.248, allocations: 358.8 kB / 436.4 MB, free: 1.027 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2483, allocations: 104.6 kB / 436.5 MB, free: 0.9258 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.2487, allocations: 256.1 kB / 436.7 MB, free: 0.625 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.2493, allocations: 280.5 kB / 437 MB, free: 348 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2493, allocations: 0 / 437 MB, free: 348 kB / 334.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007926/0.2501, allocations: 413.2 kB / 437.4 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.2501, allocations: 41.72 kB / 437.4 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2502, allocations: 0 / 437.4 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.2503, allocations: 53.64 kB / 437.5 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.2507, allocations: 67.89 kB / 437.6 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.2537, allocations: 2.759 MB / 440.3 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.254, allocations: 51.7 kB / 440.4 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.2541, allocations: 11.98 kB / 440.4 MB, free: 12.69 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.0002198/0.2543, allocations: 175.6 kB / 440.6 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.2544, allocations: 51.72 kB / 440.6 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.2545, allocations: 48.7 kB / 440.7 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2545, allocations: 0 / 440.7 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2545, allocations: 7.938 kB / 440.7 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007591/0.2552, allocations: 0.6494 MB / 441.3 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.2567, allocations: 0.8675 MB / 442.2 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2567, allocations: 7.938 kB / 442.2 MB, free: 10.72 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.2571, allocations: 68.28 kB / 442.3 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2571, allocations: 3.938 kB / 442.3 MB, free: 10.65 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.2571, allocations: 7.938 kB / 442.3 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2571, allocations: 4 kB / 442.3 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2571, allocations: 0 / 442.3 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/0.258, allocations: 0.5215 MB / 442.8 MB, free: 10.1 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.2583, allocations: 87.53 kB / 442.9 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.2583, allocations: 15.92 kB / 442.9 MB, free: 10 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.2588, allocations: 16 kB / 442.9 MB, free: 9.984 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.2589, allocations: 23.94 kB / 442.9 MB, free: 9.961 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2589, allocations: 8 kB / 442.9 MB, free: 9.953 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003961/0.2593, allocations: 323.2 kB / 443.3 MB, free: 9.637 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2593, allocations: 0 / 443.3 MB, free: 9.637 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004817/0.2598, allocations: 135.9 kB / 443.4 MB, free: 9.504 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.0001349/0.2599, allocations: 107.2 kB / 443.5 MB, free: 9.391 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.00118/0.2611, allocations: 0.5357 MB / 444 MB, free: 8.816 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2611, allocations: 8.062 kB / 444 MB, free: 8.809 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.2614, allocations: 115.8 kB / 444.1 MB, free: 8.695 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.262, allocations: 144.6 kB / 444.3 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.2637, allocations: 0.8914 MB / 445.2 MB, free: 7.633 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.2642, allocations: 0.8159 MB / 446 MB, free: 6.789 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002435/0.2645, allocations: 60.36 kB / 446.1 MB, free: 6.73 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2646, allocations: 43.42 kB / 446.1 MB, free: 6.688 MB / 350.1 MB
Notification: Performance of SimCode: time 4.61e-07/0.2646, allocations: 0 / 446.1 MB, free: 6.688 MB / 350.1 MB
Notification: Performance of Templates: time 0.01729/0.2819, allocations: 8.466 MB / 454.6 MB, free: 14.36 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.630652034655213]