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.001679/0.001679, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.00204/0.00204, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.442/1.442, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.002033/0.002033, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2171, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004668/0.2218, allocations: 3.06 MB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2242, allocations: 1.418 MB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2243, allocations: 8 kB / 436.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.2247, allocations: 155 kB / 436.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.2253, allocations: 214.7 kB / 436.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.2256, allocations: 139.6 kB / 437 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.2261, allocations: 442.1 kB / 437.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2263, allocations: 75.8 kB / 437.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2265, allocations: 183.3 kB / 437.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.2268, allocations: 187.2 kB / 437.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.2269, allocations: 28 kB / 437.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.227, allocations: 71.84 kB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.2271, allocations: 75.7 kB / 438.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.2273, allocations: 191 kB / 438.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.2278, allocations: 452 kB / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2278, allocations: 4 kB / 438.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2278, allocations: 4 kB / 438.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2278, allocations: 0 / 438.7 MB, free: 0.6914 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001114/0.229, allocations: 0.6904 MB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.229, allocations: 8.031 kB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.2291, allocations: 44.66 kB / 439.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.2296, allocations: 340.6 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2296, allocations: 16.94 kB / 439.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.2296, allocations: 32.12 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.2302, allocations: 291.1 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.2302, allocations: 7.984 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.2302, allocations: 12 kB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2302, allocations: 8 kB / 440.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.2306, allocations: 174.1 kB / 440.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.232, allocations: 0.8329 MB / 441.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.2325, allocations: 255.4 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2327, allocations: 89.38 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.2327, allocations: 4.281 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.233, allocations: 162.6 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.233, allocations: 0 / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002449/0.2355, allocations: 1.332 MB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.2356, allocations: 191.8 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.236, allocations: 332.6 kB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.236, allocations: 29.7 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.2362, allocations: 188.8 kB / 443.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.2363, allocations: 150.7 kB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.2364, allocations: 74.12 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2366, allocations: 350.8 kB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2368, allocations: 88.83 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.2371, allocations: 181.3 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.2375, allocations: 242.2 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2375, allocations: 4 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006072/0.2381, allocations: 354.6 kB / 445.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2381, allocations: 6.812 kB / 445.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2381, allocations: 4 kB / 445.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.541e-05/0.2382, allocations: 24.97 kB / 445.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.2386, allocations: 103.8 kB / 445.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.2398, allocations: 1.383 MB / 446.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.24, allocations: 15.98 kB / 446.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.24, allocations: 12 kB / 446.7 MB, free: 8.156 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.0002001/0.2402, allocations: 169 kB / 446.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2403, allocations: 39.77 kB / 446.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.2409, allocations: 338.6 kB / 447.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007145/0.2416, allocations: 0.6609 MB / 447.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2416, allocations: 0 / 447.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.2418, allocations: 132.8 kB / 448 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.2419, allocations: 12 kB / 448 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.2421, allocations: 15.98 kB / 448 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.2421, allocations: 23.97 kB / 448 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008307/0.2429, allocations: 421.2 kB / 448.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000882/0.2438, allocations: 0.6155 MB / 449.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001985/0.244, allocations: 112.6 kB / 449.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.2443, allocations: 243 kB / 449.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.2443, allocations: 0 / 449.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.2465, allocations: 0.6465 MB / 450 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 0.001875/0.2484, allocations: 1.452 MB / 451.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of Templates: time 0.01143/0.2598, allocations: 5.712 MB / 457.2 MB, free: 13.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.406482083722949]