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.002993/0.003, allocations: 189 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.569/3.569, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002059/0.002058, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007645/0.0007647, allocations: 12 kB / 327 MB, free: 15.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2079, allocations: 47.59 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.02288/0.2309, allocations: 3.3 MB / 377.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.2455, allocations: 2.371 MB / 380.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00967/0.2553, allocations: 31.81 kB / 380.2 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.2586, allocations: 470.2 kB / 380.7 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.2614, allocations: 331 kB / 381 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01441/0.2759, allocations: 0.702 MB / 381.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009054/0.285, allocations: 1.147 MB / 382.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007788/0.2929, allocations: 0.9207 MB / 383.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.2951, allocations: 494.1 kB / 384.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.297, allocations: 0.5132 MB / 384.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007535/0.2978, allocations: 56 kB / 384.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.2989, allocations: 115.8 kB / 385 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.3001, allocations: 315 kB / 385.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.301, allocations: 276.9 kB / 385.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004917/0.3059, allocations: 1.676 MB / 387.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.306, allocations: 0 / 387.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.559e-06/0.3061, allocations: 4 kB / 387.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000108/0.3062, allocations: 4 kB / 387.2 MB, free: 2.688 MB / 282.7 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.006767/0.313, allocations: 1.509 MB / 388.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.692e-05/0.3131, allocations: 12.03 kB / 388.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.3142, allocations: 162.1 kB / 388.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4216/0.7359, allocations: 0.8569 MB / 389.8 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005831/0.7365, allocations: 197.6 kB / 389.9 MB, free: 19.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007507/0.7373, allocations: 137 kB / 390.1 MB, free: 19.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007111/0.7444, allocations: 1.429 MB / 391.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.738e-05/0.7446, allocations: 3.625 kB / 391.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/0.7449, allocations: 53.09 kB / 391.6 MB, free: 19.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.745, allocations: 50.83 kB / 391.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.7505, allocations: 0.9606 MB / 392.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/0.7673, allocations: 5.488 MB / 398.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/0.7727, allocations: 1.082 MB / 399.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.7731, allocations: 99.5 kB / 399.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003223/0.7763, allocations: 0.63 MB / 399.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 9.999e-06/0.7764, allocations: 0 / 399.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.007882/0.7843, allocations: 1.548 MB / 401.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/0.7846, allocations: 316.8 kB / 401.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.7881, allocations: 0.9338 MB / 402.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005663/0.7888, allocations: 97.86 kB / 402.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009691/0.7898, allocations: 0.5507 MB / 403.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008406/0.7907, allocations: 307.5 kB / 403.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.7909, allocations: 31.75 kB / 403.6 MB, free: 11.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.7911, allocations: 367.8 kB / 404 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.7936, allocations: 408.7 kB / 404.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.7965, allocations: 0.7897 MB / 405.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.7991, allocations: 0.5181 MB / 405.7 MB, free: 9.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.21e-05/0.7992, allocations: 2.344 kB / 405.7 MB, free: 9.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007319/0.8065, allocations: 1.356 MB / 407.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.8067, allocations: 101.2 kB / 407.2 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.621e-05/0.8068, allocations: 9.625 kB / 407.2 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.043e-05/0.8069, allocations: 19.53 kB / 407.2 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.8088, allocations: 177.7 kB / 407.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.967e-05/0.809, allocations: 22.95 kB / 407.4 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.811, allocations: 148.2 kB / 407.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004965/0.8116, allocations: 67.08 kB / 407.6 MB, free: 9.129 MB / 282.7 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,tankController.s1.active,$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.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,$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.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,$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.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,$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.wait1.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.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,$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.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,$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.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,$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,valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps,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 (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.002497/0.8141, allocations: 0.5861 MB / 408.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.8147, allocations: 100.4 kB / 408.3 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/0.8204, allocations: 1.117 MB / 409.4 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/0.8205, allocations: 15.5 kB / 409.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.8205, allocations: 0 / 409.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.209e-05/0.8206, allocations: 9.188 kB / 409.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.8325, allocations: 2.56 MB / 412 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.8326, allocations: 1.312 kB / 412 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.8336, allocations: 71.95 kB / 412.1 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.085e-05/0.8336, allocations: 2.75 kB / 412.1 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/0.8339, allocations: 38.62 kB / 412.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/0.834, allocations: 4.125 kB / 412.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.834, allocations: 1.375 kB / 412.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007978/0.842, allocations: 1.661 MB / 413.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.8433, allocations: 288.7 kB / 414 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006286/0.844, allocations: 42.08 kB / 414.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.8455, allocations: 44.09 kB / 414.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008601/0.8464, allocations: 150.4 kB / 414.3 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/0.8467, allocations: 47.91 kB / 414.3 MB, free: 5.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001933/0.8486, allocations: 0.5806 MB / 414.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.8487, allocations: 0 / 414.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0032/0.8519, allocations: 323.5 kB / 415.2 MB, free: 4.695 MB / 282.7 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,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,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.condition,tankController.T2.enableFire,tankController.T3.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.condition,tankController.T6.enableFire,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,valve2.valveControl,valve3.valveControl,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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 96 * 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.00289/0.8549, allocations: 0.5265 MB / 415.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005544/0.8605, allocations: 1.263 MB / 417 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.8606, allocations: 0 / 417 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00249/0.8631, allocations: 0.6647 MB / 417.7 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.8654, allocations: 181.3 kB / 417.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.8755, allocations: 2.45 MB / 420.3 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/0.8777, allocations: 1.166 MB / 421.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/0.8792, allocations: 115.4 kB / 421.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.394e-06/0.8793, allocations: 0 / 421.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of Templates: time 0.06824/0.9475, allocations: 16.81 MB / 438.4 MB, free: 13.86 MB / 314.7 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