Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002506/0.002506, allocations: 216.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2359, allocations: 53.38 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004458/0.2403, allocations: 2.816 MB / 434.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.2427, allocations: 1.334 MB / 435.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2428, allocations: 7.938 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.2433, allocations: 143.1 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.2438, allocations: 222.7 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.2441, allocations: 139.6 kB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.2446, allocations: 446 kB / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.2448, allocations: 73.02 kB / 436.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.245, allocations: 175.3 kB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.2453, allocations: 179.2 kB / 437.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.2453, allocations: 28 kB / 437.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.2454, allocations: 52 kB / 437.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2455, allocations: 87.62 kB / 437.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.2457, allocations: 159.1 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.2462, allocations: 472.3 kB / 437.9 MB, free: 416 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2463, allocations: 0 / 437.9 MB, free: 416 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2463, allocations: 0 / 437.9 MB, free: 416 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2463, allocations: 0 / 437.9 MB, free: 416 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.001044/0.2473, allocations: 0.6137 MB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2473, allocations: 12.03 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.2474, allocations: 48.66 kB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.2479, allocations: 262.3 kB / 438.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2479, allocations: 20.88 kB / 438.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.248, allocations: 28.12 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.2486, allocations: 0.5131 MB / 439.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.2486, allocations: 0 / 439.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.2486, allocations: 12 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2487, allocations: 8 kB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.249, allocations: 177.9 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2503, allocations: 0.7113 MB / 440.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.2508, allocations: 243.9 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.251, allocations: 93.39 kB / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.251, allocations: 4.281 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.2514, allocations: 273.4 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.2514, allocations: 0 / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002428/0.2538, allocations: 1.107 MB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.2539, allocations: 195.9 kB / 442.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.2543, allocations: 324.6 kB / 442.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.2544, allocations: 49.58 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.2545, allocations: 184.7 kB / 442.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.2546, allocations: 146.7 kB / 442.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.2548, allocations: 78.12 kB / 442.9 MB, free: 11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2549, allocations: 346.8 kB / 443.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.2551, allocations: 92.83 kB / 443.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.2555, allocations: 305.8 kB / 443.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.256, allocations: 254.2 kB / 443.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.256, allocations: 0 / 443.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006163/0.2566, allocations: 362.4 kB / 444.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2566, allocations: 10.19 kB / 444.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2566, allocations: 0 / 444.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.509e-05/0.2567, allocations: 16.86 kB / 444.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.2571, allocations: 91.89 kB / 444.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.2583, allocations: 1.26 MB / 445.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.2585, allocations: 19.95 kB / 445.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.2585, allocations: 15.94 kB / 445.7 MB, free: 8.055 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.0002031/0.2587, allocations: 165.7 kB / 445.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.2587, allocations: 43.75 kB / 445.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.2594, allocations: 342.1 kB / 446.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2594, allocations: 4 kB / 446.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.2594, allocations: 0 / 446.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007635/0.2602, allocations: 0.6722 MB / 446.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.2614, allocations: 0.7359 MB / 447.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2614, allocations: 0 / 447.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.2618, allocations: 79.91 kB / 447.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2618, allocations: 4.125 kB / 447.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.2618, allocations: 16 kB / 447.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.2618, allocations: 11.92 kB / 447.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.2618, allocations: 3.984 kB / 447.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.2627, allocations: 0.547 MB / 448.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2628, allocations: 63.72 kB / 448.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.2629, allocations: 12 kB / 448.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2631, allocations: 12 kB / 448.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.2632, allocations: 35.88 kB / 448.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.2632, allocations: 16 kB / 448.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000313/0.2635, allocations: 243 kB / 448.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2635, allocations: 0 / 448.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004023/0.2639, allocations: 99.92 kB / 448.7 MB, free: 4.77 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 (41): * Single equations (assignments): 39 * 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.001705/0.2656, allocations: 451.1 kB / 449.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007253/0.2664, allocations: 362.3 kB / 449.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2664, allocations: 256 / 449.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.2666, allocations: 132.4 kB / 449.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.2672, allocations: 88.86 kB / 449.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.269, allocations: 1.051 MB / 450.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.2692, allocations: 199.6 kB / 451 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.2694, allocations: 47.25 kB / 451 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.2695, allocations: 35.44 kB / 451.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2695, allocations: 3.938 kB / 451.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Templates: time 0.01243/0.2819, allocations: 5.974 MB / 457.1 MB, free: 12.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.57771354354918]