Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001489, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001819, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.06 kB / 306.9 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005276/0.1216, allocations: 3.894 MB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.1258, allocations: 2.713 MB / 364.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004793/0.1264, allocations: 27.88 kB / 364.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1277, allocations: 0.5638 MB / 364.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009695/0.1287, allocations: 497 kB / 365.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.1307, allocations: 0.9824 MB / 366.1 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.1326, allocations: 2.173 MB / 368.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.1339, allocations: 1.244 MB / 369.5 MB, free: 1.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.1346, allocations: 0.732 MB / 370.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007769/0.1354, allocations: 0.7352 MB / 371 MB, free: 476 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.1356, allocations: 204 kB / 371.2 MB, free: 272 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2494/0.385, allocations: 280.8 kB / 371.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.3865, allocations: 0.4892 MB / 372 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.3881, allocations: 0.7981 MB / 372.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004728/0.3929, allocations: 2.273 MB / 375 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.3929, allocations: 1.031 kB / 375 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.3e-06/0.3929, allocations: 0.7031 kB / 375 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.558e-05/0.393, allocations: 0 / 375 MB, free: 12.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.005145/0.3982, allocations: 1.94 MB / 377 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/0.3982, allocations: 8.812 kB / 377 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.3996, allocations: 201.7 kB / 377.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.4016, allocations: 0.9036 MB / 378.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.4019, allocations: 203 kB / 378.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.4022, allocations: 148.2 kB / 378.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.4062, allocations: 1.466 MB / 379.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.4062, allocations: 5.625 kB / 379.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.4064, allocations: 62.34 kB / 380 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.4065, allocations: 49.44 kB / 380 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.409, allocations: 0.9756 MB / 381 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009303/0.4183, allocations: 5.881 MB / 386.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.4208, allocations: 1.227 MB / 388.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.4218, allocations: 0.5297 MB / 388.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-05/0.4219, allocations: 21.94 kB / 388.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.4234, allocations: 0.8888 MB / 389.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=131): time 3.566e-06/0.4234, allocations: 0 / 389.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.003264/0.4267, allocations: 1.458 MB / 391 MB, free: 3.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002623/0.427, allocations: 0.6094 MB / 391.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.4288, allocations: 0.958 MB / 392.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.429, allocations: 115.1 kB / 392.7 MB, free: 2.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/0.4296, allocations: 0.5284 MB / 393.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.43, allocations: 332.5 kB / 393.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006485/0.4307, allocations: 368.5 kB / 393.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.4308, allocations: 301.1 kB / 394.2 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009828/0.4318, allocations: 468.2 kB / 394.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.433, allocations: 0.9135 MB / 395.6 MB, free: 428 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.4354, allocations: 1.375 MB / 396.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4354, allocations: 2.75 kB / 396.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.003103/0.4385, allocations: 1.56 MB / 398.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.4387, allocations: 101.6 kB / 398.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.4387, allocations: 12.38 kB / 398.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.078e-05/0.4388, allocations: 20.62 kB / 398.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.4395, allocations: 182.6 kB / 398.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.256e-05/0.4395, allocations: 31.23 kB / 398.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/0.4403, allocations: 147.2 kB / 399 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.4405, allocations: 69.88 kB / 399 MB, free: 14.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 178 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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],$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,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.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.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.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,$whenCondition13,$whenCondition14,$whenCondition15,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,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.4417, allocations: 0.6392 MB / 399.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.4419, allocations: 110.7 kB / 399.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.4422, allocations: 119.4 kB / 399.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.4422, allocations: 12.62 kB / 399.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.583e-05/0.4423, allocations: 2.906 kB / 399.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.4423, allocations: 14.66 kB / 399.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/0.4468, allocations: 2.638 MB / 402.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4468, allocations: 3.688 kB / 402.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.4471, allocations: 72.97 kB / 402.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.4471, allocations: 11.62 kB / 402.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/0.4472, allocations: 39.78 kB / 402.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.4472, allocations: 3.781 kB / 402.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4473, allocations: 3.906 kB / 402.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.4505, allocations: 1.861 MB / 404.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/0.4509, allocations: 296 kB / 404.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.4512, allocations: 62.75 kB / 404.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.4515, allocations: 41.19 kB / 405 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/0.4519, allocations: 140.1 kB / 405.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.452, allocations: 49.83 kB / 405.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009736/0.453, allocations: 0.6076 MB / 405.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.453, allocations: 0 / 405.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001281/0.4543, allocations: 339 kB / 406.1 MB, free: 9.762 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 105 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.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,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],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (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.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.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,tankController.makeProduct.T1.t_start,tankController.makeProduct.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 clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.4556, allocations: 0.5471 MB / 406.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003625/0.4593, allocations: 1.624 MB / 408.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4593, allocations: 1.812 kB / 408.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4605, allocations: 0.8394 MB / 409.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4616, allocations: 241.4 kB / 409.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.4658, allocations: 2.284 MB / 411.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/0.4667, allocations: 1.166 MB / 412.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008041/0.4676, allocations: 193.6 kB / 413 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.4678, allocations: 106.5 kB / 413.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4679, allocations: 0 / 413.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Templates: time 0.03408/0.5019, allocations: 14.92 MB / 428 MB, free: 4.062 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches