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.001255/0.001255, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001171/0.001171, allocations: 169.6 kB / 25.33 MB, free: 9.461 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 1.005/1.005, allocations: 158.6 MB / 187.2 MB, free: 2.504 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.473e-06/1.473e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.799e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002797/0.002815, allocations: 2.468 MB / 253.5 MB, free: 1.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.004999, allocations: 1.268 MB / 254.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.005136, allocations: 7.938 kB / 254.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.005363, allocations: 75.3 kB / 254.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.005511, allocations: 75.25 kB / 254.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.006407, allocations: 255.6 kB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.008289, allocations: 2.131 MB / 257.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.009422, allocations: 0.5459 MB / 257.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.01264, allocations: 2.473 MB / 260.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.01468, allocations: 1.169 MB / 261.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006978/0.01538, allocations: 219.9 kB / 261.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.01581, allocations: 216 kB / 261.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.01685, allocations: 0.6463 MB / 262.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.01754, allocations: 0.6113 MB / 263.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.02004, allocations: 3.186 MB / 266.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.02004, allocations: 0 / 266.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.02005, allocations: 0 / 266.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.02007, allocations: 0 / 266.4 MB, free: 4.188 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.002815/0.02289, allocations: 2.489 MB / 268.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.02293, allocations: 11.98 kB / 268.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.02341, allocations: 279.9 kB / 269.1 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.02447, allocations: 0.9206 MB / 270.1 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.47e-05/0.02456, allocations: 98.91 kB / 270.2 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.02477, allocations: 124.4 kB / 270.3 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.02711, allocations: 1.367 MB / 271.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.02713, allocations: 4.188 kB / 271.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.02729, allocations: 52.38 kB / 271.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.02732, allocations: 35.94 kB / 271.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.02872, allocations: 0.8245 MB / 272.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.03315, allocations: 3.751 MB / 276.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.03472, allocations: 1.073 MB / 277.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/0.03561, allocations: 393.1 kB / 277.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.03573, allocations: 21.31 kB / 277.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.03675, allocations: 0.9568 MB / 278.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.545e-06/0.03675, allocations: 0 / 278.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002357/0.03911, allocations: 1.713 MB / 280.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.03916, allocations: 94.42 kB / 280.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/0.04013, allocations: 0.9209 MB / 281.5 MB, free: 4.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.04029, allocations: 105.7 kB / 281.6 MB, free: 4.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.04054, allocations: 0.5165 MB / 282.1 MB, free: 4.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.04086, allocations: 357.7 kB / 282.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008088/0.04167, allocations: 0.8018 MB / 283.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.04189, allocations: 0.6367 MB / 283.9 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.04248, allocations: 381.5 kB / 284.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.04351, allocations: 0.6304 MB / 284.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.04477, allocations: 1.043 MB / 285.9 MB, free: 164 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.04477, allocations: 0 / 285.9 MB, free: 164 kB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001951/0.04673, allocations: 1.562 MB / 287.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.04676, allocations: 37.64 kB / 287.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.04676, allocations: 7.938 kB / 287.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.04678, allocations: 8 kB / 287.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.04708, allocations: 239.6 kB / 287.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.04709, allocations: 8 kB / 287.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.0474, allocations: 95.67 kB / 287.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007105/0.04811, allocations: 1.104 MB / 289 MB, free: 13.08 MB / 282.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.000511/0.04862, allocations: 448.9 kB / 289.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.04891, allocations: 159.3 kB / 289.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.04903, allocations: 122.3 kB / 289.7 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.04904, allocations: 12 kB / 289.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.04905, allocations: 0 / 289.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.04906, allocations: 7.969 kB / 289.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.05038, allocations: 1.27 MB / 291 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.05038, allocations: 3.984 kB / 291 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.05064, allocations: 215.7 kB / 291.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.05064, allocations: 4 kB / 291.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.05083, allocations: 187.9 kB / 291.4 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.05084, allocations: 4 kB / 291.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.05084, allocations: 0 / 291.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.05302, allocations: 1.489 MB / 292.9 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.05358, allocations: 0.5477 MB / 293.4 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.05383, allocations: 115.9 kB / 293.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.05409, allocations: 51.98 kB / 293.6 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/0.05453, allocations: 328.9 kB / 293.9 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000708/0.05523, allocations: 1.089 MB / 295 MB, free: 6.945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003476/0.05558, allocations: 439 kB / 295.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05558, allocations: 0 / 295.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000669/0.05625, allocations: 399.3 kB / 295.8 MB, free: 6.133 MB / 282.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.0003599/0.05661, allocations: 359.8 kB / 296.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.05814, allocations: 1.281 MB / 297.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.05814, allocations: 0 / 297.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008542/0.059, allocations: 0.7732 MB / 298.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.06156, allocations: 1.253 MB / 299.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.0641, allocations: 2.305 MB / 301.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1202/0.1843, allocations: 242.1 kB / 302 MB, free: 52.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.007589/0.1919, allocations: 3.262 MB / 305.3 MB, free: 50.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/0.1939, allocations: 0.9672 MB / 306.3 MB, free: 50.05 MB / 282.7 MB Notification: Performance of SimCode: time 2.214e-06/0.1939, allocations: 5.156 kB / 306.3 MB, free: 50.05 MB / 282.7 MB Notification: Performance of Templates: time 0.03933/0.2332, allocations: 43.35 MB / 349.6 MB, free: 15.04 MB / 282.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 -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.5343541651964188]