Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.001456, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 94.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.188e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3444, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.48, allocations: 82.27 MB / 444.6 MB, free: 4.031 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.4804, allocations: 71.97 kB / 444.7 MB, free: 3.961 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1676/0.648, allocations: 40.06 MB / 484.7 MB, free: 11.93 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6481, allocations: 0 / 484.7 MB, free: 11.93 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.6482, allocations: 32 kB / 484.8 MB, free: 11.9 MB / 379.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.003751/0.652, allocations: 1.418 MB / 486.2 MB, free: 10.37 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.6521, allocations: 8.031 kB / 486.2 MB, free: 10.36 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/0.6527, allocations: 154.2 kB / 486.3 MB, free: 10.21 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.6552, allocations: 0.8877 MB / 487.2 MB, free: 9.277 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.6555, allocations: 151.5 kB / 487.4 MB, free: 9.109 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.6558, allocations: 87.94 kB / 487.5 MB, free: 9.023 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002717/0.6586, allocations: 0.8405 MB / 488.3 MB, free: 8.18 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.6618, allocations: 1.245 MB / 489.5 MB, free: 6.816 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.6619, allocations: 3.938 kB / 489.5 MB, free: 6.812 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.662, allocations: 11.98 kB / 489.6 MB, free: 6.801 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.011e-05/0.6621, allocations: 42.19 kB / 489.6 MB, free: 6.758 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009762/0.6719, allocations: 5.247 MB / 494.8 MB, free: 1.371 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.6744, allocations: 1.008 MB / 495.9 MB, free: 308 kB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.6754, allocations: 413.3 kB / 496.3 MB, free: 15.89 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.6756, allocations: 90.42 kB / 496.3 MB, free: 15.79 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.677, allocations: 0.5975 MB / 496.9 MB, free: 15.16 MB / 395.1 MB Notification: Performance of pre-optimization done (n=116): time 4.168e-06/0.677, allocations: 0 / 496.9 MB, free: 15.16 MB / 395.1 MB Notification: Performance of matching and sorting (n=116): time 0.002547/0.6796, allocations: 0.8395 MB / 497.8 MB, free: 14.31 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001996/0.6798, allocations: 316 kB / 498.1 MB, free: 13.93 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.6817, allocations: 0.8231 MB / 498.9 MB, free: 13.11 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002891/0.682, allocations: 69.69 kB / 499 MB, free: 13.03 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/0.6826, allocations: 0.5457 MB / 499.5 MB, free: 12.48 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.683, allocations: 276.4 kB / 499.8 MB, free: 12.21 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.6831, allocations: 4 kB / 499.8 MB, free: 12.2 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.6834, allocations: 374.7 kB / 0.4884 GB, free: 11.83 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.6844, allocations: 368 kB / 0.4888 GB, free: 11.47 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.6858, allocations: 0.7323 MB / 0.4895 GB, free: 10.58 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.687, allocations: 402.1 kB / 0.4899 GB, free: 10.19 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.687, allocations: 7.938 kB / 0.4899 GB, free: 10.18 MB / 395.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002985/0.69, allocations: 1.118 MB / 0.491 GB, free: 9.059 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.6901, allocations: 93.09 kB / 0.4911 GB, free: 8.949 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.6902, allocations: 11.98 kB / 0.4911 GB, free: 8.938 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.771e-05/0.6902, allocations: 20 kB / 0.4911 GB, free: 8.918 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6913, allocations: 175.5 kB / 0.4913 GB, free: 8.746 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.453e-05/0.6914, allocations: 23.92 kB / 0.4913 GB, free: 8.723 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6924, allocations: 75.5 kB / 0.4914 GB, free: 8.648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.6926, allocations: 67.98 kB / 0.4914 GB, free: 8.582 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 146 ($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,$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,$PRE.start.reset[1],start.reset[1],$PRE.start.reset[2],start.reset[2],$PRE.start.on,start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.reset[1],stop.reset[1],$PRE.stop.reset[2],stop.reset[2],$PRE.stop.on,stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.reset[1],shut.reset[1],$PRE.shut.reset[2],shut.reset[2],$PRE.shut.on,shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005484/0.6932, allocations: 341.3 kB / 0.4918 GB, free: 8.211 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.6934, allocations: 102.8 kB / 0.4919 GB, free: 8.109 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.6962, allocations: 0.9489 MB / 0.4928 GB, free: 7.152 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.6963, allocations: 15.94 kB / 0.4928 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6963, allocations: 0 / 0.4928 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.6963, allocations: 3.984 kB / 0.4928 GB, free: 7.133 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005827/0.7022, allocations: 2.288 MB / 0.495 GB, free: 4.797 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.7022, allocations: 4 kB / 0.495 GB, free: 4.793 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.7029, allocations: 83.77 kB / 0.4951 GB, free: 4.711 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.703, allocations: 4 kB / 0.4951 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-05/0.7031, allocations: 19.97 kB / 0.4952 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.7031, allocations: 4 kB / 0.4952 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7031, allocations: 3.953 kB / 0.4952 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/0.7068, allocations: 1.48 MB / 0.4966 GB, free: 3.184 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007768/0.7077, allocations: 307.6 kB / 0.4969 GB, free: 2.863 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.7079, allocations: 32.03 kB / 0.4969 GB, free: 2.832 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/0.7086, allocations: 27.97 kB / 0.497 GB, free: 2.805 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/0.7091, allocations: 161 kB / 0.4971 GB, free: 2.648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.7093, allocations: 43.97 kB / 0.4972 GB, free: 2.605 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.7104, allocations: 0.5382 MB / 0.4977 GB, free: 2.066 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7104, allocations: 3.938 kB / 0.4977 GB, free: 2.062 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001517/0.7119, allocations: 244.8 kB / 0.4979 GB, free: 1.824 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 95 (tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse4,$cse5,$cse7,$cse9,$cse10,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 30 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition8,$whenCondition7,shut.on,shut.reset[1],shut.reset[2],stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition10,$whenCondition9,stop.on,stop.reset[1],stop.reset[2],start.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,start.on,start.reset[1],start.reset[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/0.7133, allocations: 479.7 kB / 0.4984 GB, free: 1.371 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002759/0.7161, allocations: 1.177 MB / 0.4995 GB, free: 164 kB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7161, allocations: 1 kB / 0.4995 GB, free: 164 kB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2727/0.9889, allocations: 0.6281 MB / 0.5001 GB, free: 108.1 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.9905, allocations: 156.8 kB / 0.5003 GB, free: 108.1 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.9952, allocations: 1.638 MB / 0.5019 GB, free: 107.7 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.9965, allocations: 1.169 MB / 0.503 GB, free: 107 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008516/0.9974, allocations: 117.7 kB / 0.5031 GB, free: 107 MB / 395.1 MB Notification: Performance of SimCode: time 1.513e-06/0.9974, allocations: 0 / 0.5031 GB, free: 107 MB / 395.1 MB Notification: Performance of Templates: time 0.0446/1.042, allocations: 16.97 MB / 0.5197 GB, free: 105.8 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","../files/Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches