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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002416/0.002415, allocations: 180.6 kB / 8.151 MB, free: 2.188 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.788/1.788, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001242/0.001241, allocations: 87.61 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.052e-05, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2485, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.3795, allocations: 82.19 MB / 444 MB, free: 3.867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.3798, allocations: 80.44 kB / 444.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1652/0.5451, allocations: 39.51 MB / 483.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.5453, allocations: 32 kB / 483.6 MB, free: 12.27 MB / 378.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.003924/0.5492, allocations: 1.424 MB / 485.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.5493, allocations: 8.031 kB / 485.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.55, allocations: 158.2 kB / 485.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.5529, allocations: 0.8915 MB / 486.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.5532, allocations: 147.5 kB / 486.3 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.5536, allocations: 88 kB / 486.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003377/0.557, allocations: 0.8523 MB / 487.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.5609, allocations: 1.245 MB / 488.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.561, allocations: 7.938 kB / 488.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.5611, allocations: 7.984 kB / 488.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.049e-05/0.5612, allocations: 46.19 kB / 488.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.5716, allocations: 5.243 MB / 493.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.574, allocations: 0.9605 MB / 494.7 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.5752, allocations: 412.4 kB / 495.1 MB, free: 300 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.5754, allocations: 94.09 kB / 495.2 MB, free: 188 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.5768, allocations: 0.5587 MB / 495.8 MB, free: 15.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 4.248e-06/0.5769, allocations: 0 / 495.8 MB, free: 15.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=116): time 0.002507/0.5794, allocations: 0.7483 MB / 496.5 MB, free: 14.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.5796, allocations: 319.7 kB / 496.8 MB, free: 14.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.5816, allocations: 0.8192 MB / 497.6 MB, free: 13.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.5821, allocations: 69.69 kB / 497.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.5825, allocations: 450.7 kB / 498.1 MB, free: 13.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/0.5831, allocations: 272.6 kB / 498.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.5832, allocations: 4 kB / 498.4 MB, free: 12.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.5834, allocations: 366.8 kB / 498.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.5846, allocations: 372 kB / 499.1 MB, free: 12.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.5861, allocations: 0.7439 MB / 499.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.5874, allocations: 406.1 kB / 0.4886 GB, free: 10.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.5875, allocations: 0 / 0.4886 GB, free: 10.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003232/0.5907, allocations: 1.088 MB / 0.4896 GB, free: 9.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5908, allocations: 8.25 kB / 0.4896 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.5908, allocations: 8 kB / 0.4896 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-05/0.5909, allocations: 20 kB / 0.4897 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.5922, allocations: 179.5 kB / 0.4898 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.323e-05/0.5922, allocations: 19.94 kB / 0.4898 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.5931, allocations: 71.5 kB / 0.4899 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.5933, allocations: 63.98 kB / 0.49 GB, free: 9.352 MB / 394.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,$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.0005344/0.5938, allocations: 258.1 kB / 0.4902 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/0.5943, allocations: 98.78 kB / 0.4903 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.5972, allocations: 0.869 MB / 0.4912 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.5973, allocations: 19.84 kB / 0.4912 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5973, allocations: 7.938 kB / 0.4912 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.5973, allocations: 3.984 kB / 0.4912 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006422/0.6038, allocations: 2.219 MB / 0.4934 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.6038, allocations: 4 kB / 0.4934 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.6046, allocations: 79.83 kB / 0.4934 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.6046, allocations: 4 kB / 0.4934 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.6047, allocations: 19.97 kB / 0.4935 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.6047, allocations: 7.906 kB / 0.4935 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6047, allocations: 4 kB / 0.4935 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00392/0.6087, allocations: 1.406 MB / 0.4948 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.6096, allocations: 311.5 kB / 0.4951 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.6099, allocations: 23.98 kB / 0.4952 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.6107, allocations: 32.03 kB / 0.4952 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005189/0.6112, allocations: 144.8 kB / 0.4953 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.6114, allocations: 47.97 kB / 0.4954 GB, free: 3.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001236/0.6126, allocations: 0.5382 MB / 0.4959 GB, free: 3.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001682/0.6143, allocations: 236.8 kB / 0.4961 GB, free: 2.918 MB / 394.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,$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.0013/0.6157, allocations: 433.4 kB / 0.4965 GB, free: 2.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.6188, allocations: 1.089 MB / 0.4976 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.6188, allocations: 4 kB / 0.4976 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.6202, allocations: 0.5632 MB / 0.4982 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6218, allocations: 164.5 kB / 0.4983 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.134/0.7558, allocations: 1.661 MB / 0.4999 GB, free: 149.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.7575, allocations: 1.276 MB / 0.5012 GB, free: 148.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.572e-06/0.7575, allocations: 3.625 kB / 0.5012 GB, free: 148.7 MB / 394.7 MB Notification: Performance of Templates: time 0.03353/0.791, allocations: 17 MB / 0.5178 GB, free: 147.7 MB / 394.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