Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007714/0.0007715, allocations: 89.33 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003407, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter3): time 0.002522/0.2487, allocations: 2.955 MB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2514, allocations: 1.631 MB / 379.1 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.2517, allocations: 14.19 kB / 379.1 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.2519, allocations: 89.48 kB / 379.2 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.2521, allocations: 59.36 kB / 379.3 MB, free: 41.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.2528, allocations: 278.7 kB / 379.6 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000961/0.2537, allocations: 1.158 MB / 380.7 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.2543, allocations: 389.3 kB / 381.1 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.2558, allocations: 1.158 MB / 382.3 MB, free: 40.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.2566, allocations: 0.6766 MB / 382.9 MB, free: 39.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.2569, allocations: 26.78 kB / 383 MB, free: 39.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.2571, allocations: 30.06 kB / 383 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.2575, allocations: 320.9 kB / 383.3 MB, free: 39.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.2577, allocations: 210 kB / 383.5 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2591, allocations: 2.572 MB / 386.1 MB, free: 37.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2591, allocations: 0 / 386.1 MB, free: 37.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2591, allocations: 0 / 386.1 MB, free: 37.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.2591, allocations: 0 / 386.1 MB, free: 37.27 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.001758/0.2609, allocations: 1.255 MB / 387.3 MB, free: 35.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2609, allocations: 11.97 kB / 387.3 MB, free: 35.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.2612, allocations: 118.6 kB / 387.5 MB, free: 35.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.262, allocations: 0.6722 MB / 388.1 MB, free: 35.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.2621, allocations: 70 kB / 388.2 MB, free: 35.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.2623, allocations: 92 kB / 388.3 MB, free: 34.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.2644, allocations: 1.334 MB / 389.6 MB, free: 33.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2644, allocations: 0 / 389.6 MB, free: 33.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.2646, allocations: 40 kB / 389.7 MB, free: 33.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2646, allocations: 20 kB / 389.7 MB, free: 33.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.2664, allocations: 1.081 MB / 390.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.2707, allocations: 3.136 MB / 393.9 MB, free: 29.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.2727, allocations: 1.132 MB / 395 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.2735, allocations: 451.6 kB / 395.5 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.2736, allocations: 16.94 kB / 395.5 MB, free: 27.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.2748, allocations: 0.8402 MB / 396.3 MB, free: 26.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 4.549e-06/0.2748, allocations: 0 / 396.3 MB, free: 26.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.002858/0.2776, allocations: 1.665 MB / 398 MB, free: 25.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2777, allocations: 98.05 kB / 398.1 MB, free: 25.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.2783, allocations: 0.5441 MB / 398.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.2785, allocations: 65.69 kB / 398.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.2786, allocations: 289.1 kB / 399 MB, free: 24.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.2788, allocations: 221.3 kB / 399.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.279, allocations: 24 kB / 399.2 MB, free: 23.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.2791, allocations: 366.8 kB / 399.6 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.2799, allocations: 486.3 kB / 400.1 MB, free: 23.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000846/0.2808, allocations: 0.5921 MB / 400.7 MB, free: 22.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.2817, allocations: 0.5795 MB / 401.2 MB, free: 21.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2817, allocations: 0 / 401.2 MB, free: 21.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002278/0.284, allocations: 1.494 MB / 402.7 MB, free: 20.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.284, allocations: 29.7 kB / 402.8 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2841, allocations: 4 kB / 402.8 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2841, allocations: 8 kB / 402.8 MB, free: 20.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.2844, allocations: 171.6 kB / 402.9 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2844, allocations: 8 kB / 402.9 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007825/0.2852, allocations: 143.4 kB / 403.1 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005293/0.2857, allocations: 0.8164 MB / 403.9 MB, free: 19.14 MB / 298.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.0007015/0.2864, allocations: 0.501 MB / 404.4 MB, free: 18.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.2866, allocations: 71.2 kB / 404.5 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.2867, allocations: 78.88 kB / 404.5 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2868, allocations: 8 kB / 404.6 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.2868, allocations: 0 / 404.6 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.2868, allocations: 7.984 kB / 404.6 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.288, allocations: 1.142 MB / 405.7 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.288, allocations: 0 / 405.7 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2883, allocations: 147.8 kB / 405.8 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2883, allocations: 7.938 kB / 405.9 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.2885, allocations: 135.9 kB / 406 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2885, allocations: 4 kB / 406 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2885, allocations: 0 / 406 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.2905, allocations: 1.319 MB / 407.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.2911, allocations: 452 kB / 407.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.2913, allocations: 52 kB / 407.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.2919, allocations: 107.5 kB / 407.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.2922, allocations: 180.8 kB / 408.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005463/0.2927, allocations: 0.8155 MB / 408.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003155/0.2931, allocations: 335.1 kB / 409.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2931, allocations: 0 / 409.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008015/0.2939, allocations: 255.3 kB / 409.5 MB, free: 13.45 MB / 298.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.0003182/0.2942, allocations: 248.5 kB / 409.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.2962, allocations: 1.221 MB / 410.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2962, allocations: 0 / 410.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009314/0.2971, allocations: 0.6688 MB / 411.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.2995, allocations: 0.6568 MB / 412.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.3021, allocations: 1.951 MB / 414.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.3026, allocations: 1.025 MB / 415.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002865/0.3055, allocations: 0.9853 MB / 416.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of SimCode: time 2.364e-06/0.3055, allocations: 0 / 416.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of Templates: time 0.02331/0.3288, allocations: 21.3 MB / 437.5 MB, free: 96 kB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter3/Counter3.csv","../files/Modelica_3.2.3_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:Clock.period,Clock.startTime,Clock.width,Clock.y,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,time