Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 69.48 kB / 10.01 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002733, allocations: 449.8 kB / 10.45 MB, free: 240 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 149 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001928, allocations: 475.6 kB / 11.81 MB, free: 2.355 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9917/0.9917, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07511/1.067, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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=5035,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 239.7 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.372e-05, allocations: 5.688 kB / 239.7 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003769/0.003793, allocations: 3.725 MB / 243.4 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003501/0.007294, allocations: 2.649 MB / 246.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.007836, allocations: 31.81 kB / 246.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.008734, allocations: 0.5714 MB / 246.7 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.009385, allocations: 493.3 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.01111, allocations: 1.123 MB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.01305, allocations: 2.169 MB / 250.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.01417, allocations: 0.9776 MB / 251.5 MB, free: 7.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.01517, allocations: 1.121 MB / 252.6 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.01584, allocations: 0.5413 MB / 253.1 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.01604, allocations: 192 kB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.01642, allocations: 311.7 kB / 253.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.0167, allocations: 399 kB / 254 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.01704, allocations: 399.1 kB / 254.4 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.01817, allocations: 1.269 MB / 255.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.822e-05/0.01819, allocations: 4 kB / 255.7 MB, free: 3.062 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01819, allocations: 0 / 255.7 MB, free: 3.062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.304e-05/0.01823, allocations: 4 kB / 255.7 MB, free: 3.059 MB / 250.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.002075/0.0203, allocations: 2.077 MB / 257.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.02034, allocations: 8.031 kB / 257.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.02057, allocations: 220.7 kB / 258 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.02135, allocations: 0.6651 MB / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.0215, allocations: 277.7 kB / 258.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.02161, allocations: 144.4 kB / 259 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.02262, allocations: 1.12 MB / 260.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.02265, allocations: 7.938 kB / 260.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.02271, allocations: 59.97 kB / 260.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.02276, allocations: 54.19 kB / 260.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.02331, allocations: 475.1 kB / 260.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.02639, allocations: 4.089 MB / 264.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.02711, allocations: 0.7368 MB / 265.6 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.02737, allocations: 354.6 kB / 265.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.852e-05/0.02745, allocations: 28.94 kB / 265.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.02801, allocations: 0.8149 MB / 266.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 2.534e-06/0.02801, allocations: 0 / 266.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.0008337/0.02885, allocations: 0.997 MB / 267.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.02904, allocations: 0.6272 MB / 268.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.02952, allocations: 0.6826 MB / 269.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/0.02961, allocations: 109.7 kB / 269.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.02982, allocations: 444.1 kB / 269.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.03002, allocations: 357.2 kB / 270 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.0303, allocations: 383.2 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.03043, allocations: 361.8 kB / 270.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.03072, allocations: 275.8 kB / 271 MB, free: 2.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.03116, allocations: 0.7744 MB / 271.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007815/0.03194, allocations: 1.061 MB / 272.8 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.03195, allocations: 8 kB / 272.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001006/0.03296, allocations: 1.037 MB / 273.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.03302, allocations: 109.1 kB / 273.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.03303, allocations: 15.94 kB / 274 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.03305, allocations: 20 kB / 274 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.03345, allocations: 231.4 kB / 274.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.03347, allocations: 31.91 kB / 274.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.03376, allocations: 143.1 kB / 274.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.03382, allocations: 59.98 kB / 274.4 MB, free: 14.86 MB / 282.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],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.makeProduct.T2.condition,tankController.makeProduct.T4.condition,stateGraphRoot.suspend,stateGraphRoot.resume) * 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.0003276/0.03415, allocations: 440.5 kB / 274.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.03427, allocations: 119.9 kB / 275 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.035, allocations: 0.8371 MB / 275.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.03501, allocations: 12 kB / 275.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.03502, allocations: 7.938 kB / 275.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.03503, allocations: 11.97 kB / 275.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.03666, allocations: 1.59 MB / 277.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.03667, allocations: 4 kB / 277.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.03688, allocations: 99.73 kB / 277.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.03708, allocations: 151 kB / 277.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.03709, allocations: 8 kB / 277.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.03713, allocations: 35.97 kB / 277.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.03714, allocations: 8 kB / 277.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.03714, allocations: 0 / 277.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.03816, allocations: 1.337 MB / 279.1 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.03828, allocations: 64.02 kB / 279.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.03851, allocations: 39.97 kB / 279.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.03871, allocations: 120.7 kB / 279.3 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.03876, allocations: 51.97 kB / 279.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.03897, allocations: 264.5 kB / 279.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03897, allocations: 0 / 279.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.03952, allocations: 347.2 kB / 279.9 MB, free: 9.098 MB / 282.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.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,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.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,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.001308/0.04083, allocations: 0.7166 MB / 280.7 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.04183, allocations: 1.142 MB / 281.8 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/0.04185, allocations: 12.38 kB / 281.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.04239, allocations: 0.7136 MB / 282.5 MB, free: 6.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/0.04338, allocations: 1.586 MB / 284.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.04569, allocations: 2.084 MB / 286.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.04587, allocations: 258.5 kB / 286.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003328/0.0462, allocations: 173.7 kB / 286.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.04666, allocations: 337.1 kB / 286.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04666, allocations: 0 / 286.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of Templates: time 0.1052/0.1518, allocations: 17.1 MB / 304 MB, free: 36.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (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 & (cd run_cvode && ../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat -s cvode) > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_dassl.sim & (cd run_dassl && ../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_dassl_res.mat -s dassl) > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_dassl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_gbode.sim & (cd run_gbode && ../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_gbode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_ida.sim & (cd run_ida && ../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_ida_res.mat -s ida) > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_ida_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1516574528068304]