Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001057/0.001057, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006032/0.006032, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8707/0.8707, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.296e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00234/0.002363, allocations: 2.4 MB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.004254, allocations: 1.228 MB / 329.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.004376, allocations: 11.88 kB / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.004553, allocations: 71.36 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.004681, allocations: 75.27 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.005205, allocations: 251.5 kB / 329.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.006457, allocations: 2.135 MB / 332 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.007035, allocations: 0.5498 MB / 332.5 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.008769, allocations: 2.461 MB / 335 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.009792, allocations: 1.169 MB / 336.2 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.0101, allocations: 216 kB / 336.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.01037, allocations: 220 kB / 336.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.01076, allocations: 0.6502 MB / 337.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.01123, allocations: 0.6075 MB / 337.9 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.0136, allocations: 4.588 MB / 342.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.0136, allocations: 4 kB / 342.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0136, allocations: 0 / 342.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.01363, allocations: 0 / 342.4 MB, free: 14.73 MB / 314.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.002314/0.01594, allocations: 2.298 MB / 344.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.01598, allocations: 8.031 kB / 344.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.01624, allocations: 179.9 kB / 344.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.0173, allocations: 1.019 MB / 345.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.01736, allocations: 98.91 kB / 346 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.01757, allocations: 124.4 kB / 346.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.02001, allocations: 2.342 MB / 348.5 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.02003, allocations: 4.125 kB / 348.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.02018, allocations: 52.38 kB / 348.6 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.0202, allocations: 35.94 kB / 348.6 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.02242, allocations: 2.037 MB / 350.6 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.02686, allocations: 4.224 MB / 354.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.02897, allocations: 1.842 MB / 356.7 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/0.02981, allocations: 0.7675 MB / 357.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.02995, allocations: 21.23 kB / 357.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.03119, allocations: 1.4 MB / 358.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.746e-06/0.0312, allocations: 0 / 358.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003086/0.03428, allocations: 2.79 MB / 361.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.03433, allocations: 94.36 kB / 361.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000755/0.03509, allocations: 0.9528 MB / 362.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.03523, allocations: 101.7 kB / 362.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.03546, allocations: 466.2 kB / 363.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.03572, allocations: 333.7 kB / 363.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00063/0.03636, allocations: 0.6869 MB / 364.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.03649, allocations: 410.7 kB / 364.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009522/0.03745, allocations: 0.9034 MB / 365.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.03849, allocations: 1.083 MB / 366.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.04044, allocations: 1.977 MB / 368.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.04044, allocations: 4 kB / 368.7 MB, free: 4.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002497/0.04294, allocations: 2.472 MB / 371.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.04298, allocations: 37.62 kB / 371.2 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.04298, allocations: 4 kB / 371.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.04301, allocations: 12 kB / 371.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.0433, allocations: 239.6 kB / 371.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.04332, allocations: 16 kB / 371.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.04366, allocations: 83.75 kB / 371.5 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006601/0.04432, allocations: 1.104 MB / 372.6 MB, free: 120 kB / 330.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.000877/0.0452, allocations: 0.9196 MB / 373.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.04536, allocations: 111.3 kB / 373.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.04549, allocations: 130.3 kB / 373.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.0455, allocations: 12 kB / 373.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.04551, allocations: 0 / 373.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.04552, allocations: 7.969 kB / 373.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.04674, allocations: 1.357 MB / 375.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.04674, allocations: 0 / 375.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.04697, allocations: 215.7 kB / 375.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.04697, allocations: 8 kB / 375.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.04712, allocations: 187.9 kB / 375.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.04713, allocations: 4 kB / 375.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.04713, allocations: 0 / 375.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.04931, allocations: 2.118 MB / 377.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006857/0.05, allocations: 0.6024 MB / 378.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.05023, allocations: 123.9 kB / 378.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.05047, allocations: 59.97 kB / 378.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/0.05084, allocations: 324.9 kB / 378.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006188/0.05146, allocations: 1.093 MB / 379.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004599/0.05192, allocations: 0.6004 MB / 380.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05192, allocations: 0 / 380.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006917/0.05261, allocations: 391.3 kB / 380.8 MB, free: 7.789 MB / 346.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.000326/0.05294, allocations: 371.7 kB / 381.2 MB, free: 7.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.05498, allocations: 2.083 MB / 383.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.05499, allocations: 4 kB / 383.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.05598, allocations: 1.074 MB / 384.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.05784, allocations: 1.076 MB / 385.4 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.06084, allocations: 3.046 MB / 388.5 MB, free: 120 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.06143, allocations: 0.7276 MB / 389.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003087/0.06452, allocations: 1.357 MB / 390.6 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.06452, allocations: 3.938 kB / 390.6 MB, free: 14 MB / 362.7 MB Notification: Performance of Templates: time 0.02293/0.08745, allocations: 33.34 MB / 423.9 MB, free: 11.1 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.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: 5.464976799674332]