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.00119/0.00119, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 60.19 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1396, allocations: 50.52 MB / 357.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004115/0.1438, allocations: 2.602 MB / 360.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1465, allocations: 1.278 MB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/0.1468, allocations: 7.938 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.1471, allocations: 59.38 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1474, allocations: 75.3 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.1481, allocations: 235.7 kB / 361.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.1503, allocations: 2.057 MB / 363.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.1517, allocations: 0.9516 MB / 364.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.1545, allocations: 2.109 MB / 366.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.1566, allocations: 1.059 MB / 368 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009056/0.1575, allocations: 224 kB / 368.2 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.1583, allocations: 216 kB / 368.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.1594, allocations: 0.6076 MB / 369 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.1615, allocations: 0.9057 MB / 369.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1774/0.3389, allocations: 4.341 MB / 374.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.339, allocations: 0.75 kB / 374.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.339, allocations: 0 / 374.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.3391, allocations: 1.188 kB / 374.3 MB, free: 14.37 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.01083/0.35, allocations: 2.31 MB / 376.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.35, allocations: 10.23 kB / 376.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009578/0.351, allocations: 199.4 kB / 376.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/0.3518, allocations: 168.2 kB / 377 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3541, allocations: 1.06 MB / 378 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.3543, allocations: 125.9 kB / 378.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000575/0.3549, allocations: 121.8 kB / 378.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005885/0.3608, allocations: 2.289 MB / 380.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.3609, allocations: 5.75 kB / 380.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004023/0.3613, allocations: 52.86 kB / 380.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.3613, allocations: 32 kB / 380.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004187/0.3655, allocations: 1.976 MB / 382.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008213/0.3738, allocations: 4.866 MB / 387.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/0.3777, allocations: 1.858 MB / 389.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.3792, allocations: 0.7593 MB / 390.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.3795, allocations: 13.22 kB / 390.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002217/0.3817, allocations: 1.35 MB / 391.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 5.751e-06/0.3817, allocations: 4 kB / 391.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005688/0.3874, allocations: 2.667 MB / 394.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3875, allocations: 93.92 kB / 394.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3887, allocations: 0.9467 MB / 395.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003486/0.3891, allocations: 100.9 kB / 395.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.3895, allocations: 462.3 kB / 395.7 MB, free: 5.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.39, allocations: 309.9 kB / 396 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.3912, allocations: 0.6721 MB / 396.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3913, allocations: 401.8 kB / 397.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.3929, allocations: 0.8596 MB / 397.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.3946, allocations: 1.043 MB / 399 MB, free: 2.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/0.3975, allocations: 1.948 MB / 400.9 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.3975, allocations: 8 kB / 400.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004328/0.4018, allocations: 2.396 MB / 403.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.4019, allocations: 37.69 kB / 403.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4019, allocations: 0 / 403.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.402, allocations: 12 kB / 403.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.4025, allocations: 228.4 kB / 403.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.4025, allocations: 8 kB / 403.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.4034, allocations: 87.62 kB / 403.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/0.4045, allocations: 1.096 MB / 404.8 MB, free: 12.98 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.001807/0.4063, allocations: 0.9023 MB / 405.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006047/0.407, allocations: 102.8 kB / 405.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.4073, allocations: 130.3 kB / 405.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4073, allocations: 12 kB / 405.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.4073, allocations: 0 / 405.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.4073, allocations: 11.91 kB / 406 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.4105, allocations: 1.758 MB / 407.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.4106, allocations: 0 / 407.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.4112, allocations: 209.9 kB / 407.9 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.658e-05/0.4113, allocations: 4 kB / 407.9 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004331/0.4117, allocations: 179.9 kB / 408.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.607e-05/0.4117, allocations: 8 kB / 408.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4118, allocations: 0 / 408.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/0.4165, allocations: 2.034 MB / 410.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.4178, allocations: 0.6479 MB / 410.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006048/0.4185, allocations: 119.9 kB / 410.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.4192, allocations: 47.97 kB / 411 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007347/0.4199, allocations: 336.9 kB / 411.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001315/0.4212, allocations: 1.08 MB / 412.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009374/0.4222, allocations: 0.5927 MB / 413 MB, free: 4.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4222, allocations: 2.625 kB / 413 MB, free: 4.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002061/0.4243, allocations: 379.2 kB / 413.3 MB, free: 4.398 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.00529/0.4296, allocations: 2.831 MB / 416.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006658/0.4362, allocations: 3.28 MB / 419.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4363, allocations: 4.062 kB / 419.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.4385, allocations: 1.099 MB / 420.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004798/0.4433, allocations: 1.075 MB / 421.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/0.4669, allocations: 12.04 MB / 433.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.4685, allocations: 1.316 MB / 435 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.01364/0.4822, allocations: 3.382 MB / 438.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009075/0.4913, allocations: 1.247 MB / 439.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4913, allocations: 0 / 439.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09644/0.5877, allocations: 49.51 MB / 489.1 MB, free: 7.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/9.22, allocations: 4.5 kB / 489.1 MB, free: 7.488 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 & /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) Reference file matches