Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001044/0.001044, allocations: 69.17 kB / 10.01 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.00271, allocations: 453.8 kB / 10.45 MB, free: 236 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.001121/0.001121, allocations: 161.2 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002602, allocations: 475.6 kB / 11.83 MB, free: 2.34 MB / 13.93 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.9599/0.9599, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07727/1.037, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.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.1.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.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.82e-07/7.82e-07, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.402e-06/7.184e-06, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.008612/0.008619, allocations: 11.95 MB / 256.7 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.01423, allocations: 5.494 MB / 262.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004549/0.01468, allocations: 67.44 kB / 262.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.01565, allocations: 0.8117 MB / 263 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.01744, allocations: 1.542 MB / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.01959, allocations: 2.022 MB / 266.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.02273, allocations: 5.109 MB / 271.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.02396, allocations: 1.726 MB / 273.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1078/0.1317, allocations: 2.494 MB / 275.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.1337, allocations: 1.425 MB / 277.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005866/0.1343, allocations: 304.4 kB / 277.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1354, allocations: 0.6747 MB / 278.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005665/0.136, allocations: 0.6971 MB / 279 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008662/0.1369, allocations: 0.7499 MB / 279.8 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.1393, allocations: 2.393 MB / 282.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.1393, allocations: 1.312 kB / 282.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1393, allocations: 3.406 kB / 282.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.891e-05/0.1393, allocations: 0 / 282.2 MB, free: 5.254 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.003796/0.1431, allocations: 3.589 MB / 285.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.434e-05/0.1432, allocations: 10.84 kB / 285.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009869/0.1442, allocations: 489.2 kB / 286.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.1454, allocations: 1.103 MB / 287.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.1455, allocations: 413.2 kB / 287.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.1457, allocations: 233.8 kB / 288 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.1472, allocations: 2.309 MB / 290.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.1472, allocations: 13.81 kB / 290.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.1474, allocations: 90.58 kB / 290.4 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/0.1474, allocations: 102.1 kB / 290.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.1484, allocations: 0.8653 MB / 291.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.1538, allocations: 7.13 MB / 298.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/0.1546, allocations: 1.027 MB / 299.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.155, allocations: 0.4883 MB / 300 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003189/0.1582, allocations: 2.584 MB / 302.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.1591, allocations: 1.421 MB / 304 MB, free: 11.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 2.825e-06/0.1591, allocations: 0 / 304 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=215): time 0.007365/0.1665, allocations: 4.512 MB / 308.5 MB, free: 7.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.1667, allocations: 0.6305 MB / 309.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1674, allocations: 1.167 MB / 310.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.1676, allocations: 120.8 kB / 310.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.1679, allocations: 0.7474 MB / 311.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/0.1685, allocations: 0.6374 MB / 311.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004644/0.1689, allocations: 0.5453 MB / 312.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.169, allocations: 301.1 kB / 312.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.1695, allocations: 409.8 kB / 313.1 MB, free: 3.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.1703, allocations: 1.316 MB / 314.4 MB, free: 1.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1715, allocations: 1.662 MB / 316 MB, free: 60 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.1715, allocations: 4 kB / 316 MB, free: 56 kB / 282.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.001755/0.1733, allocations: 1.691 MB / 317.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.1733, allocations: 110.1 kB / 317.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.1733, allocations: 20.78 kB / 317.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.1738, allocations: 371.2 kB / 318.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.1747, allocations: 486 kB / 318.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1759, allocations: 1.759 MB / 320.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.1765, allocations: 111.8 kB / 320.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.1766, allocations: 99.91 kB / 320.7 MB, free: 11.56 MB / 298.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: 186 ($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.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,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],$whenCondition12,$whenCondition10,$whenCondition11,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],$whenCondition15,$whenCondition13,$whenCondition14,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.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,$whenCondition1,$whenCondition2,$whenCondition3,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 (323): * Single equations (assignments): 317 * 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.000504/0.1771, allocations: 0.5007 MB / 321.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.1773, allocations: 201.9 kB / 321.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.1794, allocations: 1.76 MB / 323.1 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.1794, allocations: 24 kB / 323.1 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1794, allocations: 8 kB / 323.2 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.1794, allocations: 11.95 kB / 323.2 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.1826, allocations: 2.654 MB / 325.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1826, allocations: 0 / 325.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.1832, allocations: 296.1 kB / 326.1 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/0.1839, allocations: 274.5 kB / 326.4 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.1843, allocations: 348.1 kB / 326.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/0.1844, allocations: 59.95 kB / 326.8 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008952/0.1853, allocations: 1.739 MB / 328.5 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1853, allocations: 7.938 kB / 328.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.1874, allocations: 2.109 MB / 330.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.1876, allocations: 79.48 kB / 330.7 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.188, allocations: 75.95 kB / 330.8 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.1883, allocations: 210.6 kB / 331 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.1884, allocations: 67.95 kB / 331.1 MB, free: 1.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003496/0.1888, allocations: 499.1 kB / 331.5 MB, free: 0.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1888, allocations: 0 / 331.5 MB, free: 0.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001078/0.1898, allocations: 0.6169 MB / 332.2 MB, free: 136 kB / 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: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,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.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,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,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,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 (212): * Single equations (assignments): 176 * 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.001539/0.1914, allocations: 0.8595 MB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.1935, allocations: 1.728 MB / 334.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.678e-05/0.1935, allocations: 28.77 kB / 334.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.1948, allocations: 1.149 MB / 335.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.1976, allocations: 4.7 MB / 340.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.2094, allocations: 3.792 MB / 344.4 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.2097, allocations: 451.4 kB / 344.9 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008491/0.2106, allocations: 407.6 kB / 345.3 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.2119, allocations: 0.728 MB / 346 MB, free: 1.688 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2119, allocations: 0 / 346 MB, free: 1.688 MB / 314.7 MB Notification: Performance of Templates: time 0.04562/0.2575, allocations: 45 MB / 391 MB, free: 5.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & (cd run_cvode && ../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat -s cvode) > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.sim & (cd run_dassl && ../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_res.mat -s dassl) > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.sim & (cd run_gbode && ../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.sim & (cd run_ida && ../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_res.mat -s ida) > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.000606657937169]