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.001118/0.001119, allocations: 113.5 kB / 17.07 MB, free: 5.992 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.001053/0.001053, 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.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 43.94 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3453, allocations: 49.43 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter3): time 0.003922/0.3492, allocations: 3.587 MB / 403.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.3521, allocations: 1.676 MB / 405.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.3523, allocations: 15.94 kB / 405.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3526, allocations: 134.8 kB / 405.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.3529, allocations: 99.16 kB / 405.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.3537, allocations: 499.4 kB / 406.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.3549, allocations: 1.378 MB / 407.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.3555, allocations: 0.5574 MB / 408.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.3569, allocations: 1.591 MB / 409.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007271/0.3577, allocations: 0.7122 MB / 410.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.3579, allocations: 156 kB / 410.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.3582, allocations: 152 kB / 410.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.3586, allocations: 442.6 kB / 411.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.3592, allocations: 0.618 MB / 411.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.3613, allocations: 3.001 MB / 414.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3614, allocations: 0 / 414.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3614, allocations: 0 / 414.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.3614, allocations: 4 kB / 414.8 MB, free: 10.17 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.002332/0.3637, allocations: 1.707 MB / 416.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3638, allocations: 8.031 kB / 416.5 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.364, allocations: 152 kB / 416.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.3643, allocations: 116.2 kB / 416.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3654, allocations: 0.6853 MB / 417.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/0.3655, allocations: 74.38 kB / 417.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.3657, allocations: 88.38 kB / 417.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.3679, allocations: 1.331 MB / 419 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3679, allocations: 0 / 419 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.3681, allocations: 40 kB / 419 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.3681, allocations: 24 kB / 419 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3701, allocations: 1.077 MB / 420.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.3751, allocations: 3.15 MB / 423.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3773, allocations: 1.092 MB / 424.3 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.3781, allocations: 439.6 kB / 424.8 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.3782, allocations: 17 kB / 424.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.3796, allocations: 0.8285 MB / 425.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.876e-06/0.3796, allocations: 0 / 425.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.003152/0.3827, allocations: 1.653 MB / 427.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.3828, allocations: 90.11 kB / 427.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.3835, allocations: 0.5483 MB / 427.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.3836, allocations: 69.69 kB / 428 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.3839, allocations: 329.7 kB / 428.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.3842, allocations: 230.4 kB / 428.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006546/0.3848, allocations: 494.7 kB / 429 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.385, allocations: 366.7 kB / 429.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008847/0.3859, allocations: 478.4 kB / 429.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009768/0.3869, allocations: 0.5959 MB / 430.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.3891, allocations: 1.158 MB / 431.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3892, allocations: 4 kB / 431.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002609/0.3918, allocations: 1.486 MB / 433.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.3918, allocations: 36.36 kB / 433.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3918, allocations: 7.984 kB / 433.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3919, allocations: 4 kB / 433.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.3922, allocations: 171.7 kB / 433.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3923, allocations: 4 kB / 433.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.3927, allocations: 63.8 kB / 433.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006713/0.3934, allocations: 0.8194 MB / 434.2 MB, free: 6.434 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.0007533/0.3941, allocations: 0.501 MB / 434.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.3944, allocations: 71.58 kB / 434.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.3945, allocations: 78.89 kB / 434.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3945, allocations: 8 kB / 434.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3945, allocations: 3.984 kB / 434.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3945, allocations: 7.984 kB / 434.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3958, allocations: 1.134 MB / 436 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.3959, allocations: 0 / 436 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.3962, allocations: 147.8 kB / 436.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3962, allocations: 7.984 kB / 436.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.3964, allocations: 131.9 kB / 436.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.3964, allocations: 4 kB / 436.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3964, allocations: 0 / 436.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.3987, allocations: 1.323 MB / 437.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008172/0.3995, allocations: 444.4 kB / 438 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.3998, allocations: 51.94 kB / 438.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.4001, allocations: 31.98 kB / 438.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/0.4005, allocations: 196.8 kB / 438.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006285/0.4011, allocations: 0.8077 MB / 439.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.4014, allocations: 343.1 kB / 439.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.4015, allocations: 0 / 439.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008422/0.4023, allocations: 259.5 kB / 439.7 MB, free: 0.8086 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.002706/0.405, allocations: 2.014 MB / 441.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.4072, allocations: 1.205 MB / 442.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4073, allocations: 0 / 442.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.4085, allocations: 0.6844 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.002912/0.4114, allocations: 0.7476 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.01153/0.423, allocations: 6.967 MB / 451.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.4237, allocations: 1.025 MB / 452.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.004105/0.4279, allocations: 2.215 MB / 454.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/0.4302, allocations: 0.9039 MB / 455.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4303, allocations: 0 / 455.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.4839, allocations: 32.76 MB / 488.2 MB, free: 15.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.875, allocations: 14.89 kB / 488.2 MB, free: 15.6 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