Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3") translateModel(Modelica.Electrical.Digital.Examples.Counter3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.6 MB / 244.3 MB, free: 8.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007352/0.0007352, allocations: 96.09 kB / 296.4 MB, free: 7.047 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.0002459, allocations: 8 kB / 356.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2175, allocations: 51.29 MB / 407.5 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter3): time 0.002193/0.2197, allocations: 2.971 MB / 410.5 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2219, allocations: 1.623 MB / 412.1 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.2221, allocations: 13.72 kB / 412.1 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.2223, allocations: 87.25 kB / 412.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.2224, allocations: 63.47 kB / 412.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.223, allocations: 275.3 kB / 412.5 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006596/0.2237, allocations: 1.163 MB / 413.7 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.2241, allocations: 387.6 kB / 414.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009227/0.225, allocations: 1.158 MB / 415.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004801/0.2255, allocations: 0.6743 MB / 415.9 MB, free: 19.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.2257, allocations: 28 kB / 415.9 MB, free: 19.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.2259, allocations: 24 kB / 415.9 MB, free: 19.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.2261, allocations: 319.2 kB / 416.3 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2263, allocations: 209.2 kB / 416.5 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.2274, allocations: 2.576 MB / 419 MB, free: 16.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2274, allocations: 0 / 419 MB, free: 16.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2274, allocations: 0 / 419 MB, free: 16.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.2274, allocations: 3.938 kB / 419 MB, free: 16.31 MB / 298.7 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.001554/0.229, allocations: 1.243 MB / 420.3 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.229, allocations: 16.03 kB / 420.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.2293, allocations: 114.7 kB / 420.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.23, allocations: 0.6721 MB / 421.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.2301, allocations: 74 kB / 421.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.2303, allocations: 88 kB / 421.2 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.2322, allocations: 1.327 MB / 422.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2322, allocations: 0 / 422.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.2324, allocations: 40 kB / 422.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.2324, allocations: 24 kB / 422.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.2341, allocations: 1.085 MB / 423.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.238, allocations: 3.136 MB / 426.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.2399, allocations: 1.131 MB / 428 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/0.2406, allocations: 451.6 kB / 428.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.2408, allocations: 13 kB / 428.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.2418, allocations: 0.848 MB / 429.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.866e-06/0.2418, allocations: 0 / 429.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.002692/0.2445, allocations: 1.665 MB / 430.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.2446, allocations: 90.09 kB / 431 MB, free: 4.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.2451, allocations: 0.5441 MB / 431.6 MB, free: 3.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.2453, allocations: 65.69 kB / 431.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2454, allocations: 293.1 kB / 431.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.2457, allocations: 221.3 kB / 432.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2458, allocations: 20 kB / 432.2 MB, free: 2.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.2459, allocations: 370.8 kB / 432.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.2466, allocations: 478.4 kB / 433 MB, free: 2.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008348/0.2475, allocations: 0.5998 MB / 433.6 MB, free: 1.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.2484, allocations: 0.5872 MB / 434.2 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.2484, allocations: 8 kB / 434.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002355/0.2507, allocations: 1.486 MB / 435.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.2508, allocations: 33.7 kB / 435.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2508, allocations: 3.781 kB / 435.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2508, allocations: 8 kB / 435.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.2512, allocations: 167.7 kB / 435.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.2512, allocations: 8 kB / 435.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/0.252, allocations: 139.5 kB / 436 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007044/0.2527, allocations: 0.8116 MB / 436.8 MB, free: 14.19 MB / 314.7 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,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.And2.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,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.And1.y,$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,$PRE.Counter.FF1.Not1.auxiliary,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.And2.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,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.And1.y,$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,$PRE.Counter.FF2.Not1.auxiliary,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.And2.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,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.And1.y,$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,$PRE.Counter.FF3.Not1.auxiliary,Enable.y,$PRE.clock.t_i,clock.t_i,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,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.y,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,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.y,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,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.y,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.Not1.auxiliary) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008019/0.2535, allocations: 0.5088 MB / 437.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.2537, allocations: 63.25 kB / 437.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.2539, allocations: 86.83 kB / 437.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2539, allocations: 12 kB / 437.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2539, allocations: 3.938 kB / 437.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2539, allocations: 7.969 kB / 437.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.2554, allocations: 1.13 MB / 438.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2554, allocations: 0 / 438.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.2557, allocations: 151.8 kB / 438.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2557, allocations: 4 kB / 438.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.2559, allocations: 127.9 kB / 438.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.2559, allocations: 7.953 kB / 438.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2559, allocations: 0 / 438.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.2581, allocations: 1.327 MB / 440.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/0.2588, allocations: 447.9 kB / 440.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.2591, allocations: 48 kB / 440.7 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.2596, allocations: 107.8 kB / 440.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.2599, allocations: 184.8 kB / 441 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006843/0.2606, allocations: 0.8077 MB / 441.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003745/0.261, allocations: 335.1 kB / 442.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.261, allocations: 0 / 442.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008698/0.2619, allocations: 251.3 kB / 442.4 MB, free: 8.504 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003488/0.2622, allocations: 248.5 kB / 442.6 MB, free: 8.246 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.2644, allocations: 1.232 MB / 443.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2645, allocations: 0 / 443.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.2655, allocations: 0.6765 MB / 444.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.268, allocations: 0.6531 MB / 445.2 MB, free: 5.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2709, allocations: 1.963 MB / 447.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/0.2716, allocations: 1.018 MB / 448.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/0.2745, allocations: 0.9931 MB / 449.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2745, allocations: 0 / 449.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of Templates: time 0.02605/0.3006, allocations: 21.29 MB / 470.5 MB, free: 11.16 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter3/Counter3.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Counter.FF1.RS1.TD1.x,Counter.FF1.RS2.TD1.x,Counter.FF2.RS1.TD1.x,Counter.FF2.RS2.TD1.x,Counter.FF3.RS1.TD1.x,Counter.FF3.RS2.TD1.x Variables in the result:Counter.FF1.And1.n,Counter.FF1.And1.x[1],Counter.FF1.And1.x[2],Counter.FF1.And1.x[3],Counter.FF1.And1.y,Counter.FF1.And2.n,Counter.FF1.And2.x[1],Counter.FF1.And2.x[2],Counter.FF1.And2.x[3],Counter.FF1.And2.y,Counter.FF1.And3.n,Counter.FF1.And3.x[1],Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And4.n,Counter.FF1.And4.x[1],Counter.FF1.And4.x[2],Counter.FF1.And4.y,Counter.FF1.Not1.x,Counter.FF1.Not1.y,Counter.FF1.RS1.Nor1.n,Counter.FF1.RS1.Nor1.x[1],Counter.FF1.RS1.Nor1.x[2],Counter.FF1.RS1.Nor1.y,Counter.FF1.RS1.Nor2.n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.y,Counter.FF1.RS1.TD1.delayTime,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.y,Counter.FF1.RS1.TD1.y0,Counter.FF1.RS1.delayTime,Counter.FF1.RS1.q,Counter.FF1.RS1.q0,Counter.FF1.RS1.qn,Counter.FF1.RS1.r,Counter.FF1.RS1.s,Counter.FF1.RS2.Nor1.n,Counter.FF1.RS2.Nor1.x[1],Counter.FF1.RS2.Nor1.x[2],Counter.FF1.RS2.Nor1.y,Counter.FF1.RS2.Nor2.n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.y,Counter.FF1.RS2.TD1.delayTime,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.y,Counter.FF1.RS2.TD1.y0,Counter.FF1.RS2.delayTime,Counter.FF1.RS2.q,Counter.FF1.RS2.q0,Counter.FF1.RS2.qn,Counter.FF1.RS2.r,Counter.FF1.RS2.s,Counter.FF1.clk,Counter.FF1.delayTime,Counter.FF1.j,Counter.FF1.k,Counter.FF1.q,Counter.FF1.q0,Counter.FF1.qn,Counter.FF2.And1.n,Counter.FF2.And1.x[1],Counter.FF2.And1.x[2],Counter.FF2.And1.x[3],Counter.FF2.And1.y,Counter.FF2.And2.n,Counter.FF2.And2.x[1],Counter.FF2.And2.x[2],Counter.FF2.And2.x[3],Counter.FF2.And2.y,Counter.FF2.And3.n,Counter.FF2.And3.x[1],Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And4.n,Counter.FF2.And4.x[1],Counter.FF2.And4.x[2],Counter.FF2.And4.y,Counter.FF2.Not1.x,Counter.FF2.Not1.y,Counter.FF2.RS1.Nor1.n,Counter.FF2.RS1.Nor1.x[1],Counter.FF2.RS1.Nor1.x[2],Counter.FF2.RS1.Nor1.y,Counter.FF2.RS1.Nor2.n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.y,Counter.FF2.RS1.TD1.delayTime,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.y,Counter.FF2.RS1.TD1.y0,Counter.FF2.RS1.delayTime,Counter.FF2.RS1.q,Counter.FF2.RS1.q0,Counter.FF2.RS1.qn,Counter.FF2.RS1.r,Counter.FF2.RS1.s,Counter.FF2.RS2.Nor1.n,Counter.FF2.RS2.Nor1.x[1],Counter.FF2.RS2.Nor1.x[2],Counter.FF2.RS2.Nor1.y,Counter.FF2.RS2.Nor2.n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.y,Counter.FF2.RS2.TD1.delayTime,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.y,Counter.FF2.RS2.TD1.y0,Counter.FF2.RS2.delayTime,Counter.FF2.RS2.q,Counter.FF2.RS2.q0,Counter.FF2.RS2.qn,Counter.FF2.RS2.r,Counter.FF2.RS2.s,Counter.FF2.clk,Counter.FF2.delayTime,Counter.FF2.j,Counter.FF2.k,Counter.FF2.q,Counter.FF2.q0,Counter.FF2.qn,Counter.FF3.And1.n,Counter.FF3.And1.x[1],Counter.FF3.And1.x[2],Counter.FF3.And1.x[3],Counter.FF3.And1.y,Counter.FF3.And2.n,Counter.FF3.And2.x[1],Counter.FF3.And2.x[2],Counter.FF3.And2.x[3],Counter.FF3.And2.y,Counter.FF3.And3.n,Counter.FF3.And3.x[1],Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And4.n,Counter.FF3.And4.x[1],Counter.FF3.And4.x[2],Counter.FF3.And4.y,Counter.FF3.Not1.x,Counter.FF3.Not1.y,Counter.FF3.RS1.Nor1.n,Counter.FF3.RS1.Nor1.x[1],Counter.FF3.RS1.Nor1.x[2],Counter.FF3.RS1.Nor1.y,Counter.FF3.RS1.Nor2.n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.y,Counter.FF3.RS1.TD1.delayTime,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.y,Counter.FF3.RS1.TD1.y0,Counter.FF3.RS1.delayTime,Counter.FF3.RS1.q,Counter.FF3.RS1.q0,Counter.FF3.RS1.qn,Counter.FF3.RS1.r,Counter.FF3.RS1.s,Counter.FF3.RS2.Nor1.n,Counter.FF3.RS2.Nor1.x[1],Counter.FF3.RS2.Nor1.x[2],Counter.FF3.RS2.Nor1.y,Counter.FF3.RS2.Nor2.n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.y,Counter.FF3.RS2.TD1.delayTime,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.y,Counter.FF3.RS2.TD1.y0,Counter.FF3.RS2.delayTime,Counter.FF3.RS2.q,Counter.FF3.RS2.q0,Counter.FF3.RS2.qn,Counter.FF3.RS2.r,Counter.FF3.RS2.s,Counter.FF3.clk,Counter.FF3.delayTime,Counter.FF3.j,Counter.FF3.k,Counter.FF3.q,Counter.FF3.q0,Counter.FF3.qn,Counter.count,Counter.enable,Counter.q0,Counter.q1,Counter.q2,Enable.after,Enable.before,Enable.stepTime,Enable.y,clock.period,clock.startTime,clock.width,clock.y,time