Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001302/0.001302, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001479/0.001479, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.441/1.441, allocations: 230.3 MB / 258 MB, free: 8.254 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.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 55.91 kB / 378.7 MB, free: 2.809 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2988, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004876/0.3037, allocations: 3.057 MB / 435.2 MB, free: 4.023 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002383/0.3061, allocations: 1.433 MB / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3062, allocations: 15.88 kB / 436.6 MB, free: 2.566 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.3067, allocations: 139.2 kB / 436.8 MB, free: 2.43 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.3072, allocations: 218.7 kB / 437 MB, free: 2.215 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.3075, allocations: 143.6 kB / 437.1 MB, free: 2.074 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005337/0.308, allocations: 442.1 kB / 437.5 MB, free: 1.641 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3082, allocations: 77.02 kB / 437.6 MB, free: 1.566 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3084, allocations: 183.3 kB / 437.8 MB, free: 1.387 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.3087, allocations: 191.2 kB / 438 MB, free: 1.199 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.3088, allocations: 32 kB / 438 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3089, allocations: 51.98 kB / 438.1 MB, free: 1.117 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.309, allocations: 87.62 kB / 438.1 MB, free: 1.031 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3092, allocations: 183 kB / 438.3 MB, free: 0.8516 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.3097, allocations: 463.7 kB / 438.8 MB, free: 412 kB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3097, allocations: 8 kB / 438.8 MB, free: 404 kB / 334.1 MB
Notification: Performance of FrontEnd: time 1.182e-06/0.3097, allocations: 0 / 438.8 MB, free: 404 kB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.284e-06/0.3097, allocations: 0 / 438.8 MB, free: 404 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.001094/0.3108, allocations: 0.611 MB / 439.4 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3109, allocations: 12.03 kB / 439.4 MB, free: 15.74 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/0.311, allocations: 48.66 kB / 439.5 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.3114, allocations: 266.8 kB / 439.7 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.3115, allocations: 24.88 kB / 439.7 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.3115, allocations: 24.38 kB / 439.8 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.312, allocations: 298.4 kB / 440.1 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.312, allocations: 7.938 kB / 440.1 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3121, allocations: 8 kB / 440.1 MB, free: 15.03 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3121, allocations: 11.94 kB / 440.1 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.3124, allocations: 173.9 kB / 440.3 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3138, allocations: 0.8082 MB / 441.1 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.3144, allocations: 242.5 kB / 441.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3146, allocations: 89.39 kB / 441.4 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3146, allocations: 4.281 kB / 441.4 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.3149, allocations: 165.8 kB / 441.6 MB, free: 13.47 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=34): time 3.577e-06/0.3149, allocations: 7.984 kB / 441.6 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of matching and sorting (n=40): time 0.002324/0.3172, allocations: 1.106 MB / 442.7 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3174, allocations: 191.9 kB / 442.9 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3177, allocations: 328.6 kB / 443.2 MB, free: 11.74 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.3178, allocations: 37.69 kB / 443.2 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3179, allocations: 184.8 kB / 443.4 MB, free: 11.52 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.318, allocations: 150.7 kB / 443.5 MB, free: 11.37 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3181, allocations: 70.14 kB / 443.6 MB, free: 11.29 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001588/0.3183, allocations: 350.8 kB / 443.9 MB, free: 10.94 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.3185, allocations: 92.83 kB / 444 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3188, allocations: 177.3 kB / 444.2 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.3192, allocations: 250.2 kB / 444.5 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3192, allocations: 4 kB / 444.5 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005921/0.3198, allocations: 354.4 kB / 444.8 MB, free: 10.03 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3198, allocations: 4 kB / 444.8 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3198, allocations: 8.125 kB / 444.8 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-05/0.3199, allocations: 20.84 kB / 444.8 MB, free: 9.992 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.3202, allocations: 87.89 kB / 444.9 MB, free: 9.906 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.3214, allocations: 1.283 MB / 446.2 MB, free: 8.504 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3216, allocations: 15.92 kB / 446.2 MB, free: 8.488 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.3216, allocations: 16 kB / 446.2 MB, free: 8.473 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.0002108/0.3218, allocations: 176.7 kB / 446.4 MB, free: 8.293 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.3219, allocations: 47.77 kB / 446.5 MB, free: 8.246 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.3225, allocations: 326.3 kB / 446.8 MB, free: 7.918 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3225, allocations: 4 kB / 446.8 MB, free: 7.914 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3225, allocations: 3.938 kB / 446.8 MB, free: 7.91 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006856/0.3232, allocations: 0.6653 MB / 447.4 MB, free: 7.141 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3244, allocations: 0.8141 MB / 448.3 MB, free: 6.266 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3244, allocations: 3.984 kB / 448.3 MB, free: 6.262 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.3247, allocations: 75.91 kB / 448.3 MB, free: 6.188 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3247, allocations: 4 kB / 448.3 MB, free: 6.184 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.3247, allocations: 8 kB / 448.4 MB, free: 6.176 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3248, allocations: 0 / 448.4 MB, free: 6.176 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3248, allocations: 7.938 kB / 448.4 MB, free: 6.168 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.3256, allocations: 0.5506 MB / 448.9 MB, free: 5.59 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3257, allocations: 59.78 kB / 449 MB, free: 5.531 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.3258, allocations: 8 kB / 449 MB, free: 5.523 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.326, allocations: 19.98 kB / 449 MB, free: 5.504 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.3261, allocations: 35.88 kB / 449 MB, free: 5.469 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.3261, allocations: 12 kB / 449 MB, free: 5.457 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002628/0.3263, allocations: 247 kB / 449.3 MB, free: 5.215 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3263, allocations: 0 / 449.3 MB, free: 5.215 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003948/0.3267, allocations: 91.94 kB / 449.4 MB, free: 5.125 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.001519/0.3283, allocations: 420.3 kB / 449.8 MB, free: 4.848 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006919/0.329, allocations: 359.4 kB / 450.1 MB, free: 4.484 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.329, allocations: 0 / 450.1 MB, free: 4.484 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.3292, allocations: 127.6 kB / 450.3 MB, free: 4.359 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.3298, allocations: 101.3 kB / 450.4 MB, free: 4.262 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3316, allocations: 1.036 MB / 451.4 MB, free: 3.18 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.332, allocations: 0.8039 MB / 452.2 MB, free: 2.348 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001568/0.3322, allocations: 43.27 kB / 452.2 MB, free: 2.305 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.3323, allocations: 43.42 kB / 452.3 MB, free: 2.262 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3323, allocations: 0 / 452.3 MB, free: 2.262 MB / 350.1 MB
Notification: Performance of Templates: time 0.01257/0.3448, allocations: 5.572 MB / 457.9 MB, free: 12.75 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.659619913436472]