Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,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_trunk_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 116.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.325, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004614/0.3297, allocations: 2.593 MB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.3329, allocations: 1.271 MB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.3333, allocations: 7.938 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.3337, allocations: 71.38 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.3341, allocations: 71.3 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.3351, allocations: 231.7 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002662/0.3378, allocations: 2.069 MB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.3393, allocations: 0.9477 MB / 417.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.3419, allocations: 2.121 MB / 419.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.3434, allocations: 1.055 MB / 420.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000466/0.3439, allocations: 216 kB / 420.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.3443, allocations: 216 kB / 420.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006992/0.345, allocations: 0.627 MB / 421.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.3462, allocations: 0.9018 MB / 422.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.3501, allocations: 4.398 MB / 426.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.3501, allocations: 8 kB / 426.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3501, allocations: 0 / 426.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.722e-05/0.3502, allocations: 0 / 426.7 MB, free: 0.7227 MB / 334.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.004764/0.355, allocations: 2.304 MB / 429 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.3551, allocations: 12.02 kB / 429 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.3555, allocations: 167.1 kB / 429.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.3579, allocations: 1.062 MB / 430.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.358, allocations: 102.9 kB / 430.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.3583, allocations: 120.4 kB / 430.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.3626, allocations: 2.286 MB / 432.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.3626, allocations: 3.984 kB / 432.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.3628, allocations: 52 kB / 432.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.3629, allocations: 32 kB / 432.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.367, allocations: 1.985 MB / 434.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009755/0.3768, allocations: 4.806 MB / 439.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.381, allocations: 1.867 MB / 441.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.3826, allocations: 0.7581 MB / 442.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.3828, allocations: 17.3 kB / 442.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/0.3852, allocations: 1.355 MB / 443.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.45e-06/0.3852, allocations: 0 / 443.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.009102/0.3943, allocations: 2.661 MB / 446.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.3946, allocations: 98.42 kB / 446.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.3978, allocations: 0.9407 MB / 447.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001059/0.3989, allocations: 97.66 kB / 447.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.4, allocations: 465.1 kB / 447.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.401, allocations: 312.3 kB / 448.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.4027, allocations: 0.6633 MB / 448.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002881/0.403, allocations: 410.7 kB / 449.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/0.4059, allocations: 0.8666 MB / 450.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.4088, allocations: 1.035 MB / 451.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005373/0.4142, allocations: 1.958 MB / 453.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.4143, allocations: 0 / 453.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.008442/0.4227, allocations: 2.401 MB / 455.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/0.4228, allocations: 41.69 kB / 455.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4229, allocations: 7.969 kB / 455.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/0.4229, allocations: 12 kB / 455.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.424, allocations: 227.5 kB / 455.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/0.4241, allocations: 8 kB / 455.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4255, allocations: 83.59 kB / 455.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/0.4274, allocations: 1.089 MB / 457 MB, free: 2.039 MB / 366.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.002891/0.4303, allocations: 0.9118 MB / 457.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006387/0.431, allocations: 102.8 kB / 458 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.4314, allocations: 130.3 kB / 458.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.4315, allocations: 12 kB / 458.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.4315, allocations: 0 / 458.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/0.4315, allocations: 15.91 kB / 458.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004442/0.436, allocations: 1.755 MB / 459.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.436, allocations: 4 kB / 459.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.437, allocations: 203.7 kB / 460.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.437, allocations: 4 kB / 460.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005143/0.4376, allocations: 175.9 kB / 460.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.4376, allocations: 7.938 kB / 460.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4376, allocations: 0 / 460.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007304/0.4449, allocations: 2.034 MB / 462.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/0.4476, allocations: 0.644 MB / 463 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008798/0.4485, allocations: 115.9 kB / 463.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/0.4495, allocations: 51.95 kB / 463.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/0.4506, allocations: 317 kB / 463.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001696/0.4523, allocations: 1.085 MB / 464.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.4537, allocations: 0.6004 MB / 465.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4537, allocations: 0 / 465.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002482/0.4562, allocations: 379.1 kB / 465.5 MB, free: 9.387 MB / 382.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.0009539/0.4572, allocations: 367.8 kB / 465.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007475/0.4647, allocations: 2.04 MB / 467.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.4648, allocations: 0 / 467.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.4686, allocations: 1.057 MB / 468.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007531/0.4761, allocations: 1.07 MB / 470 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009344/0.4855, allocations: 2.981 MB / 473 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.4874, allocations: 1.316 MB / 474.3 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009813/0.4972, allocations: 1.32 MB / 475.6 MB, free: 15.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4973, allocations: 0 / 475.6 MB, free: 15.21 MB / 398.1 MB Notification: Performance of Templates: time 0.07625/0.5735, allocations: 33.32 MB / 0.497 GB, free: 12.34 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches