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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.27, allocations: 50.54 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004144/0.2742, allocations: 2.601 MB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.277, allocations: 1.267 MB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.2773, allocations: 7.938 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2776, allocations: 71.38 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.278, allocations: 67.31 kB / 412.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.2787, allocations: 235.6 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.2805, allocations: 2.069 MB / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.2815, allocations: 0.9516 MB / 416 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.2838, allocations: 2.113 MB / 418.1 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.2851, allocations: 1.063 MB / 419.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004259/0.2855, allocations: 216 kB / 419.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.2859, allocations: 216 kB / 419.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.2866, allocations: 0.6231 MB / 420.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.2877, allocations: 0.8863 MB / 421.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.2912, allocations: 4.414 MB / 425.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.2912, allocations: 4 kB / 425.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2913, allocations: 0 / 425.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.793e-05/0.2913, allocations: 4 kB / 425.5 MB, free: 0.6836 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.004564/0.2959, allocations: 2.301 MB / 427.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.296, allocations: 8.031 kB / 427.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003559/0.2963, allocations: 202.2 kB / 428.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.2967, allocations: 163.1 kB / 428.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.2989, allocations: 1.066 MB / 429.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/0.299, allocations: 98.91 kB / 429.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.2993, allocations: 120.4 kB / 429.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.3031, allocations: 2.289 MB / 431.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.3032, allocations: 0 / 431.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.3034, allocations: 52 kB / 431.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.3034, allocations: 28 kB / 431.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.307, allocations: 1.981 MB / 433.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008515/0.3155, allocations: 4.812 MB / 438.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/0.3191, allocations: 1.859 MB / 440.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3205, allocations: 0.7659 MB / 441.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.3208, allocations: 17.31 kB / 441.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.3228, allocations: 1.356 MB / 442.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.3229, allocations: 0 / 442.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.004942/0.3278, allocations: 2.669 MB / 445.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3279, allocations: 90.42 kB / 445.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.3292, allocations: 0.9485 MB / 446.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.3294, allocations: 97.66 kB / 446.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.3297, allocations: 461.2 kB / 446.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.3301, allocations: 312.2 kB / 447.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000944/0.331, allocations: 0.6672 MB / 447.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3312, allocations: 406.7 kB / 448.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.3327, allocations: 0.8666 MB / 449.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.3343, allocations: 1.035 MB / 450.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.3374, allocations: 1.958 MB / 452.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3374, allocations: 3.984 kB / 452.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003965/0.3414, allocations: 2.401 MB / 454.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.3414, allocations: 36.67 kB / 454.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3415, allocations: 4 kB / 454.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3415, allocations: 12 kB / 454.6 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.342, allocations: 227.6 kB / 454.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.342, allocations: 11.94 kB / 454.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.3426, allocations: 83.59 kB / 454.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008692/0.3435, allocations: 1.093 MB / 456 MB, free: 1.797 MB / 366.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.001325/0.3448, allocations: 0.9041 MB / 456.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.3451, allocations: 102.8 kB / 457 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.3454, allocations: 126.3 kB / 457.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3454, allocations: 12 kB / 457.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.3454, allocations: 4 kB / 457.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.3454, allocations: 15.91 kB / 457.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.3476, allocations: 1.751 MB / 458.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3476, allocations: 0 / 458.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.3481, allocations: 207.7 kB / 459.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3481, allocations: 11.88 kB / 459.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/0.3483, allocations: 175.9 kB / 459.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3483, allocations: 4 kB / 459.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3483, allocations: 0 / 459.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.3519, allocations: 2.038 MB / 461.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.3534, allocations: 0.6402 MB / 462 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/0.3538, allocations: 119.9 kB / 462.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.3542, allocations: 51.97 kB / 462.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006422/0.3549, allocations: 336.9 kB / 462.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009681/0.3559, allocations: 1.085 MB / 463.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007944/0.3567, allocations: 0.5927 MB / 464.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3567, allocations: 0 / 464.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001641/0.3583, allocations: 379.1 kB / 464.5 MB, free: 9.137 MB / 382.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.004228/0.3626, allocations: 2.837 MB / 467.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.3662, allocations: 2.041 MB / 469.4 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3662, allocations: 4 kB / 469.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.3679, allocations: 1.088 MB / 470.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/0.3719, allocations: 1.073 MB / 471.6 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.3893, allocations: 11.71 MB / 483.3 MB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.3905, allocations: 1.32 MB / 484.6 MB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.005857/0.3964, allocations: 3.374 MB / 488 MB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00297/0.3994, allocations: 1.243 MB / 489.2 MB, free: 196 kB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3994, allocations: 0 / 489.2 MB, free: 196 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07114/0.4705, allocations: 50.11 MB / 0.5267 GB, free: 13.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.937/9.408, allocations: 16.05 kB / 0.5267 GB, free: 13.22 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > 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) "" Variables in the reference: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 Variables in the result:Counter.FF[1].And1.n,Counter.FF[1].And1.x[1],Counter.FF[1].And1.x[2],Counter.FF[1].And1.x[3],Counter.FF[1].And1.y,Counter.FF[1].And2.n,Counter.FF[1].And2.x[1],Counter.FF[1].And2.x[2],Counter.FF[1].And2.x[3],Counter.FF[1].And2.y,Counter.FF[1].And3.n,Counter.FF[1].And3.x[1],Counter.FF[1].And3.x[2],Counter.FF[1].And3.y,Counter.FF[1].And4.n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.x[2],Counter.FF[1].And4.y,Counter.FF[1].Not1.x,Counter.FF[1].Not1.y,Counter.FF[1].RS1.Nor1.n,Counter.FF[1].RS1.Nor1.x[1],Counter.FF[1].RS1.Nor1.x[2],Counter.FF[1].RS1.Nor1.y,Counter.FF[1].RS1.Nor2.n,Counter.FF[1].RS1.Nor2.x[1],Counter.FF[1].RS1.Nor2.x[2],Counter.FF[1].RS1.Nor2.y,Counter.FF[1].RS1.TD1.delayTime,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.y0,Counter.FF[1].RS1.delayTime,Counter.FF[1].RS1.q,Counter.FF[1].RS1.q0,Counter.FF[1].RS1.qn,Counter.FF[1].RS1.r,Counter.FF[1].RS1.s,Counter.FF[1].RS2.Nor1.n,Counter.FF[1].RS2.Nor1.x[1],Counter.FF[1].RS2.Nor1.x[2],Counter.FF[1].RS2.Nor1.y,Counter.FF[1].RS2.Nor2.n,Counter.FF[1].RS2.Nor2.x[1],Counter.FF[1].RS2.Nor2.x[2],Counter.FF[1].RS2.Nor2.y,Counter.FF[1].RS2.TD1.delayTime,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.y0,Counter.FF[1].RS2.delayTime,Counter.FF[1].RS2.q,Counter.FF[1].RS2.q0,Counter.FF[1].RS2.qn,Counter.FF[1].RS2.r,Counter.FF[1].RS2.s,Counter.FF[1].clk,Counter.FF[1].delayTime,Counter.FF[1].j,Counter.FF[1].k,Counter.FF[1].q,Counter.FF[1].q0,Counter.FF[1].qn,Counter.FF[2].And1.n,Counter.FF[2].And1.x[1],Counter.FF[2].And1.x[2],Counter.FF[2].And1.x[3],Counter.FF[2].And1.y,Counter.FF[2].And2.n,Counter.FF[2].And2.x[1],Counter.FF[2].And2.x[2],Counter.FF[2].And2.x[3],Counter.FF[2].And2.y,Counter.FF[2].And3.n,Counter.FF[2].And3.x[1],Counter.FF[2].And3.x[2],Counter.FF[2].And3.y,Counter.FF[2].And4.n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.x[2],Counter.FF[2].And4.y,Counter.FF[2].Not1.x,Counter.FF[2].Not1.y,Counter.FF[2].RS1.Nor1.n,Counter.FF[2].RS1.Nor1.x[1],Counter.FF[2].RS1.Nor1.x[2],Counter.FF[2].RS1.Nor1.y,Counter.FF[2].RS1.Nor2.n,Counter.FF[2].RS1.Nor2.x[1],Counter.FF[2].RS1.Nor2.x[2],Counter.FF[2].RS1.Nor2.y,Counter.FF[2].RS1.TD1.delayTime,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.y0,Counter.FF[2].RS1.delayTime,Counter.FF[2].RS1.q,Counter.FF[2].RS1.q0,Counter.FF[2].RS1.qn,Counter.FF[2].RS1.r,Counter.FF[2].RS1.s,Counter.FF[2].RS2.Nor1.n,Counter.FF[2].RS2.Nor1.x[1],Counter.FF[2].RS2.Nor1.x[2],Counter.FF[2].RS2.Nor1.y,Counter.FF[2].RS2.Nor2.n,Counter.FF[2].RS2.Nor2.x[1],Counter.FF[2].RS2.Nor2.x[2],Counter.FF[2].RS2.Nor2.y,Counter.FF[2].RS2.TD1.delayTime,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.y0,Counter.FF[2].RS2.delayTime,Counter.FF[2].RS2.q,Counter.FF[2].RS2.q0,Counter.FF[2].RS2.qn,Counter.FF[2].RS2.r,Counter.FF[2].RS2.s,Counter.FF[2].clk,Counter.FF[2].delayTime,Counter.FF[2].j,Counter.FF[2].k,Counter.FF[2].q,Counter.FF[2].q0,Counter.FF[2].qn,Counter.FF[3].And1.n,Counter.FF[3].And1.x[1],Counter.FF[3].And1.x[2],Counter.FF[3].And1.x[3],Counter.FF[3].And1.y,Counter.FF[3].And2.n,Counter.FF[3].And2.x[1],Counter.FF[3].And2.x[2],Counter.FF[3].And2.x[3],Counter.FF[3].And2.y,Counter.FF[3].And3.n,Counter.FF[3].And3.x[1],Counter.FF[3].And3.x[2],Counter.FF[3].And3.y,Counter.FF[3].And4.n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.x[2],Counter.FF[3].And4.y,Counter.FF[3].Not1.x,Counter.FF[3].Not1.y,Counter.FF[3].RS1.Nor1.n,Counter.FF[3].RS1.Nor1.x[1],Counter.FF[3].RS1.Nor1.x[2],Counter.FF[3].RS1.Nor1.y,Counter.FF[3].RS1.Nor2.n,Counter.FF[3].RS1.Nor2.x[1],Counter.FF[3].RS1.Nor2.x[2],Counter.FF[3].RS1.Nor2.y,Counter.FF[3].RS1.TD1.delayTime,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.y0,Counter.FF[3].RS1.delayTime,Counter.FF[3].RS1.q,Counter.FF[3].RS1.q0,Counter.FF[3].RS1.qn,Counter.FF[3].RS1.r,Counter.FF[3].RS1.s,Counter.FF[3].RS2.Nor1.n,Counter.FF[3].RS2.Nor1.x[1],Counter.FF[3].RS2.Nor1.x[2],Counter.FF[3].RS2.Nor1.y,Counter.FF[3].RS2.Nor2.n,Counter.FF[3].RS2.Nor2.x[1],Counter.FF[3].RS2.Nor2.x[2],Counter.FF[3].RS2.Nor2.y,Counter.FF[3].RS2.TD1.delayTime,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.y0,Counter.FF[3].RS2.delayTime,Counter.FF[3].RS2.q,Counter.FF[3].RS2.q0,Counter.FF[3].RS2.qn,Counter.FF[3].RS2.r,Counter.FF[3].RS2.s,Counter.FF[3].clk,Counter.FF[3].delayTime,Counter.FF[3].j,Counter.FF[3].k,Counter.FF[3].q,Counter.FF[3].q0,Counter.FF[3].qn,Counter.FF[4].And1.n,Counter.FF[4].And1.x[1],Counter.FF[4].And1.x[2],Counter.FF[4].And1.x[3],Counter.FF[4].And1.y,Counter.FF[4].And2.n,Counter.FF[4].And2.x[1],Counter.FF[4].And2.x[2],Counter.FF[4].And2.x[3],Counter.FF[4].And2.y,Counter.FF[4].And3.n,Counter.FF[4].And3.x[1],Counter.FF[4].And3.x[2],Counter.FF[4].And3.y,Counter.FF[4].And4.n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.x[2],Counter.FF[4].And4.y,Counter.FF[4].Not1.x,Counter.FF[4].Not1.y,Counter.FF[4].RS1.Nor1.n,Counter.FF[4].RS1.Nor1.x[1],Counter.FF[4].RS1.Nor1.x[2],Counter.FF[4].RS1.Nor1.y,Counter.FF[4].RS1.Nor2.n,Counter.FF[4].RS1.Nor2.x[1],Counter.FF[4].RS1.Nor2.x[2],Counter.FF[4].RS1.Nor2.y,Counter.FF[4].RS1.TD1.delayTime,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.y0,Counter.FF[4].RS1.delayTime,Counter.FF[4].RS1.q,Counter.FF[4].RS1.q0,Counter.FF[4].RS1.qn,Counter.FF[4].RS1.r,Counter.FF[4].RS1.s,Counter.FF[4].RS2.Nor1.n,Counter.FF[4].RS2.Nor1.x[1],Counter.FF[4].RS2.Nor1.x[2],Counter.FF[4].RS2.Nor1.y,Counter.FF[4].RS2.Nor2.n,Counter.FF[4].RS2.Nor2.x[1],Counter.FF[4].RS2.Nor2.x[2],Counter.FF[4].RS2.Nor2.y,Counter.FF[4].RS2.TD1.delayTime,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.y0,Counter.FF[4].RS2.delayTime,Counter.FF[4].RS2.q,Counter.FF[4].RS2.q0,Counter.FF[4].RS2.qn,Counter.FF[4].RS2.r,Counter.FF[4].RS2.s,Counter.FF[4].clk,Counter.FF[4].delayTime,Counter.FF[4].j,Counter.FF[4].k,Counter.FF[4].q,Counter.FF[4].q0,Counter.FF[4].qn,Counter.count,Counter.delayTime,Counter.enable,Counter.n,Counter.q0,Counter.q[1],Counter.q[2],Counter.q[3],Counter.q[4],Enable.after,Enable.before,Enable.stepTime,Enable.y,Q0.n,Q0.value_0,Q0.value_1,Q0.value_H,Q0.value_L,Q0.value_U,Q0.value_W,Q0.value_X,Q0.value_Z,Q0.value_m,Q0.x[1],Q0.y[1],Q1.n,Q1.value_0,Q1.value_1,Q1.value_H,Q1.value_L,Q1.value_U,Q1.value_W,Q1.value_X,Q1.value_Z,Q1.value_m,Q1.x[1],Q1.y[1],Q2.n,Q2.value_0,Q2.value_1,Q2.value_H,Q2.value_L,Q2.value_U,Q2.value_W,Q2.value_X,Q2.value_Z,Q2.value_m,Q2.x[1],Q2.y[1],Q3.n,Q3.value_0,Q3.value_1,Q3.value_H,Q3.value_L,Q3.value_U,Q3.value_W,Q3.value_X,Q3.value_Z,Q3.value_m,Q3.x[1],Q3.y[1],clock.period,clock.startTime,clock.width,clock.y,time