Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 175.3 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007832/0.0007835, allocations: 90.38 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002525, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2362, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003314/0.2395, allocations: 3.35 MB / 379.9 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.2429, allocations: 3.273 MB / 383.2 MB, free: 40 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.2433, allocations: 30.38 kB / 383.2 MB, free: 39.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009857/0.2443, allocations: 0.4988 MB / 383.7 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007315/0.2451, allocations: 358.1 kB / 384.1 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.247, allocations: 0.9472 MB / 385 MB, free: 38.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.2487, allocations: 1.945 MB / 387 MB, free: 37.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.25, allocations: 1.005 MB / 388 MB, free: 36.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.2504, allocations: 0.5133 MB / 388.5 MB, free: 36.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.2508, allocations: 0.5557 MB / 389.1 MB, free: 35.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-05/0.2509, allocations: 56 kB / 389.1 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.2512, allocations: 127.9 kB / 389.2 MB, free: 35.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.2514, allocations: 318.8 kB / 389.5 MB, free: 35.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003329/0.2518, allocations: 0.6114 MB / 390.2 MB, free: 34.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2529, allocations: 1.987 MB / 392.1 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2529, allocations: 0 / 392.1 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2529, allocations: 0 / 392.1 MB, free: 32.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.2529, allocations: 0 / 392.1 MB, free: 32.7 MB / 298.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.00167/0.2546, allocations: 1.501 MB / 393.6 MB, free: 31.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2546, allocations: 15.97 kB / 393.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.2548, allocations: 163.1 kB / 393.8 MB, free: 30.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.2557, allocations: 0.8842 MB / 394.7 MB, free: 29.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.2559, allocations: 196.5 kB / 394.9 MB, free: 29.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.256, allocations: 143.9 kB / 395 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.2578, allocations: 1.44 MB / 396.5 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2579, allocations: 3.938 kB / 396.5 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.258, allocations: 56 kB / 396.5 MB, free: 28.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/0.258, allocations: 50.17 kB / 396.6 MB, free: 27.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.2594, allocations: 0.9648 MB / 397.5 MB, free: 26.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.2633, allocations: 5.487 MB / 403 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2647, allocations: 1.086 MB / 404.1 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.2653, allocations: 455.6 kB / 404.6 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.2654, allocations: 98.09 kB / 404.7 MB, free: 19.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007944/0.2662, allocations: 0.6269 MB / 405.3 MB, free: 18.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 2.985e-06/0.2662, allocations: 8 kB / 405.3 MB, free: 18.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.001806/0.268, allocations: 1.309 MB / 406.6 MB, free: 17.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.2681, allocations: 319.7 kB / 406.9 MB, free: 17.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.2689, allocations: 0.9447 MB / 407.9 MB, free: 16.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.269, allocations: 93.69 kB / 408 MB, free: 16.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.2693, allocations: 0.5277 MB / 408.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.2695, allocations: 304.2 kB / 408.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.2695, allocations: 32 kB / 408.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2696, allocations: 422.7 kB / 409.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.2702, allocations: 419.7 kB / 409.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.271, allocations: 0.7907 MB / 410.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2721, allocations: 1.193 MB / 411.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2721, allocations: 4 kB / 411.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001663/0.2738, allocations: 1.403 MB / 413 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.2739, allocations: 100.4 kB / 413.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2739, allocations: 11.94 kB / 413.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.2739, allocations: 20 kB / 413.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.2744, allocations: 167.6 kB / 413.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.2745, allocations: 28.45 kB / 413.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.2749, allocations: 154.6 kB / 413.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.275, allocations: 67.98 kB / 413.6 MB, free: 10.21 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00052/0.2755, allocations: 0.5757 MB / 414.1 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2757, allocations: 102.8 kB / 414.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.2771, allocations: 1.106 MB / 415.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2771, allocations: 19.94 kB / 415.4 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2771, allocations: 3.938 kB / 415.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.2771, allocations: 11.91 kB / 415.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.2799, allocations: 2.561 MB / 417.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2799, allocations: 4 kB / 417.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.2802, allocations: 67.83 kB / 418 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2803, allocations: 4 kB / 418 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.2803, allocations: 35.97 kB / 418 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2803, allocations: 4 kB / 418.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2803, allocations: 0 / 418.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.2823, allocations: 1.662 MB / 419.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.2826, allocations: 291.5 kB / 420 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.2827, allocations: 47.92 kB / 420 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.283, allocations: 52.03 kB / 420.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.2833, allocations: 132.8 kB / 420.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.2833, allocations: 47.97 kB / 420.3 MB, free: 3.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005213/0.2839, allocations: 0.581 MB / 420.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2839, allocations: 0 / 420.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007603/0.2846, allocations: 319 kB / 421.2 MB, free: 2.402 MB / 298.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 (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.0009978/0.2857, allocations: 0.5763 MB / 421.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.2872, allocations: 1.259 MB / 423 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2872, allocations: 0 / 423 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006837/0.2879, allocations: 0.6731 MB / 423.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.2887, allocations: 213.5 kB / 423.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.292, allocations: 2.534 MB / 426.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.2927, allocations: 1.154 MB / 427.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006109/0.2933, allocations: 193.2 kB / 427.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.2936, allocations: 107.4 kB / 427.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2936, allocations: 0 / 427.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of Templates: time 0.02167/0.3153, allocations: 13.47 MB / 441.3 MB, free: 14.21 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/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_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches