Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 254.1 MB, free: 15.1 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_1_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_1_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 51.92 kB / 373 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1067, allocations: 53.34 MB / 426.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006249/0.1129, allocations: 3.915 MB / 430.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.215/0.3279, allocations: 2.723 MB / 432.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.3287, allocations: 36.88 kB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.3301, allocations: 0.5658 MB / 433.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.3311, allocations: 499.4 kB / 434 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.3332, allocations: 0.9904 MB / 435 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.3357, allocations: 2.182 MB / 437.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.3373, allocations: 1.03 MB / 438.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008431/0.3381, allocations: 0.7521 MB / 439 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000782/0.3389, allocations: 0.7611 MB / 439.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.3392, allocations: 202.3 kB / 439.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.3397, allocations: 302.5 kB / 440.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.3402, allocations: 0.4909 MB / 440.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.3407, allocations: 0.7863 MB / 441.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.3434, allocations: 2.376 MB / 443.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3434, allocations: 0.5625 kB / 443.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3434, allocations: 0 / 443.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.604e-05/0.3434, allocations: 4.516 kB / 443.9 MB, free: 3.484 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.00347/0.3469, allocations: 1.971 MB / 445.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3469, allocations: 9.281 kB / 445.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.3472, allocations: 187.3 kB / 446.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.3483, allocations: 239.2 kB / 446.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3497, allocations: 0.9234 MB / 447.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.3499, allocations: 207.9 kB / 447.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.3501, allocations: 146.4 kB / 447.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.3529, allocations: 1.47 MB / 449 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.3529, allocations: 7.172 kB / 449 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.353, allocations: 53.59 kB / 449.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.671e-05/0.3531, allocations: 52.02 kB / 449.1 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.3554, allocations: 1.001 MB / 450.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008218/0.3636, allocations: 5.829 MB / 456 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.3655, allocations: 1.149 MB / 457.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/0.3663, allocations: 463.8 kB / 457.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/0.3664, allocations: 28.94 kB / 457.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.3678, allocations: 0.8881 MB / 458.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.297e-06/0.3678, allocations: 1.812 kB / 458.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.002916/0.3707, allocations: 1.463 MB / 460 MB, free: 8.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000386/0.3711, allocations: 0.5961 MB / 460.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.3726, allocations: 0.9698 MB / 461.5 MB, free: 7.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.3728, allocations: 112.4 kB / 461.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.3734, allocations: 0.5398 MB / 462.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.3737, allocations: 343.1 kB / 462.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/0.3743, allocations: 371.6 kB / 462.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3744, allocations: 309.1 kB / 463.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008866/0.3753, allocations: 472 kB / 463.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.3767, allocations: 0.9131 MB / 464.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.3794, allocations: 1.368 MB / 465.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.3794, allocations: 3.719 kB / 465.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.003414/0.3828, allocations: 1.565 MB / 467.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.3829, allocations: 102.5 kB / 467.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.3829, allocations: 12.56 kB / 467.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/0.383, allocations: 19.88 kB / 467.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.3836, allocations: 178 kB / 467.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.564e-05/0.3837, allocations: 27.86 kB / 467.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/0.3845, allocations: 155.6 kB / 468 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.3846, allocations: 65.56 kB / 468 MB, free: 2.891 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.001342/0.386, allocations: 0.6414 MB / 468.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.3863, allocations: 116.2 kB / 468.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.3866, allocations: 115.5 kB / 468.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.3866, allocations: 11.81 kB / 468.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.914e-05/0.3866, allocations: 7.656 kB / 468.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.3866, allocations: 9.5 kB / 468.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.3914, allocations: 2.633 MB / 471.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3914, allocations: 6.5 kB / 471.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.3918, allocations: 71.48 kB / 471.6 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.3918, allocations: 7.562 kB / 471.6 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/0.3919, allocations: 38.94 kB / 471.7 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.3919, allocations: 5.188 kB / 471.7 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.3919, allocations: 2.562 kB / 471.7 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.3951, allocations: 1.87 MB / 473.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006048/0.3957, allocations: 299.4 kB / 473.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.3959, allocations: 58.59 kB / 473.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.3963, allocations: 50.81 kB / 474 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/0.3966, allocations: 140.5 kB / 474.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.924e-05/0.3967, allocations: 49.83 kB / 474.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009525/0.3977, allocations: 0.6001 MB / 474.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3977, allocations: 0 / 474.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001455/0.3991, allocations: 351.3 kB / 475.1 MB, free: 14.49 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.005257/0.4044, allocations: 2.87 MB / 478 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.407, allocations: 1.342 MB / 479.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.407, allocations: 4.062 kB / 479.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.4081, allocations: 0.7066 MB / 480 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.4094, allocations: 228 kB / 480.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.4252, allocations: 9.861 MB / 490.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.4262, allocations: 1.166 MB / 491.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007678/0.4269, allocations: 190.2 kB / 491.4 MB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000768/0.4277, allocations: 483.3 kB / 491.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4277, allocations: 0 / 491.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06811/0.4958, allocations: 25.18 MB / 0.505 GB, free: 4.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.54/10.04, allocations: 8.062 kB / 0.505 GB, free: 4.199 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_StateGraph_Examples_ControlledTanks_fmu --startTime=0 --stopTime=100 --stepSize=0.019861 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 12.737842058064416]