Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 183.6 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 225.7 MB / 243.2 MB, free: 8.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007539/0.0007541, allocations: 90.73 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002655, allocations: 11.94 kB / 354.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1924, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.002805/0.1952, allocations: 3.384 MB / 408 MB, free: 27.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1981, allocations: 3.381 MB / 411.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.1984, allocations: 27.88 kB / 411.4 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008741/0.1993, allocations: 0.5014 MB / 411.9 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.1999, allocations: 366.2 kB / 412.2 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2014, allocations: 0.9887 MB / 413.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.2028, allocations: 1.978 MB / 415.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009081/0.2037, allocations: 1.027 MB / 416.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.2041, allocations: 0.5289 MB / 416.7 MB, free: 18.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.2045, allocations: 0.5829 MB / 417.3 MB, free: 18.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.5e-05/0.2046, allocations: 56 kB / 417.4 MB, free: 18.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.2048, allocations: 131.9 kB / 417.5 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.205, allocations: 334.7 kB / 417.8 MB, free: 17.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.2054, allocations: 0.6425 MB / 418.5 MB, free: 17.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.2065, allocations: 2.038 MB / 420.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2065, allocations: 0 / 420.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2065, allocations: 0 / 420.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.2065, allocations: 0 / 420.5 MB, free: 15.13 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.001704/0.2083, allocations: 1.567 MB / 422.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2083, allocations: 8.031 kB / 422.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.2085, allocations: 163.1 kB / 422.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008783/0.2094, allocations: 0.9037 MB / 423.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.2095, allocations: 208.7 kB / 423.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.2097, allocations: 143.9 kB / 423.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.2115, allocations: 1.48 MB / 425 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.2115, allocations: 7.938 kB / 425 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.2116, allocations: 55.98 kB / 425 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.2117, allocations: 46.19 kB / 425.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.213, allocations: 0.9843 MB / 426.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.217, allocations: 5.543 MB / 431.6 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.2184, allocations: 1.26 MB / 432.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.219, allocations: 0.5297 MB / 433.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.2191, allocations: 98.09 kB / 433.5 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009154/0.2201, allocations: 0.9126 MB / 434.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=133): time 2.665e-06/0.2201, allocations: 0 / 434.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of matching and sorting (n=133): time 0.002267/0.2223, allocations: 1.466 MB / 435.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002767/0.2226, allocations: 0.6117 MB / 436.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/0.2236, allocations: 0.9291 MB / 437.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.2238, allocations: 113.7 kB / 437.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.2242, allocations: 0.5127 MB / 438 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.2245, allocations: 343.7 kB / 438.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.2245, allocations: 32 kB / 438.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.2248, allocations: 430.7 kB / 438.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.2256, allocations: 471.8 kB / 439.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.2267, allocations: 0.9078 MB / 440.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.2284, allocations: 1.364 MB / 441.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.2284, allocations: 4 kB / 441.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00223/0.2307, allocations: 1.567 MB / 443.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.2307, allocations: 105.1 kB / 443.2 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.2308, allocations: 16.09 kB / 443.2 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/0.2308, allocations: 20 kB / 443.3 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.2314, allocations: 187.5 kB / 443.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.2314, allocations: 27.88 kB / 443.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.232, allocations: 150.6 kB / 443.6 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.2321, allocations: 79.98 kB / 443.7 MB, free: 6.586 MB / 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.0007315/0.2328, allocations: 0.638 MB / 444.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.233, allocations: 114.8 kB / 444.5 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.2348, allocations: 1.191 MB / 445.6 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.2348, allocations: 19.98 kB / 445.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2348, allocations: 0 / 445.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2348, allocations: 11.97 kB / 445.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/0.2383, allocations: 2.735 MB / 448.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2384, allocations: 0 / 448.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.2387, allocations: 83.75 kB / 448.5 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.2387, allocations: 7.938 kB / 448.5 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/0.2388, allocations: 39.97 kB / 448.5 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.2388, allocations: 8 kB / 448.5 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2388, allocations: 0 / 448.5 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.2413, allocations: 1.907 MB / 450.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.2417, allocations: 307.4 kB / 450.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.2419, allocations: 67.91 kB / 450.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.2422, allocations: 47.97 kB / 450.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.2425, allocations: 153.1 kB / 451 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.2426, allocations: 55.97 kB / 451.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006204/0.2433, allocations: 0.5693 MB / 451.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2433, allocations: 3.938 kB / 451.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008803/0.2442, allocations: 347 kB / 452 MB, free: 14.08 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.001038/0.2452, allocations: 0.6285 MB / 452.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.2472, allocations: 1.472 MB / 454.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2472, allocations: 256 / 454.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009948/0.2482, allocations: 0.8631 MB / 454.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2493, allocations: 213.6 kB / 455.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.2526, allocations: 2.706 MB / 457.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.2532, allocations: 1.162 MB / 459 MB, free: 7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005793/0.2538, allocations: 201.6 kB / 459.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.2541, allocations: 107.4 kB / 459.3 MB, free: 6.695 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2541, allocations: 4 kB / 459.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of Templates: time 0.02282/0.2769, allocations: 14.38 MB / 473.7 MB, free: 8.387 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches