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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 251.1 MB, free: 8.477 MB / 206.1 MB 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.001991/0.001991, allocations: 63.84 kB / 368.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.239, allocations: 53.31 MB / 422.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004405/0.2434, allocations: 3.045 MB / 425.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.2457, allocations: 1.41 MB / 426.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2458, allocations: 8 kB / 426.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.2462, allocations: 147 kB / 426.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.2467, allocations: 218.7 kB / 427.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.247, allocations: 139.6 kB / 427.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.2475, allocations: 438.1 kB / 427.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.2477, allocations: 75.8 kB / 427.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2479, allocations: 179.3 kB / 427.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.2482, allocations: 195.1 kB / 428.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.2482, allocations: 31.94 kB / 428.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2484, allocations: 59.98 kB / 428.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.2485, allocations: 79.69 kB / 428.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.2486, allocations: 194.9 kB / 428.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.2492, allocations: 449.7 kB / 428.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2492, allocations: 0 / 428.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2492, allocations: 0 / 428.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2492, allocations: 0 / 428.9 MB, free: 1.242 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.001102/0.2503, allocations: 0.6942 MB / 429.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2503, allocations: 8.031 kB / 429.6 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.2504, allocations: 48.66 kB / 429.6 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.2509, allocations: 332.7 kB / 429.9 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.2509, allocations: 24.94 kB / 430 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.251, allocations: 28.12 kB / 430 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.2515, allocations: 291.1 kB / 430.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2515, allocations: 0 / 430.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.2516, allocations: 12 kB / 430.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2516, allocations: 8 kB / 430.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.2519, allocations: 178.1 kB / 430.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.2533, allocations: 0.8368 MB / 431.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.2538, allocations: 251.4 kB / 431.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.254, allocations: 85.39 kB / 431.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.254, allocations: 12.2 kB / 431.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.2543, allocations: 158.7 kB / 431.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.794e-06/0.2543, allocations: 0 / 431.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002424/0.2568, allocations: 1.328 MB / 433.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.2569, allocations: 183.9 kB / 433.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.2573, allocations: 344.5 kB / 433.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.2573, allocations: 37.7 kB / 433.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.2574, allocations: 176.8 kB / 433.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.2576, allocations: 150.7 kB / 434 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2577, allocations: 78.12 kB / 434.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2578, allocations: 346.8 kB / 434.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.258, allocations: 84.84 kB / 434.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2583, allocations: 185.3 kB / 434.7 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.2587, allocations: 250.2 kB / 434.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2587, allocations: 0 / 434.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005765/0.2593, allocations: 358.6 kB / 435.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2593, allocations: 8 kB / 435.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2593, allocations: 0 / 435.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.713e-05/0.2594, allocations: 16.86 kB / 435.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.2597, allocations: 95.95 kB / 435.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.261, allocations: 1.398 MB / 436.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2611, allocations: 12 kB / 436.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.2612, allocations: 19.98 kB / 436.8 MB, free: 8.699 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.0001964/0.2614, allocations: 161.8 kB / 437 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.2614, allocations: 39.77 kB / 437 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006004/0.262, allocations: 338.5 kB / 437.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.262, allocations: 4 kB / 437.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.262, allocations: 8 kB / 437.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006659/0.2627, allocations: 0.6492 MB / 438 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.2639, allocations: 0.8543 MB / 438.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2639, allocations: 0 / 438.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.2643, allocations: 76.03 kB / 438.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.2643, allocations: 7.938 kB / 439 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.2643, allocations: 12 kB / 439 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2643, allocations: 4 kB / 439 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2643, allocations: 0 / 439 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.2651, allocations: 0.5588 MB / 439.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.2652, allocations: 132.9 kB / 439.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.2653, allocations: 12 kB / 439.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.2655, allocations: 15.98 kB / 439.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.2656, allocations: 23.97 kB / 439.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.2656, allocations: 19.94 kB / 439.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.2659, allocations: 243 kB / 440 MB, free: 5.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2659, allocations: 0 / 440 MB, free: 5.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.2663, allocations: 99.94 kB / 440.1 MB, free: 5.219 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.001537/0.2678, allocations: 428.3 kB / 440.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006392/0.2684, allocations: 354.4 kB / 440.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.2684, allocations: 4.188 kB / 440.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.2687, allocations: 131.8 kB / 441 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.2692, allocations: 92.72 kB / 441.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2709, allocations: 1.041 MB / 442.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.2713, allocations: 0.8001 MB / 442.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.2715, allocations: 51.23 kB / 442.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.2716, allocations: 35.44 kB / 443 MB, free: 2.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2716, allocations: 0 / 443 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Templates: time 0.01111/0.2827, allocations: 5.421 MB / 448.4 MB, free: 13.02 MB / 366.1 MB 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] Reference file matches