Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter3,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter3,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 109.7 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 194.9 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2745, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter3): time 0.005925/0.2804, allocations: 3.577 MB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.2844, allocations: 1.676 MB / 405.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/0.2851, allocations: 11.94 kB / 405.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.2854, allocations: 138.8 kB / 405.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2858, allocations: 95.11 kB / 405.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2868, allocations: 0.4917 MB / 406.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2881, allocations: 1.374 MB / 407.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007221/0.2888, allocations: 0.5574 MB / 408.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.2904, allocations: 1.595 MB / 409.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/0.2913, allocations: 0.7045 MB / 410.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002486/0.2915, allocations: 160 kB / 410.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.2918, allocations: 156 kB / 410.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.2922, allocations: 438.6 kB / 411.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006637/0.2929, allocations: 0.618 MB / 411.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.2952, allocations: 3.005 MB / 414.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2952, allocations: 0 / 414.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2952, allocations: 0 / 414.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.2953, allocations: 0 / 414.8 MB, free: 10.18 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002361/0.2976, allocations: 1.714 MB / 416.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2977, allocations: 12.03 kB / 416.5 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.2979, allocations: 148 kB / 416.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.2982, allocations: 120.2 kB / 416.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009496/0.2991, allocations: 0.6892 MB / 417.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.2992, allocations: 66.38 kB / 417.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.2994, allocations: 88.38 kB / 417.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.3016, allocations: 1.334 MB / 419 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.3017, allocations: 0 / 419 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.3018, allocations: 40 kB / 419 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3018, allocations: 24 kB / 419 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.3039, allocations: 1.066 MB / 420.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/0.3086, allocations: 3.162 MB / 423.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.3107, allocations: 1.084 MB / 424.3 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/0.3115, allocations: 447.6 kB / 424.8 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.3117, allocations: 12.98 kB / 424.8 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/0.313, allocations: 0.8324 MB / 425.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 5.099e-06/0.3131, allocations: 0 / 425.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.003104/0.3162, allocations: 1.65 MB / 427.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.3162, allocations: 86.11 kB / 427.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.3169, allocations: 0.5561 MB / 427.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.3171, allocations: 61.7 kB / 428 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.3173, allocations: 337.6 kB / 428.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3175, allocations: 222.4 kB / 428.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006514/0.3182, allocations: 498.7 kB / 429 MB, free: 11.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3183, allocations: 370.7 kB / 429.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.3193, allocations: 474.3 kB / 429.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009735/0.3202, allocations: 0.592 MB / 430.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.3223, allocations: 1.158 MB / 431.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.3223, allocations: 0 / 431.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002584/0.3249, allocations: 1.494 MB / 433.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.3249, allocations: 29.7 kB / 433.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3249, allocations: 4 kB / 433.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.325, allocations: 8 kB / 433.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3253, allocations: 167.7 kB / 433.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.3253, allocations: 11.94 kB / 433.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.3257, allocations: 59.77 kB / 433.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006691/0.3264, allocations: 0.8155 MB / 434.2 MB, free: 6.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 122 ($whenCondition1,$PRE.Counter.FF1.And2.auxiliary_n,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.x[1],$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.x[1],$PRE.Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.x[2],$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.y,Counter.FF1.RS2.TD1.x,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.And2.auxiliary_n,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.x[1],$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.x[1],$PRE.Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.x[2],$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.y,Counter.FF2.RS2.TD1.x,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.And2.auxiliary_n,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.x[1],$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.x[1],$PRE.Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.x[2],$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.y,Counter.FF3.RS2.TD1.x,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.Not1.auxiliary,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.y,Counter.FF3.And2.auxiliary_n,Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.x[1],Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.auxiliary[2],Counter.FF3.RS1.TD1.x,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF2.Not1.auxiliary,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.y,Counter.FF2.And2.auxiliary_n,Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.x[1],Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.auxiliary[2],Counter.FF2.RS1.TD1.x,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF1.Not1.auxiliary,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.y,Counter.FF1.And2.auxiliary_n,Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.x[1],Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.auxiliary[2],Counter.FF1.RS1.TD1.x,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.count,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 (129): * Single equations (assignments): 128 * 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.0007633/0.3272, allocations: 0.5088 MB / 434.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.3274, allocations: 67.58 kB / 434.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.3275, allocations: 78.89 kB / 434.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.3275, allocations: 12 kB / 434.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3275, allocations: 0 / 434.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3275, allocations: 3.984 kB / 434.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.3289, allocations: 1.134 MB / 436 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3289, allocations: 3.984 kB / 436 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.3292, allocations: 155.8 kB / 436.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3292, allocations: 4 kB / 436.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.3294, allocations: 131.8 kB / 436.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3294, allocations: 8 kB / 436.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3294, allocations: 0 / 436.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.3318, allocations: 1.315 MB / 437.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/0.3325, allocations: 456.4 kB / 438 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.3327, allocations: 44 kB / 438.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.333, allocations: 31.98 kB / 438.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/0.3334, allocations: 192.8 kB / 438.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007152/0.3342, allocations: 0.8116 MB / 439.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003556/0.3345, allocations: 339.1 kB / 439.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3345, allocations: 0 / 439.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008575/0.3354, allocations: 255.6 kB / 439.7 MB, free: 0.8203 MB / 350.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: 88 ($whenCondition1,Enable.y,clock.t_i,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.And1.y,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.And1.y,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.And1.y,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,Counter.FF3.Not1.auxiliary) * Number of discrete states: 34 (Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And3.auxiliary_n,Counter.FF3.And2.auxiliary_n,Counter.FF3.And1.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And3.auxiliary_n,Counter.FF2.And2.auxiliary_n,Counter.FF2.And1.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And3.auxiliary_n,Counter.FF1.And2.auxiliary_n,Counter.FF1.And1.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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.002884/0.3383, allocations: 2.006 MB / 441.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.3406, allocations: 1.22 MB / 442.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3406, allocations: 0 / 442.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.3418, allocations: 0.6805 MB / 443.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.3444, allocations: 0.7515 MB / 444.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.3561, allocations: 6.963 MB / 451.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/0.357, allocations: 1.017 MB / 452.3 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.004033/0.361, allocations: 2.215 MB / 454.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/0.3633, allocations: 0.9039 MB / 455.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of SimCode: time 1.744e-06/0.3633, allocations: 0 / 455.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.4175, allocations: 32.76 MB / 488.2 MB, free: 15.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.958, allocations: 10.52 kB / 488.2 MB, free: 15.62 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter3.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter3/Counter3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches