Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_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.001451/0.001451, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001186/0.001186, allocations: 188.2 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 52.39 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08277/0.08444, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00437/0.08884, allocations: 2.593 MB / 377.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.09203, allocations: 1.291 MB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.09233, allocations: 7.938 kB / 378.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.09266, allocations: 67.38 kB / 378.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.09294, allocations: 67.31 kB / 378.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.09362, allocations: 235.7 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1655/0.2591, allocations: 2.066 MB / 381 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.2603, allocations: 0.9515 MB / 381.9 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.2625, allocations: 2.114 MB / 384 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.2639, allocations: 1.053 MB / 385.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005029/0.2644, allocations: 216.2 kB / 385.3 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.2649, allocations: 217.2 kB / 385.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006528/0.2655, allocations: 0.6225 MB / 386.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.2665, allocations: 0.8932 MB / 387 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004241/0.2708, allocations: 4.404 MB / 391.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2708, allocations: 1.438 kB / 391.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2708, allocations: 0 / 391.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.116e-05/0.2709, allocations: 0 / 391.4 MB, free: 6.762 MB / 318.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.004651/0.2756, allocations: 2.353 MB / 393.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2756, allocations: 10.06 kB / 393.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003631/0.276, allocations: 205.2 kB / 394 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/0.2765, allocations: 173.1 kB / 394.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.2779, allocations: 1.068 MB / 395.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.278, allocations: 103.8 kB / 395.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2783, allocations: 122.1 kB / 395.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.282, allocations: 2.285 MB / 397.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.282, allocations: 0 / 397.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.2822, allocations: 50.78 kB / 397.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.2823, allocations: 36.56 kB / 397.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003629/0.2859, allocations: 1.984 MB / 399.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008616/0.2946, allocations: 4.811 MB / 404.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.2982, allocations: 1.847 MB / 406.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.2998, allocations: 0.765 MB / 407.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.3001, allocations: 15.64 kB / 407.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002304/0.3024, allocations: 1.356 MB / 408.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 4.458e-06/0.3024, allocations: 0 / 408.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005676/0.3081, allocations: 2.674 MB / 411.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.3082, allocations: 94.42 kB / 411.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.3097, allocations: 0.9412 MB / 412.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.31, allocations: 97.66 kB / 412.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.3104, allocations: 474.1 kB / 412.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004916/0.3109, allocations: 324.2 kB / 413.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.3121, allocations: 0.6712 MB / 413.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.3124, allocations: 410.6 kB / 414.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.3141, allocations: 0.8588 MB / 415.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.3159, allocations: 1.047 MB / 416.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/0.3195, allocations: 1.95 MB / 418.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3195, allocations: 0 / 418.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004511/0.324, allocations: 2.407 MB / 420.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.3241, allocations: 37.69 kB / 420.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3241, allocations: 3.312 kB / 420.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.3241, allocations: 15.94 kB / 420.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.3247, allocations: 227.6 kB / 420.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.3247, allocations: 11.98 kB / 420.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/0.3254, allocations: 79.66 kB / 420.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/0.3266, allocations: 1.096 MB / 422 MB, free: 15.62 MB / 350.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.001629/0.3282, allocations: 0.8997 MB / 422.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.3286, allocations: 111.3 kB / 423 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.3288, allocations: 138.3 kB / 423.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.3288, allocations: 12 kB / 423.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3289, allocations: 0 / 423.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.3289, allocations: 11.91 kB / 423.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.3314, allocations: 1.745 MB / 424.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3314, allocations: 4 kB / 424.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.3319, allocations: 204.6 kB / 425.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3319, allocations: 4 kB / 425.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/0.3322, allocations: 175.9 kB / 425.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.3322, allocations: 7.938 kB / 425.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3322, allocations: 0 / 425.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.3361, allocations: 2.048 MB / 427.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.3372, allocations: 0.6485 MB / 428 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/0.3376, allocations: 121.1 kB / 428.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.3381, allocations: 51.97 kB / 428.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006872/0.3388, allocations: 329 kB / 428.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001124/0.3399, allocations: 1.092 MB / 429.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007921/0.3407, allocations: 0.5927 MB / 430.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3407, allocations: 0 / 430.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001282/0.342, allocations: 379.4 kB / 430.5 MB, free: 6.988 MB / 350.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.004668/0.3467, allocations: 2.85 MB / 433.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.3507, allocations: 2.046 MB / 435.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3507, allocations: 0 / 435.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.3527, allocations: 1.088 MB / 436.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004154/0.3569, allocations: 1.081 MB / 437.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.3773, allocations: 11.74 MB / 449.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.3786, allocations: 1.312 MB / 450.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.008228/0.3869, allocations: 3.374 MB / 454 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003515/0.3904, allocations: 1.247 MB / 455.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3904, allocations: 3.938 kB / 455.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08659/0.477, allocations: 49.66 MB / 0.4931 GB, free: 11.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.412/9.889, allocations: 19.84 kB / 0.4931 GB, free: 11.18 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches