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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001789, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2558, allocations: 50.54 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004071/0.2599, allocations: 2.606 MB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.2626, allocations: 1.275 MB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.2629, allocations: 7.938 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.2632, allocations: 67.38 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.2634, allocations: 63.33 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.2641, allocations: 247.6 kB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.2666, allocations: 2.057 MB / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.2679, allocations: 0.9477 MB / 416 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.2702, allocations: 2.121 MB / 418.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.2717, allocations: 1.051 MB / 419.2 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005927/0.2723, allocations: 220 kB / 419.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.2729, allocations: 216 kB / 419.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007666/0.2737, allocations: 0.6153 MB / 420.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2751, allocations: 0.898 MB / 421.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.2793, allocations: 4.414 MB / 425.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2793, allocations: 0 / 425.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2793, allocations: 0 / 425.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.064e-05/0.2794, allocations: 0 / 425.5 MB, free: 0.6875 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.006116/0.2855, allocations: 2.351 MB / 427.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2856, allocations: 8.031 kB / 427.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000439/0.286, allocations: 198.2 kB / 428.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.2865, allocations: 175.9 kB / 428.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.2884, allocations: 1.066 MB / 429.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.2885, allocations: 98.89 kB / 429.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.2889, allocations: 120.4 kB / 429.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/0.293, allocations: 2.289 MB / 431.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.293, allocations: 0 / 431.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.2932, allocations: 52 kB / 431.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.2933, allocations: 32 kB / 431.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.297, allocations: 1.981 MB / 433.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00864/0.3057, allocations: 4.821 MB / 438.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/0.3094, allocations: 1.855 MB / 440.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3108, allocations: 0.7581 MB / 441.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.311, allocations: 17.3 kB / 441.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002246/0.3133, allocations: 1.359 MB / 442.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.007e-06/0.3133, allocations: 0 / 442.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005164/0.3185, allocations: 2.674 MB / 445.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.3186, allocations: 94.42 kB / 445.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.3201, allocations: 0.9489 MB / 446.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002975/0.3204, allocations: 101.7 kB / 446.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.3208, allocations: 466.2 kB / 447 MB, free: 10.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.3213, allocations: 337.5 kB / 447.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.3223, allocations: 0.6634 MB / 448 MB, free: 9.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.3226, allocations: 406.7 kB / 448.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.3242, allocations: 0.8627 MB / 449.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.3259, allocations: 1.035 MB / 450.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.3292, allocations: 1.954 MB / 452.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3292, allocations: 4 kB / 452.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004279/0.3335, allocations: 2.409 MB / 454.6 MB, free: 3.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.3336, allocations: 36.67 kB / 454.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3336, allocations: 7.984 kB / 454.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.3336, allocations: 8 kB / 454.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3341, allocations: 223.6 kB / 454.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.3342, allocations: 11.98 kB / 454.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.3348, allocations: 83.73 kB / 455 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/0.3359, allocations: 1.096 MB / 456.1 MB, free: 1.699 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.00144/0.3373, allocations: 0.8924 MB / 457 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.3376, allocations: 107.3 kB / 457.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3379, allocations: 134.3 kB / 457.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3379, allocations: 12 kB / 457.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3379, allocations: 3.938 kB / 457.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.3379, allocations: 11.91 kB / 457.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.3403, allocations: 1.766 MB / 459 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3403, allocations: 0 / 459 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.3408, allocations: 203.7 kB / 459.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.3408, allocations: 4 kB / 459.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/0.3411, allocations: 183.9 kB / 459.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.3411, allocations: 7.938 kB / 459.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3411, allocations: 0 / 459.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/0.3448, allocations: 2.042 MB / 461.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.3459, allocations: 0.6446 MB / 462.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/0.3463, allocations: 123.9 kB / 462.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.3467, allocations: 47.97 kB / 462.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/0.3474, allocations: 332.9 kB / 462.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001059/0.3485, allocations: 1.081 MB / 463.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007605/0.3492, allocations: 0.5927 MB / 464.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3492, allocations: 3.938 kB / 464.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001193/0.3504, allocations: 379.4 kB / 464.6 MB, free: 9.027 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.004429/0.3549, allocations: 2.849 MB / 467.5 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.3585, allocations: 2.04 MB / 469.5 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3586, allocations: 4.062 kB / 469.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.3604, allocations: 1.088 MB / 470.6 MB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/0.3637, allocations: 1.063 MB / 471.7 MB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.3829, allocations: 11.75 MB / 483.4 MB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.3842, allocations: 1.316 MB / 484.7 MB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.006756/0.391, allocations: 3.374 MB / 488.1 MB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003441/0.3945, allocations: 1.247 MB / 489.4 MB, free: 44 kB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3945, allocations: 0 / 489.4 MB, free: 44 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08903/0.4835, allocations: 49.65 MB / 0.5264 GB, free: 13.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.567/10.05, allocations: 11.98 kB / 0.5264 GB, free: 13.53 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv","/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_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches