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.001721/0.001721, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002393/0.002393, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.38 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09113, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003582/0.09475, allocations: 2.594 MB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.09738, allocations: 1.275 MB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.09769, allocations: 7.938 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.09807, allocations: 67.38 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.09839, allocations: 63.31 kB / 361.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.09908, allocations: 239.6 kB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.1012, allocations: 2.065 MB / 363.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.1024, allocations: 0.9477 MB / 364.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.1047, allocations: 2.117 MB / 366.9 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.1062, allocations: 1.055 MB / 368 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007206/0.107, allocations: 216 kB / 368.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007499/0.1077, allocations: 220 kB / 368.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.1087, allocations: 0.6153 MB / 369 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.1102, allocations: 0.8902 MB / 369.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1911/0.3013, allocations: 4.344 MB / 374.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3014, allocations: 0 / 374.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.3014, allocations: 0.9062 kB / 374.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.709e-05/0.3015, allocations: 3.828 kB / 374.3 MB, free: 14.38 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.005867/0.3074, allocations: 2.309 MB / 376.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3074, allocations: 10.44 kB / 376.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004895/0.3079, allocations: 201.1 kB / 376.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006241/0.3086, allocations: 172 kB / 377 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.3104, allocations: 1.058 MB / 378 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.3107, allocations: 124.9 kB / 378.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.3111, allocations: 121.4 kB / 378.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/0.315, allocations: 2.288 MB / 380.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.315, allocations: 0 / 380.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.3153, allocations: 51.75 kB / 380.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.3153, allocations: 34.31 kB / 380.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/0.3189, allocations: 1.978 MB / 382.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007636/0.3266, allocations: 4.866 MB / 387.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.33, allocations: 1.858 MB / 389.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.3314, allocations: 0.7629 MB / 390.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.3316, allocations: 13.28 kB / 390.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.3336, allocations: 1.351 MB / 391.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.998e-06/0.3336, allocations: 0 / 391.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004837/0.3384, allocations: 2.665 MB / 394.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.3385, allocations: 93.95 kB / 394.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.3398, allocations: 0.9422 MB / 395.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.34, allocations: 99.84 kB / 395.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.3403, allocations: 465.3 kB / 395.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.3408, allocations: 314.1 kB / 396 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.3419, allocations: 0.6714 MB / 396.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.342, allocations: 401.8 kB / 397.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.3436, allocations: 0.8645 MB / 397.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.3451, allocations: 1.04 MB / 399 MB, free: 2.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.3479, allocations: 1.953 MB / 400.9 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.348, allocations: 2.625 kB / 400.9 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004183/0.3522, allocations: 2.403 MB / 403.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.3522, allocations: 29.7 kB / 403.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3522, allocations: 4 kB / 403.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3523, allocations: 8 kB / 403.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.3528, allocations: 233.4 kB / 403.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.3528, allocations: 8 kB / 403.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.3536, allocations: 81.19 kB / 403.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/0.3547, allocations: 1.097 MB / 404.8 MB, free: 12.95 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.001687/0.3564, allocations: 0.8997 MB / 405.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.3568, allocations: 106.8 kB / 405.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.3571, allocations: 126.3 kB / 405.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3571, allocations: 12 kB / 405.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.3571, allocations: 4 kB / 405.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.3572, allocations: 15.84 kB / 406 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.3597, allocations: 1.759 MB / 407.7 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3597, allocations: 0 / 407.7 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.3602, allocations: 209.6 kB / 407.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3602, allocations: 7.984 kB / 407.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003062/0.3605, allocations: 175.9 kB / 408.1 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3605, allocations: 6.625 kB / 408.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3605, allocations: 4 kB / 408.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/0.3648, allocations: 2.033 MB / 410.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.3662, allocations: 0.644 MB / 410.8 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/0.3667, allocations: 119.9 kB / 410.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.3673, allocations: 53.22 kB / 411 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007348/0.368, allocations: 328.9 kB / 411.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001266/0.3693, allocations: 1.085 MB / 412.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008573/0.3701, allocations: 0.5927 MB / 413 MB, free: 4.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3701, allocations: 0 / 413 MB, free: 4.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001481/0.3716, allocations: 375.2 kB / 413.3 MB, free: 4.363 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.004769/0.3764, allocations: 2.838 MB / 416.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.007379/0.3838, allocations: 3.285 MB / 419.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3838, allocations: 4 kB / 419.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.386, allocations: 1.098 MB / 420.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.3905, allocations: 1.074 MB / 421.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.4143, allocations: 12.04 MB / 433.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.416, allocations: 1.312 MB / 435 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0138/0.4298, allocations: 3.393 MB / 438.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008618/0.4385, allocations: 1.243 MB / 439.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4385, allocations: 0 / 439.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08654/0.5251, allocations: 49.51 MB / 489.1 MB, free: 7.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.933, allocations: 4.562 kB / 489.1 MB, free: 7.449 MB / 398.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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