Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 109.4 kB / 18.4 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 185.2 kB / 19.33 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 55.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1001, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2523/0.3525, allocations: 27.72 MB / 403.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.3663, allocations: 7.319 MB / 410.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.3696, allocations: 51.75 kB / 410.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003576/0.3732, allocations: 1.008 MB / 411.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005689/0.3789, allocations: 1.54 MB / 413.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007491/0.3864, allocations: 2.216 MB / 415.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009545/0.396, allocations: 4.966 MB / 420.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004582/0.4006, allocations: 2.059 MB / 422.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.4055, allocations: 1.758 MB / 424.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/0.4094, allocations: 1.63 MB / 426.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.4105, allocations: 304.4 kB / 426.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.4139, allocations: 0.9237 MB / 427.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.4151, allocations: 0.8336 MB / 428.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.4172, allocations: 1.353 MB / 429.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006239/0.4235, allocations: 4.155 MB / 433.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4235, allocations: 3.938 kB / 433.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4235, allocations: 0 / 433.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.412e-05/0.4236, allocations: 0 / 433.7 MB, free: 5.566 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: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.006348/0.43, allocations: 3.009 MB / 436.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.43, allocations: 8.031 kB / 436.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.4309, allocations: 293.8 kB / 437 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.4334, allocations: 1.444 MB / 438.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.4337, allocations: 307.3 kB / 438.7 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.434, allocations: 219.9 kB / 438.9 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/0.4387, allocations: 2.734 MB / 441.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.4388, allocations: 7.938 kB / 441.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.439, allocations: 87.98 kB / 441.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.4391, allocations: 103.6 kB / 441.8 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/0.4431, allocations: 2.185 MB / 444 MB, free: 10.82 MB / 366.1 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.01419/0.4573, allocations: 10.19 MB / 454.2 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.4603, allocations: 1.895 MB / 456.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.4619, allocations: 1.021 MB / 457.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007503/0.4695, allocations: 4.708 MB / 461.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002299/0.4718, allocations: 1.434 MB / 463.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=193): time 3.787e-06/0.4718, allocations: 0 / 463.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01362/0.4855, allocations: 6.202 MB / 469.5 MB, free: 380 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004039/0.4859, allocations: 0.5509 MB / 470 MB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.4885, allocations: 1.638 MB / 471.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.4889, allocations: 117.7 kB / 471.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008199/0.4897, allocations: 0.8922 MB / 472.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/0.4904, allocations: 0.5782 MB / 473.3 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008041/0.4912, allocations: 0.544 MB / 473.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4913, allocations: 305.1 kB / 474.1 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.493, allocations: 0.9186 MB / 475 MB, free: 10.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.4951, allocations: 1.593 MB / 476.6 MB, free: 8.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/0.4986, allocations: 2.429 MB / 479 MB, free: 6.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.4986, allocations: 4 kB / 479 MB, free: 6.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005514/0.5042, allocations: 3.052 MB / 482.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.762e-05/0.5043, allocations: 101.1 kB / 482.2 MB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.5043, allocations: 16 kB / 482.2 MB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.5055, allocations: 0.5803 MB / 482.8 MB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.5069, allocations: 395.2 kB / 483.2 MB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.5093, allocations: 2.262 MB / 485.4 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.511, allocations: 119.9 kB / 485.6 MB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.5112, allocations: 128 kB / 485.7 MB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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.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 (311): * Single equations (assignments): 305 * 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.001289/0.5125, allocations: 0.7598 MB / 486.4 MB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/0.513, allocations: 205.6 kB / 486.6 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/0.5182, allocations: 3.019 MB / 489.7 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.5183, allocations: 24 kB / 489.7 MB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5183, allocations: 4 kB / 489.7 MB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.5183, allocations: 11.95 kB / 489.7 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008683/0.527, allocations: 5.364 MB / 495.1 MB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5271, allocations: 0 / 495.1 MB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.5281, allocations: 239.6 kB / 495.3 MB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.5293, allocations: 0.5605 MB / 495.9 MB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.5295, allocations: 67.95 kB / 495.9 MB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.5316, allocations: 2.223 MB / 498.1 MB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5316, allocations: 0 / 498.1 MB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/0.5383, allocations: 4.063 MB / 0.4904 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.5395, allocations: 0.51 MB / 0.4909 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004271/0.54, allocations: 63.98 kB / 0.491 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.5411, allocations: 99.91 kB / 0.4911 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/0.5416, allocations: 241.7 kB / 0.4913 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.5418, allocations: 91.95 kB / 0.4914 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001489/0.5433, allocations: 1.043 MB / 0.4924 GB, free: 12.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5433, allocations: 0 / 0.4924 GB, free: 12.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002183/0.5455, allocations: 0.6755 MB / 0.4931 GB, free: 11.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (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.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.001941/0.5475, allocations: 0.8306 MB / 0.4939 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005017/0.5525, allocations: 2.666 MB / 0.4965 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.5525, allocations: 4.109 kB / 0.4965 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002647/0.5552, allocations: 1.443 MB / 0.4979 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.5588, allocations: 0.7537 MB / 0.4987 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.5679, allocations: 4.376 MB / 0.5029 GB, free: 1.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.5691, allocations: 1.567 MB / 0.5045 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009424/0.5701, allocations: 251.2 kB / 0.5047 GB, free: 15.69 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5701, allocations: 0 / 0.5047 GB, free: 15.69 MB / 446.1 MB Notification: Performance of Templates: time 0.3303/0.9004, allocations: 67.45 MB / 0.5706 GB, free: 152.1 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches