Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001036, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009411/0.0009411, allocations: 95.69 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 8 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3048, allocations: 51.42 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004345/0.3092, allocations: 3.417 MB / 415.5 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005393/0.3146, allocations: 3.872 MB / 419.3 MB, free: 18.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009267/0.3156, allocations: 27.88 kB / 419.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.3169, allocations: 0.4959 MB / 419.9 MB, free: 17.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.3182, allocations: 422.5 kB / 420.3 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.3211, allocations: 0.9832 MB / 421.3 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.3239, allocations: 2.024 MB / 423.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.3252, allocations: 1.023 MB / 424.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.3257, allocations: 0.5367 MB / 424.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.3262, allocations: 0.579 MB / 425.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3263, allocations: 60 kB / 425.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.3267, allocations: 127.9 kB / 425.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.3269, allocations: 342.7 kB / 425.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.3274, allocations: 0.6581 MB / 426.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.3286, allocations: 2.045 MB / 428.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3287, allocations: 7.938 kB / 428.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3287, allocations: 0 / 428.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3287, allocations: 4 kB / 428.6 MB, free: 8.961 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: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.00187/0.3306, allocations: 1.575 MB / 430.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3306, allocations: 16.03 kB / 430.2 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.3309, allocations: 163.1 kB / 430.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.3323, allocations: 0.9191 MB / 431.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.3325, allocations: 204.7 kB / 431.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.3328, allocations: 151.9 kB / 431.7 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.3358, allocations: 1.476 MB / 433.1 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.3358, allocations: 3.938 kB / 433.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.336, allocations: 55.98 kB / 433.2 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.336, allocations: 54.19 kB / 433.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.3383, allocations: 0.9766 MB / 434.2 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007686/0.346, allocations: 5.558 MB / 439.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.3487, allocations: 1.266 MB / 441.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.3498, allocations: 0.5219 MB / 441.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.35, allocations: 110 kB / 441.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/0.3518, allocations: 0.8895 MB / 442.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 4.739e-06/0.3518, allocations: 0 / 442.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.003943/0.3558, allocations: 1.48 MB / 444.1 MB, free: 8.801 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000402/0.3562, allocations: 0.6039 MB / 444.7 MB, free: 8.059 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.3578, allocations: 0.9527 MB / 445.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.358, allocations: 118.4 kB / 445.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.3584, allocations: 0.5243 MB / 446.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.3587, allocations: 335.8 kB / 446.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.3588, allocations: 39.94 kB / 446.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.359, allocations: 373.9 kB / 447 MB, free: 5.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/0.3598, allocations: 467.8 kB / 447.4 MB, free: 5.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.3609, allocations: 0.9116 MB / 448.3 MB, free: 4.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.3627, allocations: 1.367 MB / 449.7 MB, free: 2.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3627, allocations: 11.94 kB / 449.7 MB, free: 2.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002487/0.3652, allocations: 1.56 MB / 451.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3653, allocations: 105.1 kB / 451.4 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.3653, allocations: 12 kB / 451.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.3654, allocations: 24 kB / 451.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.366, allocations: 187.5 kB / 451.6 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.438e-05/0.366, allocations: 27.92 kB / 451.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.3666, allocations: 150.8 kB / 451.8 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3668, allocations: 79.97 kB / 451.9 MB, free: 404 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,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,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition11,$whenCondition10,$whenCondition12,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition14,$whenCondition13,$whenCondition15,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T6.t_start,tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * 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.0009915/0.3678, allocations: 0.6458 MB / 452.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.368, allocations: 118.7 kB / 452.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.3699, allocations: 1.191 MB / 453.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.3699, allocations: 16 kB / 453.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.3699, allocations: 4 kB / 453.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3699, allocations: 7.969 kB / 453.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.3742, allocations: 2.75 MB / 456.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.3742, allocations: 3.984 kB / 456.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.3746, allocations: 75.83 kB / 456.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.3746, allocations: 7.938 kB / 456.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.26e-05/0.3747, allocations: 39.97 kB / 456.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.3747, allocations: 15.94 kB / 456.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3747, allocations: 4 kB / 456.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.3777, allocations: 1.902 MB / 458.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.3782, allocations: 319.4 kB / 458.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.3784, allocations: 59.92 kB / 459 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.3788, allocations: 56.03 kB / 459.1 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/0.3791, allocations: 148.8 kB / 459.2 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.3792, allocations: 51.97 kB / 459.3 MB, free: 8.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008027/0.38, allocations: 0.5889 MB / 459.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.38, allocations: 0 / 459.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001199/0.3812, allocations: 347 kB / 460.2 MB, free: 7.836 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.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,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,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,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (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,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.3825, allocations: 0.6273 MB / 460.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.3851, allocations: 1.483 MB / 462.3 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.3851, allocations: 0 / 462.3 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.3862, allocations: 0.8632 MB / 463.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3874, allocations: 214.6 kB / 463.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.3915, allocations: 2.736 MB / 466.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.3924, allocations: 1.17 MB / 467.3 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008094/0.3932, allocations: 209.8 kB / 467.5 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.3935, allocations: 115.4 kB / 467.6 MB, free: 400 kB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3935, allocations: 0 / 467.6 MB, free: 400 kB / 330.7 MB Notification: Performance of Templates: time 0.02827/0.4218, allocations: 14.49 MB / 482.1 MB, free: 1.996 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches