Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.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.1.0-beta.om_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.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.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 75.83 kB / 374.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1133, allocations: 53.31 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006009/0.1193, allocations: 3.93 MB / 432 MB, free: 432 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2325/0.3518, allocations: 2.712 MB / 434.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.3525, allocations: 27.44 kB / 434.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3538, allocations: 0.5742 MB / 435.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.3548, allocations: 499.6 kB / 435.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3567, allocations: 0.9887 MB / 436.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.3592, allocations: 2.178 MB / 438.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.3606, allocations: 1.024 MB / 440 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.3615, allocations: 0.7415 MB / 440.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008859/0.3623, allocations: 0.7623 MB / 441.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002913/0.3626, allocations: 203.4 kB / 441.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.3632, allocations: 297.7 kB / 441.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.3636, allocations: 0.494 MB / 442.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.3642, allocations: 0.7894 MB / 443.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.3669, allocations: 2.377 MB / 445.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.367, allocations: 1.344 kB / 445.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.367, allocations: 0.7969 kB / 445.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.992e-05/0.367, allocations: 0 / 445.6 MB, free: 3.551 MB / 350.1 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.003048/0.3701, allocations: 1.975 MB / 447.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3701, allocations: 10.09 kB / 447.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.3712, allocations: 232.9 kB / 447.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3725, allocations: 0.9261 MB / 448.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.3726, allocations: 203.9 kB / 448.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.3728, allocations: 147.2 kB / 449.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.3751, allocations: 1.479 MB / 450.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.3752, allocations: 7.625 kB / 450.6 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.3753, allocations: 53.47 kB / 450.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.3753, allocations: 52.22 kB / 450.7 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.3771, allocations: 0.9745 MB / 451.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007331/0.3844, allocations: 5.821 MB / 457.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.3863, allocations: 1.152 MB / 458.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007963/0.3871, allocations: 466.4 kB / 459.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.3871, allocations: 17.81 kB / 459.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.3885, allocations: 0.8905 MB / 460 MB, free: 9.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.126e-06/0.3885, allocations: 0 / 460 MB, free: 9.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.002875/0.3913, allocations: 1.462 MB / 461.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003972/0.3917, allocations: 0.604 MB / 462.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.3932, allocations: 0.9731 MB / 463 MB, free: 7.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002103/0.3934, allocations: 109 kB / 463.1 MB, free: 7.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/0.394, allocations: 0.5395 MB / 463.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.3943, allocations: 341.9 kB / 464 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005362/0.3948, allocations: 374.3 kB / 464.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.395, allocations: 305.2 kB / 464.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.3958, allocations: 466.1 kB / 465.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.3971, allocations: 0.9174 MB / 466 MB, free: 5.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.3992, allocations: 1.372 MB / 467.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.3992, allocations: 3.281 kB / 467.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002791/0.402, allocations: 1.562 MB / 469 MB, free: 3.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.4021, allocations: 102.6 kB / 469.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4021, allocations: 14.78 kB / 469.1 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.392e-05/0.4021, allocations: 28.86 kB / 469.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.4028, allocations: 174 kB / 469.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/0.4028, allocations: 32.58 kB / 469.3 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.4036, allocations: 153.5 kB / 469.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4037, allocations: 66.16 kB / 469.5 MB, free: 2.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 178 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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,$whenCondition13,$whenCondition14,$whenCondition15,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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,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 (212): * Single equations (assignments): 209 * 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.001119/0.4048, allocations: 0.637 MB / 470.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.405, allocations: 125.6 kB / 470.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.4053, allocations: 114.8 kB / 470.4 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.4053, allocations: 17.81 kB / 470.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/0.4053, allocations: 5.656 kB / 470.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4054, allocations: 10.44 kB / 470.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.4096, allocations: 2.624 MB / 473.1 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.4096, allocations: 5.75 kB / 473.1 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.41, allocations: 71.06 kB / 473.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.41, allocations: 6.281 kB / 473.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.4101, allocations: 38.59 kB / 473.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.4101, allocations: 10.59 kB / 473.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4101, allocations: 1.844 kB / 473.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.4131, allocations: 1.871 MB / 475.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.4136, allocations: 294.8 kB / 475.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.4138, allocations: 58.09 kB / 475.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.4142, allocations: 47.34 kB / 475.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.4145, allocations: 138.9 kB / 475.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.4146, allocations: 47.72 kB / 475.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008691/0.4155, allocations: 0.6004 MB / 476.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4155, allocations: 4 kB / 476.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001261/0.4167, allocations: 352 kB / 476.6 MB, free: 14.52 MB / 382.1 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: 105 (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.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,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.localCondition,tankController.T2.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.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 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (116): * Single equations (assignments): 89 * 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.001782/0.4185, allocations: 0.5586 MB / 477.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.421, allocations: 1.337 MB / 478.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.421, allocations: 0 / 478.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.422, allocations: 0.7029 MB / 479.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4232, allocations: 225 kB / 479.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.4274, allocations: 2.333 MB / 481.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009087/0.4283, allocations: 1.162 MB / 482.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.4287, allocations: 107.4 kB / 483 MB, free: 8.133 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4287, allocations: 0 / 483 MB, free: 8.133 MB / 382.1 MB Notification: Performance of Templates: time 0.029/0.4577, allocations: 17.93 MB / 0.4892 GB, free: 6.234 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.150530486134812]