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.001063/0.001063, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.001161/0.001161, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 43.84 kB / 300.1 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1017, allocations: 49.44 MB / 349.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003614/0.1053, allocations: 2.639 MB / 352.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1077, allocations: 1.228 MB / 353.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1079, allocations: 7.938 kB / 353.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.1081, allocations: 47.64 kB / 353.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1082, allocations: 55.5 kB / 353.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.1087, allocations: 203.9 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.1103, allocations: 1.842 MB / 355.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.1115, allocations: 0.9204 MB / 356.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.1133, allocations: 1.882 MB / 358.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009329/0.1142, allocations: 0.9375 MB / 359.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.1146, allocations: 72 kB / 359.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.1149, allocations: 72 kB / 359.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005449/0.1154, allocations: 470 kB / 359.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008645/0.1163, allocations: 0.7494 MB / 360.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.1193, allocations: 4.246 MB / 364.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1193, allocations: 0 / 364.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1193, allocations: 0 / 364.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.1194, allocations: 4 kB / 364.9 MB, free: 5.102 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.003544/0.1229, allocations: 2.301 MB / 367.2 MB, free: 2.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.123, allocations: 8.031 kB / 367.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003897/0.1234, allocations: 210.2 kB / 367.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.1238, allocations: 174.9 kB / 367.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.1255, allocations: 1.058 MB / 368.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/0.1256, allocations: 98.91 kB / 368.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.1259, allocations: 124.4 kB / 368.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1491/0.275, allocations: 2.284 MB / 371.1 MB, free: 23.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.2751, allocations: 0 / 371.1 MB, free: 23.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/0.2753, allocations: 50.78 kB / 371.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.2754, allocations: 33.33 kB / 371.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004424/0.2798, allocations: 1.983 MB / 373.2 MB, free: 22.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007979/0.2878, allocations: 4.776 MB / 377.9 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.2914, allocations: 1.867 MB / 379.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.2928, allocations: 0.7576 MB / 380.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.293, allocations: 15.48 kB / 380.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001948/0.295, allocations: 1.358 MB / 381.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.216e-06/0.295, allocations: 0 / 381.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004977/0.3, allocations: 2.665 MB / 384.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3001, allocations: 99.22 kB / 384.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3011, allocations: 0.9424 MB / 385.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.3014, allocations: 99.5 kB / 385.7 MB, free: 17.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.3016, allocations: 463.8 kB / 386.2 MB, free: 17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.302, allocations: 313.3 kB / 386.5 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009742/0.303, allocations: 0.667 MB / 387.2 MB, free: 16.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3031, allocations: 406.2 kB / 387.6 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.3046, allocations: 0.8667 MB / 388.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.3061, allocations: 1.033 MB / 389.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.3089, allocations: 1.958 MB / 391.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3089, allocations: 0 / 391.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003618/0.3125, allocations: 2.4 MB / 393.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.3125, allocations: 37.69 kB / 393.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3126, allocations: 4 kB / 393.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3126, allocations: 8 kB / 393.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.3131, allocations: 235.5 kB / 394.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3131, allocations: 12.62 kB / 394.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3142, allocations: 182.1 kB / 394.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000692/0.315, allocations: 1.089 MB / 395.4 MB, free: 9.586 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.001078/0.316, allocations: 0.9013 MB / 396.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.3163, allocations: 102.8 kB / 396.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.3165, allocations: 130.3 kB / 396.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.3165, allocations: 15.94 kB / 396.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.3165, allocations: 4 kB / 396.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3166, allocations: 11.95 kB / 396.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.3186, allocations: 1.759 MB / 398.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3186, allocations: 3.656 kB / 398.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.319, allocations: 203.7 kB / 398.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.319, allocations: 4 kB / 398.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.3193, allocations: 175.9 kB / 398.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3193, allocations: 9.312 kB / 398.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3193, allocations: 0 / 398.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.3224, allocations: 2.034 MB / 400.7 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.3235, allocations: 0.646 MB / 401.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/0.3239, allocations: 115.9 kB / 401.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.3246, allocations: 147.4 kB / 401.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006062/0.3252, allocations: 333 kB / 401.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007306/0.326, allocations: 1.089 MB / 403 MB, free: 1.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006188/0.3266, allocations: 0.5927 MB / 403.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3266, allocations: 0 / 403.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001342/0.328, allocations: 383.1 kB / 404 MB, free: 0.8555 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.00425/0.3322, allocations: 2.834 MB / 406.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.336, allocations: 2.045 MB / 408.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.336, allocations: 0 / 408.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.3379, allocations: 1.1 MB / 410 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.3413, allocations: 0.9702 MB / 411 MB, free: 9.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/0.3629, allocations: 12.42 MB / 423.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.364, allocations: 1.316 MB / 424.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.005875/0.3699, allocations: 3.382 MB / 428.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003114/0.373, allocations: 1.239 MB / 429.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of SimCode: time 8.12e-07/0.373, allocations: 4 kB / 429.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0677/0.4407, allocations: 48.24 MB / 477.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.441, allocations: 203.7 kB / 477.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.075, allocations: 7.438 kB / 477.8 MB, free: 5.949 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