Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.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.0009102/0.0009102, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.0009298/0.0009298, allocations: 171.8 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.879/0.879, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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.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: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.704e-05, allocations: 2.312 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003291/0.003308, allocations: 2.482 MB / 254 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.005512, allocations: 1.291 MB / 255.3 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.005624, allocations: 11.94 kB / 255.4 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.005801, allocations: 71.31 kB / 255.4 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.005943, allocations: 75.25 kB / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.006479, allocations: 255.6 kB / 255.7 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.00779, allocations: 2.135 MB / 257.9 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.008339, allocations: 0.5576 MB / 258.4 MB, free: 300 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.01008, allocations: 2.43 MB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.01141, allocations: 1.173 MB / 262 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003031/0.01171, allocations: 216 kB / 262.2 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.01199, allocations: 224 kB / 262.5 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.01239, allocations: 0.6463 MB / 263.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.0129, allocations: 0.6036 MB / 263.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.01472, allocations: 3.189 MB / 266.9 MB, free: 7.801 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01473, allocations: 0 / 266.9 MB, free: 7.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01473, allocations: 3.984 kB / 266.9 MB, free: 7.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.306e-05/0.01477, allocations: 0 / 266.9 MB, free: 7.797 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.002631/0.0174, allocations: 1.985 MB / 268.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.01744, allocations: 11.98 kB / 268.9 MB, free: 5.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.01782, allocations: 228.8 kB / 269.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.01861, allocations: 0.7513 MB / 269.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/0.01868, allocations: 98.84 kB / 270 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.01887, allocations: 128.4 kB / 270.1 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.02026, allocations: 1.074 MB / 271.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.02028, allocations: 192 / 271.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.02042, allocations: 56.38 kB / 271.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.02044, allocations: 39.92 kB / 271.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.02127, allocations: 431 kB / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.02442, allocations: 2.571 MB / 274.3 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.02551, allocations: 0.6877 MB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.02587, allocations: 230.3 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.026, allocations: 25.25 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009954/0.02699, allocations: 0.6542 MB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.715e-06/0.027, allocations: 0 / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001397/0.02839, allocations: 0.7997 MB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.02844, allocations: 98.41 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.02884, allocations: 0.6477 MB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.029, allocations: 97.66 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.02917, allocations: 399.4 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.02942, allocations: 321.6 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/0.02997, allocations: 463.1 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.03009, allocations: 406.6 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.03047, allocations: 205.5 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.03094, allocations: 385.8 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.03191, allocations: 0.7571 MB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.03192, allocations: 0 / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001202/0.03312, allocations: 0.7632 MB / 281.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.03315, allocations: 33.7 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.03316, allocations: 4 kB / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.03317, allocations: 8 kB / 281.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.03357, allocations: 191.5 kB / 281.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.03358, allocations: 8 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.03389, allocations: 87.64 kB / 281.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/0.0345, allocations: 0.9832 MB / 282.5 MB, free: 7.832 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,Clock.t_i,$PRE.Clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * 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.000724/0.03522, allocations: 405.1 kB / 282.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.03544, allocations: 119.8 kB / 283 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.03555, allocations: 118.3 kB / 283.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.03555, allocations: 12 kB / 283.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.03556, allocations: 0 / 283.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.03557, allocations: 7.969 kB / 283.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.03635, allocations: 0.7174 MB / 283.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.03636, allocations: 0 / 283.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.03669, allocations: 163.5 kB / 284 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.03669, allocations: 4 kB / 284 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.03684, allocations: 75.83 kB / 284.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.03684, allocations: 4 kB / 284.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.03684, allocations: 0 / 284.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.03808, allocations: 0.6857 MB / 284.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.03866, allocations: 362.9 kB / 285.1 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.03901, allocations: 127.9 kB / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.03935, allocations: 47.98 kB / 285.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/0.03983, allocations: 161 kB / 285.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008327/0.04066, allocations: 0.9715 MB / 286.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000257/0.04092, allocations: 256.5 kB / 286.7 MB, free: 3.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04092, allocations: 0 / 286.7 MB, free: 3.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008533/0.04177, allocations: 391.4 kB / 287 MB, free: 3.164 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0004315/0.0422, allocations: 340.9 kB / 287.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.04363, allocations: 0.7681 MB / 288.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.04364, allocations: 8 kB / 288.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008127/0.04445, allocations: 469 kB / 288.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005395/0.04985, allocations: 1.143 MB / 289.7 MB, free: 444 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.05577, allocations: 2.154 MB / 291.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.05597, allocations: 242.5 kB / 292.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01076/0.06673, allocations: 2.883 MB / 295 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006493/0.07322, allocations: 1.29 MB / 296.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.07322, allocations: 0 / 296.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of Templates: time 0.06395/0.1372, allocations: 43.93 MB / 340.2 MB, free: 12.87 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.368715377058834]