Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.0009769, allocations: 90.03 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 180.2 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 7.984 kB / 301.5 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 50.41 MB / 351.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00291/0.1104, allocations: 2.261 MB / 354.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1131, allocations: 1.208 MB / 355.4 MB, free: 120 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.1135, allocations: 7.938 kB / 355.4 MB, free: 112 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1138, allocations: 51.62 kB / 355.5 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.1141, allocations: 51.52 kB / 355.5 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.1149, allocations: 215.8 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.1171, allocations: 1.839 MB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.1185, allocations: 0.9048 MB / 358.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.1209, allocations: 1.793 MB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.1222, allocations: 0.8244 MB / 361.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.1227, allocations: 36 kB / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.1232, allocations: 44 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007208/0.1239, allocations: 418 kB / 361.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.1253, allocations: 0.6848 MB / 362.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.1295, allocations: 4.167 MB / 366.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1295, allocations: 0 / 366.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1295, allocations: 0 / 366.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.1296, allocations: 4 kB / 366.4 MB, free: 5.035 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.005066/0.1347, allocations: 1.681 MB / 368.1 MB, free: 3.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1348, allocations: 8.031 kB / 368.1 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007178/0.1355, allocations: 206.2 kB / 368.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.136, allocations: 174.9 kB / 368.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.1378, allocations: 1.062 MB / 369.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.138, allocations: 98.91 kB / 369.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.1383, allocations: 120.4 kB / 369.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1919/0.3302, allocations: 2.298 MB / 372.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.3303, allocations: 0 / 372.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.3306, allocations: 51.31 kB / 372.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.3307, allocations: 30.88 kB / 372.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.3355, allocations: 2.005 MB / 374.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009063/0.3446, allocations: 4.789 MB / 378.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.3487, allocations: 1.911 MB / 380.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.3502, allocations: 0.768 MB / 381.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.3504, allocations: 22.83 kB / 381.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/0.3526, allocations: 1.362 MB / 383 MB, free: 18.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.3526, allocations: 1.438 kB / 383 MB, free: 18.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005121/0.3577, allocations: 2.706 MB / 385.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3578, allocations: 94.14 kB / 385.8 MB, free: 17.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.3591, allocations: 0.9423 MB / 386.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.3593, allocations: 102.8 kB / 386.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.3597, allocations: 463.9 kB / 387.3 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.3601, allocations: 307.2 kB / 387.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.3605, allocations: 238.2 kB / 387.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3606, allocations: 402.2 kB / 388.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.3622, allocations: 0.8792 MB / 389.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.3637, allocations: 1.054 MB / 390.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.3665, allocations: 1.976 MB / 392.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3666, allocations: 0 / 392.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00358/0.3701, allocations: 2.419 MB / 394.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.3702, allocations: 33.7 kB / 394.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3702, allocations: 4 kB / 394.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.3702, allocations: 8 kB / 394.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.3707, allocations: 238.9 kB / 394.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3707, allocations: 16.64 kB / 394.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.372, allocations: 198 kB / 395 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007204/0.3727, allocations: 1.089 MB / 396.1 MB, free: 9.34 MB / 302.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.001314/0.3741, allocations: 0.8979 MB / 397 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.3744, allocations: 102.9 kB / 397.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.3746, allocations: 130.3 kB / 397.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3746, allocations: 15.94 kB / 397.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.3746, allocations: 0 / 397.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3746, allocations: 7.969 kB / 397.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.3768, allocations: 1.762 MB / 399 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3768, allocations: 0 / 399 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.3772, allocations: 207.7 kB / 399.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.3772, allocations: 4 kB / 399.3 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.3775, allocations: 178 kB / 399.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.3775, allocations: 11.94 kB / 399.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3775, allocations: 0 / 399.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.3806, allocations: 2.053 MB / 401.5 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009097/0.3815, allocations: 0.6556 MB / 402.1 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003728/0.3819, allocations: 119.9 kB / 402.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/0.3827, allocations: 147.6 kB / 402.4 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005666/0.3832, allocations: 329 kB / 402.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006785/0.3839, allocations: 1.085 MB / 403.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006105/0.3845, allocations: 0.5927 MB / 404.4 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3846, allocations: 0 / 404.4 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001242/0.3858, allocations: 383.1 kB / 404.8 MB, free: 0.5977 MB / 302.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.004307/0.3901, allocations: 2.859 MB / 407.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003801/0.3939, allocations: 2.061 MB / 409.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3939, allocations: 0 / 409.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.3958, allocations: 1.112 MB / 410.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/0.3998, allocations: 0.9704 MB / 411.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/0.422, allocations: 12.49 MB / 424.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.4234, allocations: 1.309 MB / 425.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.006794/0.4302, allocations: 3.386 MB / 429 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003323/0.4336, allocations: 1.239 MB / 430.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4336, allocations: 4 kB / 430.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07738/0.511, allocations: 47.87 MB / 478.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.5112, allocations: 198.5 kB / 478.3 MB, free: 5.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/3.351, allocations: 0 / 478.3 MB, free: 5.996 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches