Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.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.001104/0.001104, allocations: 69.17 kB / 10.02 MB, free: 0.6641 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002818, allocations: 453.8 kB / 10.46 MB, free: 228 kB / 10.45 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.001172/0.001172, allocations: 161.2 kB / 11.37 MB, free: 2.805 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002764, allocations: 479.5 kB / 11.84 MB, free: 2.332 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8478/0.8478, allocations: 158.6 MB / 171.2 MB, free: 2.492 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1228/0.9706, allocations: 49.5 MB / 220.7 MB, free: 1.344 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.607e-05, allocations: 6.25 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01321/0.01323, allocations: 11.81 MB / 233.8 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007375/0.0206, allocations: 5.237 MB / 239 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.02193, allocations: 71.38 kB / 239.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.02328, allocations: 0.8078 MB / 239.9 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.02549, allocations: 1.472 MB / 241.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.02849, allocations: 2.081 MB / 243.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.03295, allocations: 5.039 MB / 248.5 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.0348, allocations: 1.707 MB / 250.2 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.03752, allocations: 2.452 MB / 252.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.0389, allocations: 1.402 MB / 254.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.03923, allocations: 304 kB / 254.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009677/0.0402, allocations: 0.6672 MB / 255 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.04066, allocations: 0.6817 MB / 255.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.04137, allocations: 0.733 MB / 256.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.04363, allocations: 2.324 MB / 258.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.04364, allocations: 0 / 258.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.04364, allocations: 0 / 258.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.522e-05/0.04368, allocations: 0 / 258.8 MB, free: 11.09 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: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.003273/0.04695, allocations: 3.472 MB / 262.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.04698, allocations: 8.031 kB / 262.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.04753, allocations: 400.3 kB / 262.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.04885, allocations: 1.087 MB / 263.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.04904, allocations: 406.6 kB / 264.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.04923, allocations: 228.4 kB / 264.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.05117, allocations: 2.305 MB / 266.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.0512, allocations: 7.938 kB / 266.7 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.05133, allocations: 95.97 kB / 266.8 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.252e-05/0.0514, allocations: 99.69 kB / 266.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.0524, allocations: 0.8515 MB / 267.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005638/0.05804, allocations: 6.658 MB / 274.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/0.05889, allocations: 0.8716 MB / 275.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.0593, allocations: 443.7 kB / 275.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002682/0.06198, allocations: 1.898 MB / 277.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/0.06292, allocations: 1.349 MB / 278.9 MB, free: 6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=193): time 3.377e-06/0.06292, allocations: 0 / 278.9 MB, free: 6 MB / 282.7 MB Notification: Performance of matching and sorting (n=203): time 0.007673/0.0706, allocations: 4.39 MB / 283.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.07074, allocations: 413.8 kB / 283.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09471/0.1654, allocations: 1.145 MB / 284.9 MB, free: 38.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.1658, allocations: 112.9 kB / 285 MB, free: 38.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.1662, allocations: 0.7648 MB / 285.7 MB, free: 37.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/0.1666, allocations: 0.6031 MB / 286.3 MB, free: 37.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006838/0.1673, allocations: 0.5374 MB / 286.9 MB, free: 37.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.1673, allocations: 302.7 kB / 287.2 MB, free: 37.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.168, allocations: 376 kB / 287.5 MB, free: 37.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/0.1688, allocations: 1.271 MB / 288.8 MB, free: 36.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.1702, allocations: 1.549 MB / 290.4 MB, free: 35.33 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.1702, allocations: 4.875 kB / 290.4 MB, free: 35.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002133/0.1724, allocations: 1.61 MB / 292 MB, free: 35.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.593e-05/0.1724, allocations: 101.6 kB / 292.1 MB, free: 34.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.1724, allocations: 19.22 kB / 292.1 MB, free: 34.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.173, allocations: 369.5 kB / 292.4 MB, free: 34.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/0.174, allocations: 480.5 kB / 292.9 MB, free: 34.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007869/0.1748, allocations: 1.756 MB / 294.7 MB, free: 33.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.1755, allocations: 102.5 kB / 294.8 MB, free: 33.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.1757, allocations: 95.39 kB / 294.9 MB, free: 33.33 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition6,$whenCondition4,$whenCondition5,start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition3,$whenCondition1,$whenCondition2,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition13,$whenCondition14,$whenCondition15,tankController.normal.T2.condition,tankController.normal.T4.condition,tankController.stateGraphRoot.suspend,tankController.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000527/0.1762, allocations: 469.7 kB / 295.3 MB, free: 33.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.1765, allocations: 194.2 kB / 295.5 MB, free: 33.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.1786, allocations: 1.728 MB / 297.2 MB, free: 32.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.1786, allocations: 31.59 kB / 297.3 MB, free: 32.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1786, allocations: 1.781 kB / 297.3 MB, free: 32.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.1786, allocations: 8.766 kB / 297.3 MB, free: 32.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.1817, allocations: 2.593 MB / 299.9 MB, free: 32.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.1817, allocations: 0 / 299.9 MB, free: 32.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.1823, allocations: 302.3 kB / 300.2 MB, free: 32.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.1827, allocations: 269.4 kB / 300.4 MB, free: 32.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.1832, allocations: 343.5 kB / 300.8 MB, free: 31.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.771e-05/0.1832, allocations: 54.31 kB / 300.8 MB, free: 31.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007263/0.184, allocations: 1.746 MB / 302.6 MB, free: 30.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.184, allocations: 0 / 302.6 MB, free: 30.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.1858, allocations: 1.975 MB / 304.5 MB, free: 29.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.186, allocations: 57.39 kB / 304.6 MB, free: 29.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.1865, allocations: 85.48 kB / 304.7 MB, free: 29.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.1867, allocations: 204 kB / 304.9 MB, free: 29.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.1868, allocations: 69.12 kB / 305 MB, free: 29.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003168/0.1871, allocations: 489.2 kB / 305.4 MB, free: 29.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1871, allocations: 2.625 kB / 305.4 MB, free: 29.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001102/0.1882, allocations: 0.5964 MB / 306 MB, free: 29.74 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/0.1897, allocations: 0.8604 MB / 306.9 MB, free: 29.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.1916, allocations: 1.641 MB / 308.5 MB, free: 28.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.542e-05/0.1917, allocations: 29.97 kB / 308.6 MB, free: 28.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.1928, allocations: 1.108 MB / 309.7 MB, free: 28.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.1947, allocations: 4.675 MB / 314.3 MB, free: 23.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.2063, allocations: 3.673 MB / 318 MB, free: 20.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.2065, allocations: 440.2 kB / 318.4 MB, free: 20.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001122/0.2077, allocations: 416.9 kB / 318.9 MB, free: 20.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.2089, allocations: 0.7264 MB / 319.6 MB, free: 19.49 MB / 282.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2089, allocations: 0 / 319.6 MB, free: 19.49 MB / 282.7 MB Notification: Performance of Templates: time 0.04457/0.2535, allocations: 44.81 MB / 364.4 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & (cd run_cvode && ../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat -s cvode) > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.sim & (cd run_dassl && ../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_res.mat -s dassl) > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.sim & (cd run_gbode && ../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.sim & (cd run_ida && ../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_res.mat -s ida) > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.013461807742715]