Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 58.5 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.09955, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004094/0.1037, allocations: 2.597 MB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1066, allocations: 1.278 MB / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.1069, allocations: 4 kB / 362.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1071, allocations: 63.38 kB / 362.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1073, allocations: 79.23 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.108, allocations: 227.7 kB / 363.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.11, allocations: 2.073 MB / 365.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.1112, allocations: 0.9555 MB / 366.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.1136, allocations: 2.113 MB / 368.3 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.1153, allocations: 1.059 MB / 369.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006008/0.1159, allocations: 220 kB / 369.5 MB, free: 2.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.1164, allocations: 216 kB / 369.8 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007764/0.1172, allocations: 0.6153 MB / 370.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.1185, allocations: 0.8902 MB / 371.3 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1878/0.3063, allocations: 4.4 MB / 375.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.3064, allocations: 4.797 kB / 375.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3064, allocations: 0 / 375.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.3065, allocations: 0.6562 kB / 375.7 MB, free: 14.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.007849/0.3144, allocations: 2.31 MB / 378 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3144, allocations: 9.719 kB / 378 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007637/0.3152, allocations: 168.5 kB / 378.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.3181, allocations: 1.062 MB / 379.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3182, allocations: 98.06 kB / 379.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005811/0.3188, allocations: 124.4 kB / 379.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005252/0.3241, allocations: 2.285 MB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.3241, allocations: 6.781 kB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.3244, allocations: 50.75 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.3245, allocations: 30.62 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/0.3288, allocations: 1.983 MB / 383.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.3391, allocations: 4.805 MB / 388.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.3436, allocations: 1.861 MB / 390.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.3454, allocations: 0.7603 MB / 391.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.3459, allocations: 15.8 kB / 391.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002885/0.3488, allocations: 1.354 MB / 392.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.719e-06/0.3489, allocations: 0 / 392.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005843/0.3547, allocations: 2.667 MB / 395.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3548, allocations: 95.91 kB / 395.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.3563, allocations: 0.9423 MB / 396.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000764/0.3571, allocations: 96.66 kB / 396.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.3575, allocations: 466.2 kB / 396.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007956/0.3583, allocations: 308.3 kB / 397.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/0.3597, allocations: 0.6683 MB / 397.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3599, allocations: 407.5 kB / 398.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.3618, allocations: 0.8686 MB / 399.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.3638, allocations: 1.037 MB / 400.1 MB, free: 2.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.3674, allocations: 1.96 MB / 402.1 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.3674, allocations: 4 kB / 402.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006277/0.3737, allocations: 2.393 MB / 404.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.3738, allocations: 37.83 kB / 404.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.3738, allocations: 4 kB / 404.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.3738, allocations: 11.7 kB / 404.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.375, allocations: 232.3 kB / 404.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.375, allocations: 16.11 kB / 404.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.3765, allocations: 76.16 kB / 404.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/0.3781, allocations: 1.1 MB / 405.9 MB, free: 13.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002977/0.3811, allocations: 0.8937 MB / 406.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009039/0.3821, allocations: 102.8 kB / 406.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.3825, allocations: 136.6 kB / 407.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.3825, allocations: 12 kB / 407.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.3825, allocations: 0 / 407.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.3825, allocations: 7.969 kB / 407.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.3861, allocations: 1.77 MB / 408.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.3862, allocations: 0 / 408.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/0.3871, allocations: 205.8 kB / 409.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.3871, allocations: 11.98 kB / 409.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005182/0.3876, allocations: 175.9 kB / 409.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.3876, allocations: 8.875 kB / 409.2 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3876, allocations: 0 / 409.2 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.3928, allocations: 2.03 MB / 411.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/0.3948, allocations: 0.644 MB / 411.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008031/0.3957, allocations: 123.4 kB / 412 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.3965, allocations: 47.97 kB / 412.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009125/0.3974, allocations: 329 kB / 412.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001418/0.3989, allocations: 1.082 MB / 413.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009531/0.3998, allocations: 0.5996 MB / 414.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3998, allocations: 0 / 414.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0027/0.4026, allocations: 379.2 kB / 414.5 MB, free: 4.531 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009403/0.4035, allocations: 360.8 kB / 414.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004908/0.4084, allocations: 2.047 MB / 416.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4085, allocations: 0 / 416.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003171/0.4116, allocations: 1.086 MB / 417.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/0.4171, allocations: 1.083 MB / 419 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006917/0.4241, allocations: 2.859 MB / 421.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.4252, allocations: 1.312 MB / 423.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.01519/0.4404, allocations: 3.367 MB / 426.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01088/0.4513, allocations: 0.9307 MB / 427.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4514, allocations: 0 / 427.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of Templates: time 0.06417/0.5156, allocations: 40.41 MB / 467.9 MB, free: 14.24 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches