Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001863/0.001863, 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.002335/0.002335, 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 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 8.047 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.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder")
translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [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.002099/0.002099, allocations: 69 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2297, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004943/0.2346, allocations: 3.055 MB / 435.5 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002569/0.2372, allocations: 1.437 MB / 436.9 MB, free: 2.449 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.2374, allocations: 11.94 kB / 436.9 MB, free: 2.438 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.2379, allocations: 143.1 kB / 437 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.2384, allocations: 214.8 kB / 437.3 MB, free: 2.086 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.2388, allocations: 143.6 kB / 437.4 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006272/0.2394, allocations: 442.1 kB / 437.8 MB, free: 1.512 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2396, allocations: 77.02 kB / 437.9 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.2399, allocations: 187.3 kB / 438.1 MB, free: 1.254 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.2402, allocations: 187.2 kB / 438.3 MB, free: 1.07 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.2403, allocations: 31.94 kB / 438.3 MB, free: 1.039 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2404, allocations: 59.98 kB / 438.4 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2405, allocations: 83.69 kB / 438.4 MB, free: 0.8984 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.2407, allocations: 191 kB / 438.6 MB, free: 0.7109 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.2412, allocations: 455.8 kB / 439.1 MB, free: 276 kB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2412, allocations: 0 / 439.1 MB, free: 276 kB / 334.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.2413, allocations: 0 / 439.1 MB, free: 276 kB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.032e-05/0.2413, allocations: 0 / 439.1 MB, free: 276 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: 61
 * Number of variables: 61
Notification: Performance of Generate backend data structure: time 0.001089/0.2424, allocations: 0.6227 MB / 439.7 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2424, allocations: 8.031 kB / 439.7 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.834e-05/0.2425, allocations: 52.66 kB / 439.7 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.2429, allocations: 262.7 kB / 440 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.243, allocations: 16.88 kB / 440 MB, free: 15.26 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.243, allocations: 36.06 kB / 440.1 MB, free: 15.22 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.2436, allocations: 294.1 kB / 440.3 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2436, allocations: 0 / 440.3 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.2436, allocations: 12 kB / 440.4 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2436, allocations: 8 kB / 440.4 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.244, allocations: 173.9 kB / 440.5 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.2454, allocations: 0.8082 MB / 441.3 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.2459, allocations: 243.4 kB / 441.6 MB, free: 13.61 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2461, allocations: 94.23 kB / 441.7 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.2461, allocations: 4.281 kB / 441.7 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.2464, allocations: 161.8 kB / 441.8 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.2464, allocations: 0 / 441.8 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of matching and sorting (n=40): time 0.002355/0.2488, allocations: 1.111 MB / 442.9 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.2489, allocations: 191.9 kB / 443.1 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.2493, allocations: 332.5 kB / 443.5 MB, free: 11.61 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.2493, allocations: 33.7 kB / 443.5 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.2495, allocations: 188.8 kB / 443.7 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.2496, allocations: 146.8 kB / 443.8 MB, free: 11.24 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2497, allocations: 70.14 kB / 443.9 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001684/0.2499, allocations: 346.8 kB / 444.2 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.2501, allocations: 92.83 kB / 444.3 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.2504, allocations: 177.3 kB / 444.5 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.2508, allocations: 250.2 kB / 444.7 MB, free: 10.27 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2508, allocations: 0 / 444.7 MB, free: 10.27 MB / 350.1 MB
Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006256/0.2514, allocations: 362.4 kB / 445.1 MB, free: 9.902 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2514, allocations: 4 kB / 445.1 MB, free: 9.898 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2514, allocations: 0 / 445.1 MB, free: 9.898 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.919e-05/0.2515, allocations: 24.84 kB / 445.1 MB, free: 9.871 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.2519, allocations: 91.83 kB / 445.2 MB, free: 9.781 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.253, allocations: 1.291 MB / 446.5 MB, free: 8.371 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2532, allocations: 16.03 kB / 446.5 MB, free: 8.355 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.2533, allocations: 12.16 kB / 446.5 MB, free: 8.344 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: 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 (49):
 * Single equations (assignments): 48
 * 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
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.2535, allocations: 169.7 kB / 446.7 MB, free: 8.168 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.2535, allocations: 39.77 kB / 446.7 MB, free: 8.129 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.2541, allocations: 338.2 kB / 447.1 MB, free: 7.789 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2541, allocations: 7.938 kB / 447.1 MB, free: 7.781 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.2541, allocations: 3.938 kB / 447.1 MB, free: 7.777 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006939/0.2548, allocations: 0.6615 MB / 447.7 MB, free: 7.012 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.256, allocations: 0.8219 MB / 448.6 MB, free: 6.129 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.256, allocations: 0 / 448.6 MB, free: 6.129 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.2564, allocations: 75.91 kB / 448.6 MB, free: 6.055 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2564, allocations: 4 kB / 448.6 MB, free: 6.051 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.2564, allocations: 4 kB / 448.6 MB, free: 6.047 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2564, allocations: 8.125 kB / 448.6 MB, free: 6.039 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2564, allocations: 4 kB / 448.6 MB, free: 6.035 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.2572, allocations: 0.5471 MB / 449.2 MB, free: 5.461 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.2574, allocations: 63.78 kB / 449.3 MB, free: 5.398 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.2574, allocations: 12 kB / 449.3 MB, free: 5.387 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.2576, allocations: 15.98 kB / 449.3 MB, free: 5.371 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.2577, allocations: 23.95 kB / 449.3 MB, free: 5.348 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.2577, allocations: 12 kB / 449.3 MB, free: 5.336 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002614/0.258, allocations: 243 kB / 449.6 MB, free: 5.098 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.258, allocations: 0 / 449.6 MB, free: 5.098 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004029/0.2584, allocations: 99.88 kB / 449.7 MB, free: 5 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel)
 * 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 (40):
 * Single equations (assignments): 38
 * 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.001538/0.2599, allocations: 432.8 kB / 450.1 MB, free: 4.727 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006795/0.2606, allocations: 355.4 kB / 450.4 MB, free: 4.367 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2606, allocations: 0 / 450.4 MB, free: 4.367 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.2608, allocations: 128.1 kB / 450.5 MB, free: 4.242 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.2614, allocations: 93.05 kB / 450.6 MB, free: 4.152 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.2632, allocations: 1.039 MB / 451.7 MB, free: 3.066 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.2636, allocations: 0.8078 MB / 452.5 MB, free: 2.23 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001713/0.2638, allocations: 51.23 kB / 452.5 MB, free: 2.18 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.2639, allocations: 35.44 kB / 452.6 MB, free: 2.145 MB / 350.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.2639, allocations: 0 / 452.6 MB, free: 2.145 MB / 350.1 MB
Notification: Performance of Templates: time 0.01212/0.276, allocations: 5.575 MB / 458.1 MB, free: 12.64 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.669910812750459]