Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007293/0.007293, allocations: 106.4 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002081/0.002081, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 259 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.78 kB / 379.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2437, allocations: 53.37 MB / 433.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00403/0.2477, allocations: 2.628 MB / 435.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.2505, allocations: 1.286 MB / 437.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2507, allocations: 7.938 kB / 437.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.2509, allocations: 71.31 kB / 437.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.2511, allocations: 71.31 kB / 437.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.2517, allocations: 243.7 kB / 437.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.2538, allocations: 2.104 MB / 439.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.2546, allocations: 0.4952 MB / 440.1 MB, free: 60 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.2573, allocations: 2.137 MB / 442.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.2594, allocations: 1.125 MB / 443.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.2599, allocations: 216 kB / 443.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.2603, allocations: 216 kB / 443.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007956/0.2611, allocations: 0.6425 MB / 444.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.2622, allocations: 0.8979 MB / 445.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.2664, allocations: 4.409 MB / 449.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2664, allocations: 0 / 449.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2664, allocations: 0 / 449.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.7e-05/0.2665, allocations: 0 / 449.7 MB, free: 6.402 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.004106/0.2706, allocations: 2.268 MB / 452 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2706, allocations: 12.03 kB / 452 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004125/0.271, allocations: 175.9 kB / 452.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.273, allocations: 1.016 MB / 453.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2731, allocations: 102.8 kB / 453.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.2734, allocations: 120.4 kB / 453.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/0.2778, allocations: 2.293 MB / 455.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.2778, allocations: 0 / 455.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.278, allocations: 52 kB / 455.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.278, allocations: 28 kB / 455.8 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/0.282, allocations: 1.985 MB / 457.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008667/0.2906, allocations: 4.769 MB / 462.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003685/0.2943, allocations: 1.789 MB / 464.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.2958, allocations: 0.7229 MB / 465 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.296, allocations: 21.31 kB / 465 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002223/0.2983, allocations: 1.348 MB / 466.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.637e-06/0.2983, allocations: 0 / 466.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005348/0.3036, allocations: 2.674 MB / 469.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/0.3037, allocations: 94.36 kB / 469.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.3052, allocations: 0.9489 MB / 470.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.3055, allocations: 101.7 kB / 470.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.3059, allocations: 470.2 kB / 470.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.3064, allocations: 321.7 kB / 471 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.3074, allocations: 0.6673 MB / 471.7 MB, free: 192 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000282/0.3077, allocations: 410.7 kB / 472.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.3095, allocations: 0.8705 MB / 472.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.3113, allocations: 1.039 MB / 474 MB, free: 13.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.3148, allocations: 1.957 MB / 475.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3148, allocations: 0 / 475.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004615/0.3194, allocations: 2.4 MB / 478.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.3195, allocations: 37.69 kB / 478.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3195, allocations: 4 kB / 478.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.3195, allocations: 8 kB / 478.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.3201, allocations: 235.5 kB / 478.6 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.3201, allocations: 12 kB / 478.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007319/0.3208, allocations: 83.69 kB / 478.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/0.322, allocations: 1.081 MB / 479.8 MB, free: 7.945 MB / 382.1 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.001742/0.3237, allocations: 0.9157 MB / 480.7 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.3241, allocations: 107.3 kB / 480.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.3244, allocations: 130.3 kB / 480.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3244, allocations: 19.94 kB / 480.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3244, allocations: 0 / 480.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.3244, allocations: 11.91 kB / 480.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.3272, allocations: 1.734 MB / 482.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3272, allocations: 0 / 482.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.3277, allocations: 203.7 kB / 482.9 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.3277, allocations: 8 kB / 482.9 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002981/0.328, allocations: 175.9 kB / 483.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.328, allocations: 4 kB / 483.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.328, allocations: 0 / 483.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/0.332, allocations: 2.042 MB / 485.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.3333, allocations: 0.6024 MB / 485.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004153/0.3337, allocations: 119.9 kB / 485.8 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.3341, allocations: 43.98 kB / 485.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006636/0.3348, allocations: 328.9 kB / 486.2 MB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001072/0.3358, allocations: 1.089 MB / 487.3 MB, free: 340 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008395/0.3367, allocations: 0.5927 MB / 487.9 MB, free: 15.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3367, allocations: 0 / 487.9 MB, free: 15.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001268/0.3379, allocations: 375.4 kB / 488.2 MB, free: 15.37 MB / 398.1 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.000538/0.3385, allocations: 371.7 kB / 488.6 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004183/0.3427, allocations: 1.986 MB / 490.6 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3427, allocations: 0 / 490.6 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.3447, allocations: 1.026 MB / 491.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.3483, allocations: 1.077 MB / 492.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.3537, allocations: 3.014 MB / 495.7 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.3549, allocations: 1.312 MB / 497 MB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004992/0.3598, allocations: 1.324 MB / 498.3 MB, free: 5.258 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3599, allocations: 0 / 498.3 MB, free: 5.258 MB / 398.1 MB Notification: Performance of Templates: time 0.04534/0.4052, allocations: 33.17 MB / 0.5191 GB, free: 2.535 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 9.735814116196707]