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.0009652/0.0009652, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009308/0.0009308, allocations: 166.2 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9569/0.9569, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.923e-06/1.923e-06, allocations: 0 / 273 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.209e-05, allocations: 2.312 kB / 273 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004527/0.004549, allocations: 3.032 MB / 276.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.006998, allocations: 1.379 MB / 277.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.007168, allocations: 4 kB / 277.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.007632, allocations: 139.1 kB / 277.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.008163, allocations: 226.6 kB / 277.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.008483, allocations: 147.4 kB / 277.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.009012, allocations: 457.8 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.009156, allocations: 72.25 kB / 278.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.009355, allocations: 255.3 kB / 278.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.009529, allocations: 147.6 kB / 278.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.009565, allocations: 31.98 kB / 278.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.00965, allocations: 55.98 kB / 278.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.009723, allocations: 83.67 kB / 279 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.009824, allocations: 131.6 kB / 279.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.01015, allocations: 322.8 kB / 279.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01015, allocations: 0 / 279.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01016, allocations: 0 / 279.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.01016, allocations: 0 / 279.5 MB, free: 11.37 MB / 266.7 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.0006884/0.01085, allocations: 0.711 MB / 280.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01088, allocations: 15.97 kB / 280.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.01097, allocations: 68.59 kB / 280.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.01123, allocations: 264.4 kB / 280.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.01125, allocations: 16.88 kB / 280.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.01129, allocations: 32.38 kB / 280.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.01165, allocations: 0.4919 MB / 281.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.01167, allocations: 3.938 kB / 281.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.01169, allocations: 12 kB / 281.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.01182, allocations: 8 kB / 281.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.01198, allocations: 110.9 kB / 281.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.01278, allocations: 0.7421 MB / 281.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.01309, allocations: 194.1 kB / 282.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.01317, allocations: 68.2 kB / 282.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.0132, allocations: 8.281 kB / 282.2 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.01338, allocations: 242.2 kB / 282.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.01339, allocations: 8 kB / 282.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001373/0.01476, allocations: 0.9613 MB / 283.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.01482, allocations: 187.9 kB / 283.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.01504, allocations: 350.3 kB / 283.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.01507, allocations: 33.7 kB / 284 MB, free: 6.492 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01517, allocations: 247.4 kB / 284.2 MB, free: 6.246 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.01524, allocations: 142.8 kB / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.01531, allocations: 83.84 kB / 284.4 MB, free: 6.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.01543, allocations: 0.5157 MB / 284.9 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.01551, allocations: 56.97 kB / 285 MB, free: 5.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.01568, allocations: 298.6 kB / 285.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.01587, allocations: 188.3 kB / 285.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01588, allocations: 0 / 285.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003088/0.01618, allocations: 313.3 kB / 285.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.0162, allocations: 4 kB / 285.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.0162, allocations: 3.938 kB / 285.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.809e-05/0.01627, allocations: 23.67 kB / 285.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.01646, allocations: 83.91 kB / 285.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.01751, allocations: 1.747 MB / 287.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.01766, allocations: 8 kB / 287.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.01768, allocations: 16 kB / 287.7 MB, free: 2.531 MB / 266.7 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.0001475/0.01783, allocations: 191.7 kB / 287.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.0179, allocations: 51.77 kB / 287.9 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.01835, allocations: 280.7 kB / 288.2 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01836, allocations: 4.062 kB / 288.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01836, allocations: 4 kB / 288.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004837/0.01884, allocations: 0.602 MB / 288.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/0.01979, allocations: 0.7344 MB / 289.5 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.0198, allocations: 4 kB / 289.5 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.02007, allocations: 79.89 kB / 289.6 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02007, allocations: 4 kB / 289.6 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.02009, allocations: 8.125 kB / 289.6 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.02009, allocations: 12 kB / 289.6 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.0201, allocations: 4 kB / 289.6 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.02054, allocations: 0.5193 MB / 290.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.02062, allocations: 63.72 kB / 290.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.02065, allocations: 8 kB / 290.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.02077, allocations: 19.75 kB / 290.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.02082, allocations: 31.94 kB / 290.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.02084, allocations: 8 kB / 290.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.02097, allocations: 247 kB / 290.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02097, allocations: 0 / 290.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.02123, allocations: 99.94 kB / 290.6 MB, free: 15.36 MB / 282.7 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.0007619/0.02199, allocations: 408 kB / 291 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.02238, allocations: 374.2 kB / 291.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02238, allocations: 3.938 kB / 291.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.0225, allocations: 115.4 kB / 291.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.02284, allocations: 93.59 kB / 291.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.02408, allocations: 0.8867 MB / 292.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.02414, allocations: 109.8 kB / 292.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.02425, allocations: 43.25 kB / 292.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.02431, allocations: 44.5 kB / 292.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02431, allocations: 0 / 292.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of Templates: time 0.00728/0.03159, allocations: 5.58 MB / 298.2 MB, free: 7.895 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8710720180533826]