Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001669/0.001669, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001841/0.001841, allocations: 205.6 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.89 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006403/0.3221, allocations: 3.598 MB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.3274, allocations: 2.669 MB / 437.4 MB, free: 160 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.3281, allocations: 35.75 kB / 437.4 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.3297, allocations: 0.5746 MB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.3308, allocations: 0.5054 MB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.3331, allocations: 1.021 MB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.3359, allocations: 2.212 MB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.3373, allocations: 0.9889 MB / 442.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008454/0.3382, allocations: 0.7437 MB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008677/0.3391, allocations: 0.6922 MB / 444.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.3393, allocations: 200 kB / 444.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.3398, allocations: 299.8 kB / 444.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.3403, allocations: 0.4909 MB / 445.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000623/0.3409, allocations: 0.6181 MB / 445.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.3434, allocations: 2.394 MB / 448.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3434, allocations: 4 kB / 448.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3434, allocations: 0 / 448.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.288e-05/0.3435, allocations: 3.938 kB / 448.2 MB, free: 5.336 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.00321/0.3467, allocations: 1.887 MB / 450 MB, free: 3.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3467, allocations: 19.92 kB / 450.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002375/0.347, allocations: 194.2 kB / 450.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.3479, allocations: 211.8 kB / 450.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.3495, allocations: 0.8285 MB / 451.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.3498, allocations: 281.7 kB / 451.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.3501, allocations: 140.4 kB / 451.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.3526, allocations: 1.55 MB / 453.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.3526, allocations: 8 kB / 453.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3527, allocations: 55.98 kB / 453.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-05/0.3528, allocations: 50.03 kB / 453.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.3547, allocations: 1.071 MB / 454.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007621/0.3623, allocations: 5.375 MB / 459.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.3643, allocations: 1.02 MB / 460.8 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/0.3652, allocations: 0.5577 MB / 461.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/0.3653, allocations: 13 kB / 461.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.3667, allocations: 0.9882 MB / 462.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.657e-06/0.3667, allocations: 0 / 462.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.003301/0.37, allocations: 1.682 MB / 464.1 MB, free: 4.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004005/0.3704, allocations: 0.5325 MB / 464.6 MB, free: 3.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.3721, allocations: 0.9843 MB / 465.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002118/0.3723, allocations: 109.7 kB / 465.7 MB, free: 2.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.3728, allocations: 0.5373 MB / 466.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.3732, allocations: 350.3 kB / 466.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005149/0.3737, allocations: 363.5 kB / 466.9 MB, free: 1.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3739, allocations: 301.1 kB / 467.2 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/0.3748, allocations: 0.5634 MB / 467.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.3762, allocations: 1.067 MB / 468.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.3784, allocations: 1.394 MB / 470.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.3784, allocations: 7.938 kB / 470.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.00318/0.3816, allocations: 1.67 MB / 471.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.3817, allocations: 105.1 kB / 472 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.3817, allocations: 12 kB / 472 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.014e-05/0.3818, allocations: 20 kB / 472.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.3824, allocations: 184.1 kB / 472.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.55e-05/0.3824, allocations: 27.92 kB / 472.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.3832, allocations: 155 kB / 472.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.3833, allocations: 68 kB / 472.5 MB, free: 11.57 MB / 382.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.001028/0.3843, allocations: 0.6378 MB / 473.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.3846, allocations: 115.3 kB / 473.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.3868, allocations: 1.272 MB / 474.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.3868, allocations: 15.98 kB / 474.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.3868, allocations: 8 kB / 474.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.3869, allocations: 11.97 kB / 474.5 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.3913, allocations: 2.577 MB / 477.1 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3914, allocations: 0 / 477.1 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.3917, allocations: 83.77 kB / 477.2 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.3917, allocations: 11.94 kB / 477.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.3918, allocations: 35.98 kB / 477.2 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.3918, allocations: 7.984 kB / 477.3 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3918, allocations: 8 kB / 477.3 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.3951, allocations: 2.121 MB / 479.4 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.3957, allocations: 227 kB / 479.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.3959, allocations: 59.91 kB / 479.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.3963, allocations: 47.97 kB / 479.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.3966, allocations: 144.8 kB / 479.9 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/0.3967, allocations: 48.03 kB / 479.9 MB, free: 3.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008415/0.3975, allocations: 0.6123 MB / 480.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3975, allocations: 0 / 480.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001135/0.3986, allocations: 339.2 kB / 480.8 MB, free: 2.945 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 (119): * Single equations (assignments): 92 * 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.005338/0.404, allocations: 3.156 MB / 484 MB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.4065, allocations: 1.55 MB / 485.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4065, allocations: 0 / 485.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4077, allocations: 0.8257 MB / 486.4 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.4088, allocations: 229.9 kB / 486.6 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.4247, allocations: 10.41 MB / 497 MB, free: 2.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/0.4255, allocations: 0.573 MB / 497.6 MB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006811/0.4261, allocations: 193.8 kB / 497.8 MB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/0.4269, allocations: 483.3 kB / 498.2 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4269, allocations: 0 / 498.2 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06947/0.4963, allocations: 26.89 MB / 0.5128 GB, free: 6.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.63, allocations: 6.719 kB / 0.5128 GB, free: 6.039 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat --tempDir=temp_Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_fmu --startTime=0 --stopTime=100 --stepSize=0.019861 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.438146917615086]