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.001772/0.001772, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00201/0.002011, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 59.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2599, allocations: 50.56 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003879/0.2638, allocations: 2.6 MB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.2665, allocations: 1.271 MB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.2667, allocations: 7.938 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.267, allocations: 67.38 kB / 412.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.2671, allocations: 71.31 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.2677, allocations: 235.6 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.2697, allocations: 2.065 MB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.2709, allocations: 0.9477 MB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.2733, allocations: 2.117 MB / 418.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.2748, allocations: 1.059 MB / 419.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005755/0.2753, allocations: 216 kB / 419.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.2758, allocations: 216 kB / 419.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007603/0.2766, allocations: 0.6115 MB / 420.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.2778, allocations: 0.894 MB / 421.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.2823, allocations: 4.411 MB / 425.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2824, allocations: 4 kB / 425.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2824, allocations: 0 / 425.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.755e-05/0.2824, allocations: 0 / 425.6 MB, free: 0.6172 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.004918/0.2874, allocations: 2.351 MB / 428 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.2874, allocations: 8.031 kB / 428 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005262/0.288, allocations: 206.2 kB / 428.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007544/0.2887, allocations: 175.8 kB / 428.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.2907, allocations: 1.062 MB / 429.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.2909, allocations: 102.9 kB / 429.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.2913, allocations: 120.4 kB / 429.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/0.296, allocations: 2.297 MB / 431.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.296, allocations: 0 / 431.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.2962, allocations: 56 kB / 432 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.2963, allocations: 28 kB / 432 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004198/0.3005, allocations: 1.977 MB / 434 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008636/0.3092, allocations: 4.817 MB / 438.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.3131, allocations: 1.859 MB / 440.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.3146, allocations: 0.7581 MB / 441.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3149, allocations: 13.31 kB / 441.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/0.3172, allocations: 1.356 MB / 442.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.636e-06/0.3172, allocations: 0 / 442.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005504/0.3227, allocations: 2.67 MB / 445.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.3228, allocations: 90.42 kB / 445.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.3243, allocations: 0.9606 MB / 446.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002633/0.3246, allocations: 93.66 kB / 446.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.3251, allocations: 474.2 kB / 447.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004778/0.3256, allocations: 325.7 kB / 447.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.3267, allocations: 0.6673 MB / 448 MB, free: 9.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.327, allocations: 402.7 kB / 448.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.3287, allocations: 0.8705 MB / 449.3 MB, free: 8.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.3306, allocations: 1.039 MB / 450.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/0.3342, allocations: 1.958 MB / 452.3 MB, free: 5.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3343, allocations: 0 / 452.3 MB, free: 5.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00462/0.3389, allocations: 2.405 MB / 454.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.339, allocations: 33.7 kB / 454.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.339, allocations: 0 / 454.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.339, allocations: 12.03 kB / 454.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.3396, allocations: 231.6 kB / 455 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/0.3396, allocations: 11.94 kB / 455 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.3404, allocations: 79.69 kB / 455.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/0.3417, allocations: 1.093 MB / 456.2 MB, free: 1.633 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.001786/0.3435, allocations: 0.908 MB / 457.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.3439, allocations: 107.3 kB / 457.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.3442, allocations: 130.3 kB / 457.3 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.3442, allocations: 15.98 kB / 457.3 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.3442, allocations: 0 / 457.3 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.3442, allocations: 11.91 kB / 457.3 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.3468, allocations: 1.755 MB / 459.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3468, allocations: 3.938 kB / 459.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.3473, allocations: 215.6 kB / 459.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.3473, allocations: 4 kB / 459.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/0.3476, allocations: 175.9 kB / 459.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3477, allocations: 4 kB / 459.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3477, allocations: 3.984 kB / 459.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.3517, allocations: 2.042 MB / 461.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.3529, allocations: 0.6524 MB / 462.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004718/0.3534, allocations: 115.9 kB / 462.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.3539, allocations: 47.97 kB / 462.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007644/0.3546, allocations: 336.9 kB / 462.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001223/0.3559, allocations: 1.081 MB / 463.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008612/0.3567, allocations: 0.5927 MB / 464.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3567, allocations: 0 / 464.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001379/0.3581, allocations: 379.4 kB / 464.7 MB, free: 8.945 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.004767/0.3629, allocations: 2.845 MB / 467.6 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003949/0.3669, allocations: 2.041 MB / 469.6 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3669, allocations: 0 / 469.6 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.3689, allocations: 1.092 MB / 470.7 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.373, allocations: 1.065 MB / 471.7 MB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.3932, allocations: 11.75 MB / 483.5 MB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.3945, allocations: 1.324 MB / 484.8 MB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007232/0.4018, allocations: 3.367 MB / 488.2 MB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00379/0.4056, allocations: 1.247 MB / 489.4 MB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4056, allocations: 0 / 489.4 MB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08953/0.4952, allocations: 49.63 MB / 0.5264 GB, free: 13.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.352/9.847, allocations: 16.67 kB / 0.5265 GB, free: 13.45 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.1.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