Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.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.001962/0.001962, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002304/0.002304, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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 1.466/1.466, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.407e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1495/0.1495, allocations: 25.22 MB / 292.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1599, allocations: 7.094 MB / 299.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.1615, allocations: 73 kB / 299.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.164, allocations: 1.016 MB / 300.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.1679, allocations: 1.649 MB / 302.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005373/0.1732, allocations: 2.32 MB / 304.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005787/0.179, allocations: 5.1 MB / 309.8 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.1813, allocations: 1.783 MB / 311.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.1845, allocations: 2.497 MB / 314.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.1865, allocations: 1.456 MB / 315.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.1869, allocations: 311.8 kB / 315.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.1886, allocations: 0.8918 MB / 316.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005567/0.1891, allocations: 0.893 MB / 317.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008875/0.19, allocations: 0.963 MB / 318.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.1936, allocations: 4.386 MB / 323 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1936, allocations: 4 kB / 323 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1936, allocations: 0 / 323 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.764e-05/0.1936, allocations: 3.938 kB / 323 MB, free: 0.8008 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006248/0.1999, allocations: 3.071 MB / 326 MB, free: 13.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1999, allocations: 8.922 kB / 326 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.2011, allocations: 498.9 kB / 326.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.2038, allocations: 1.422 MB / 327.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003992/0.2042, allocations: 411.6 kB / 328.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/0.2046, allocations: 234.7 kB / 328.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006262/0.2109, allocations: 3.306 MB / 331.9 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.2109, allocations: 7.938 kB / 331.9 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.2112, allocations: 92.05 kB / 332 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.2114, allocations: 99.69 kB / 332.1 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.2163, allocations: 2.291 MB / 334.4 MB, free: 4.945 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/0.2318, allocations: 8.581 MB / 343 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.2353, allocations: 1.806 MB / 344.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.2373, allocations: 1.096 MB / 345.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008564/0.2459, allocations: 3.821 MB / 349.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003203/0.2491, allocations: 1.934 MB / 351.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=207): time 4.388e-06/0.2491, allocations: 0 / 351.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=217): time 0.01913/0.2682, allocations: 8.679 MB / 360.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005342/0.2688, allocations: 0.688 MB / 361 MB, free: 9.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.271, allocations: 1.404 MB / 362.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003279/0.2713, allocations: 129.7 kB / 362.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009856/0.2723, allocations: 0.9216 MB / 363.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000769/0.2731, allocations: 0.6324 MB / 364.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000981/0.2741, allocations: 0.5681 MB / 364.6 MB, free: 6.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2742, allocations: 305.1 kB / 364.9 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.2765, allocations: 1.061 MB / 366 MB, free: 4.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.2795, allocations: 1.992 MB / 368 MB, free: 2.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/0.2841, allocations: 2.61 MB / 370.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.2841, allocations: 4 kB / 370.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.007215/0.2913, allocations: 3.396 MB / 374 MB, free: 11.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.2915, allocations: 109.1 kB / 374.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.565e-05/0.2915, allocations: 20 kB / 374.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.293, allocations: 0.5778 MB / 374.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.2946, allocations: 399.2 kB / 375.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.2975, allocations: 2.281 MB / 377.4 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.2991, allocations: 111.9 kB / 377.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.2993, allocations: 131.8 kB / 377.6 MB, free: 8.219 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.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],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],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.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,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.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.normal.stateGraphRoot.resume,tankController.normal.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,$whenCondition13,$whenCondition14,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001477/0.3008, allocations: 0.8056 MB / 378.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/0.3015, allocations: 278.8 kB / 378.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006687/0.3081, allocations: 3.206 MB / 381.9 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/0.3082, allocations: 24 kB / 381.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.3082, allocations: 8 kB / 381.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.3082, allocations: 11.95 kB / 381.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.3186, allocations: 5.039 MB / 387 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.3186, allocations: 4 kB / 387 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.3198, allocations: 255.5 kB / 387.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.3211, allocations: 0.5628 MB / 387.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.3213, allocations: 67.94 kB / 387.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.324, allocations: 2.236 MB / 390.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.324, allocations: 128 / 390.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009115/0.3331, allocations: 4.619 MB / 394.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.3345, allocations: 450.4 kB / 395.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/0.3349, allocations: 84.09 kB / 395.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.3362, allocations: 100.1 kB / 395.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006294/0.3368, allocations: 269.5 kB / 395.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/0.3371, allocations: 99.92 kB / 395.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001451/0.3385, allocations: 0.8613 MB / 396.5 MB, free: 4.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3385, allocations: 4 kB / 396.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002387/0.3409, allocations: 0.6908 MB / 397.2 MB, free: 4.234 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,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],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.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 discrete states: 50 (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.normal.T3.t_start,tankController.normal.T1.t_start,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.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003127/0.3441, allocations: 0.9055 MB / 398.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006534/0.3506, allocations: 2.896 MB / 401 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.3506, allocations: 1.75 kB / 401 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003757/0.3544, allocations: 1.659 MB / 402.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/0.3578, allocations: 0.7618 MB / 403.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3678, allocations: 4.567 MB / 408 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.3692, allocations: 1.019 MB / 409.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002059/0.3713, allocations: 0.5359 MB / 409.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007048/0.372, allocations: 224.4 kB / 409.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.372, allocations: 0 / 409.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of Templates: time 0.1668/0.5388, allocations: 42.78 MB / 452.6 MB, free: 124.6 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.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: 6.392747799982317]