Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006655/0.0006655, allocations: 69.48 kB / 10.01 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009823/0.001648, allocations: 449.8 kB / 10.45 MB, free: 240 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006556/0.0006556, allocations: 149 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008755/0.001531, allocations: 475.6 kB / 11.81 MB, free: 2.355 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9115/0.9115, allocations: 173.4 MB / 185.9 MB, free: 8.895 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07635/0.9879, allocations: 52.5 MB / 238.5 MB, free: 4.336 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 239.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.436e-05, allocations: 9.828 kB / 239.7 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.008617/0.008631, allocations: 11.84 MB / 251.6 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006611/0.01524, allocations: 5.393 MB / 257 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007701/0.01601, allocations: 67.44 kB / 257 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.01715, allocations: 0.8233 MB / 257.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.01897, allocations: 1.48 MB / 259.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.02172, allocations: 2.119 MB / 261.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.025, allocations: 5.093 MB / 266.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.02632, allocations: 1.718 MB / 268.3 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.02813, allocations: 2.484 MB / 270.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.02928, allocations: 1.426 MB / 272.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.02955, allocations: 308 kB / 272.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000778/0.03033, allocations: 0.6828 MB / 273.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.03077, allocations: 0.6895 MB / 273.9 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006291/0.0314, allocations: 0.7486 MB / 274.6 MB, free: 28 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1007/0.1321, allocations: 2.37 MB / 277 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-05/0.1321, allocations: 1.922 kB / 277 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1321, allocations: 0 / 277 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.1322, allocations: 0 / 277 MB, free: 10.11 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.00535/0.1376, allocations: 3.573 MB / 280.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1376, allocations: 11.25 kB / 280.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.1386, allocations: 409.1 kB / 281 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.1403, allocations: 1.096 MB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.1405, allocations: 414.5 kB / 282.5 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.1407, allocations: 231.2 kB / 282.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.1428, allocations: 2.325 MB / 285 MB, free: 6.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.1429, allocations: 15 kB / 285 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.143, allocations: 92.28 kB / 285.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/0.1431, allocations: 102 kB / 285.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1442, allocations: 0.8684 MB / 286.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.1495, allocations: 6.702 MB / 292.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.1503, allocations: 1.016 MB / 293.8 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.1507, allocations: 0.4936 MB / 294.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003352/0.1541, allocations: 2.651 MB / 296.9 MB, free: 17.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009122/0.155, allocations: 1.443 MB / 298.4 MB, free: 16.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=207): time 3.556e-06/0.155, allocations: 0 / 298.4 MB, free: 16.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=217): time 0.00731/0.1623, allocations: 4.555 MB / 302.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002075/0.1625, allocations: 0.6313 MB / 303.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000723/0.1633, allocations: 1.136 MB / 304.7 MB, free: 14.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.1634, allocations: 125.8 kB / 304.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.1637, allocations: 0.7442 MB / 305.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.1641, allocations: 0.6369 MB / 306.2 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/0.1646, allocations: 0.5567 MB / 306.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.1646, allocations: 308 kB / 307.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.1651, allocations: 418.8 kB / 307.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008679/0.166, allocations: 1.319 MB / 308.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.1674, allocations: 1.668 MB / 310.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.1674, allocations: 4 kB / 310.5 MB, free: 8.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.002181/0.1696, allocations: 1.713 MB / 312.2 MB, free: 7.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.1696, allocations: 104.1 kB / 312.3 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.1696, allocations: 20 kB / 312.3 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.1702, allocations: 365.3 kB / 312.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.1711, allocations: 0.4885 MB / 313.2 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009954/0.1721, allocations: 1.756 MB / 314.9 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.1727, allocations: 116.3 kB / 315 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.1729, allocations: 100.1 kB / 315.1 MB, free: 4.387 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($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.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,shut.pre_reset[2],shut.pre_reset[1],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.pre_reset[2],stop.pre_reset[1],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.pre_reset[2],start.pre_reset[1],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 (325): * Single equations (assignments): 319 * 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.0005129/0.1734, allocations: 0.4951 MB / 315.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.1736, allocations: 212.9 kB / 315.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.1757, allocations: 1.789 MB / 317.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.1758, allocations: 28.94 kB / 317.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1758, allocations: 4 kB / 317.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.1758, allocations: 15.95 kB / 317.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.1794, allocations: 2.691 MB / 320.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.1794, allocations: 8 kB / 320.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.1801, allocations: 301.8 kB / 320.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.1805, allocations: 282.5 kB / 320.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/0.181, allocations: 344.7 kB / 321.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.1811, allocations: 63.94 kB / 321.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1821, allocations: 1.744 MB / 323.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1821, allocations: 4 kB / 323.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.1844, allocations: 2.165 MB / 325.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.1847, allocations: 75.97 kB / 325.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.1851, allocations: 83.95 kB / 325.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.1854, allocations: 217.5 kB / 325.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.1856, allocations: 75.94 kB / 325.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003852/0.1859, allocations: 484.4 kB / 326.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1859, allocations: 0 / 326.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001348/0.1873, allocations: 0.613 MB / 326.8 MB, free: 9.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (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,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,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.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * 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.002038/0.1893, allocations: 0.9028 MB / 327.7 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.1914, allocations: 1.75 MB / 329.4 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.901e-05/0.1914, allocations: 24.5 kB / 329.4 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.1928, allocations: 1.179 MB / 330.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.1957, allocations: 4.679 MB / 335.3 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.2082, allocations: 3.807 MB / 339.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.2085, allocations: 458.9 kB / 339.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009587/0.2095, allocations: 424.7 kB / 340 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.2108, allocations: 0.7412 MB / 340.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2108, allocations: 0 / 340.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of Templates: time 0.04895/0.2598, allocations: 45.7 MB / 386.4 MB, free: 13.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & (cd run_cvode && ../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat -s cvode) > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.sim & (cd run_dassl && ../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_res.mat -s dassl) > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.sim & (cd run_gbode && ../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.sim & (cd run_ida && ../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_res.mat -s ida) > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.082537833601236]