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.00182/0.00182, allocations: 112.5 kB / 16.62 MB, free: 6.949 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.001714/0.001714, allocations: 193.8 kB / 17.54 MB, free: 6.047 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.46/1.46, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 43.19 kB / 300.2 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 49.46 MB / 349.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004079/0.1092, allocations: 2.624 MB / 352.3 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.1118, allocations: 1.22 MB / 353.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.1121, allocations: 7.938 kB / 353.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.1124, allocations: 47.64 kB / 353.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1127, allocations: 63.48 kB / 353.6 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.1134, allocations: 211.8 kB / 353.9 MB, free: 232 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.1154, allocations: 2.069 MB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1166, allocations: 0.9438 MB / 356.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.119, allocations: 2.144 MB / 359 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.1204, allocations: 1.086 MB / 360.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006316/0.1211, allocations: 216 kB / 360.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000548/0.1216, allocations: 220 kB / 360.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006216/0.1223, allocations: 0.627 MB / 361.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.1233, allocations: 0.9018 MB / 362 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.1265, allocations: 4.355 MB / 366.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1265, allocations: 0 / 366.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1265, allocations: 0 / 366.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.41e-05/0.1266, allocations: 0 / 366.4 MB, free: 3.621 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.003493/0.1301, allocations: 2.308 MB / 368.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1301, allocations: 12.03 kB / 368.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003683/0.1305, allocations: 198.2 kB / 368.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.1309, allocations: 174.9 kB / 369.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1675/0.2984, allocations: 1.06 MB / 370.1 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.2986, allocations: 98.64 kB / 370.2 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005889/0.2992, allocations: 121.2 kB / 370.4 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.3037, allocations: 2.292 MB / 372.7 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.3037, allocations: 3.562 kB / 372.7 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.304, allocations: 51.39 kB / 372.7 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.304, allocations: 30.25 kB / 372.7 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.3076, allocations: 1.984 MB / 374.7 MB, free: 21.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007749/0.3154, allocations: 4.775 MB / 379.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.3188, allocations: 1.862 MB / 381.4 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.3202, allocations: 0.7587 MB / 382.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.3204, allocations: 15.75 kB / 382.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.3223, allocations: 1.363 MB / 383.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.076e-06/0.3223, allocations: 0 / 383.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004742/0.3271, allocations: 2.667 MB / 386.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3271, allocations: 95.5 kB / 386.3 MB, free: 17.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3283, allocations: 0.938 MB / 387.2 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.3286, allocations: 99.75 kB / 387.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.3288, allocations: 467.4 kB / 387.7 MB, free: 16.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.3292, allocations: 311.2 kB / 388.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008761/0.3301, allocations: 0.6698 MB / 388.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3302, allocations: 405.9 kB / 389.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3316, allocations: 0.8631 MB / 390 MB, free: 14.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.333, allocations: 1.047 MB / 391 MB, free: 13.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.3356, allocations: 1.952 MB / 393 MB, free: 11.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3356, allocations: 0 / 393 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003559/0.3392, allocations: 2.404 MB / 395.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.3392, allocations: 37.73 kB / 395.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3393, allocations: 0 / 395.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.3393, allocations: 12 kB / 395.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.3398, allocations: 227.6 kB / 395.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.3398, allocations: 12.02 kB / 395.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.341, allocations: 186.4 kB / 395.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007582/0.3417, allocations: 1.093 MB / 396.9 MB, free: 7.723 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.001485/0.3432, allocations: 0.8983 MB / 397.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.3436, allocations: 110.7 kB / 397.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.3438, allocations: 134.3 kB / 398.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3438, allocations: 15.94 kB / 398.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/0.3438, allocations: 4 kB / 398.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3439, allocations: 7.984 kB / 398.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.346, allocations: 1.756 MB / 399.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.346, allocations: 3.938 kB / 399.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.3464, allocations: 211.6 kB / 400.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3464, allocations: 4 kB / 400.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/0.3466, allocations: 175.9 kB / 400.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3466, allocations: 4 kB / 400.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3466, allocations: 0 / 400.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.3497, allocations: 2.03 MB / 402.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008938/0.3506, allocations: 0.6468 MB / 402.9 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.351, allocations: 123.9 kB / 403.1 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/0.3517, allocations: 139.5 kB / 403.2 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006113/0.3523, allocations: 337 kB / 403.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007403/0.3531, allocations: 1.085 MB / 404.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000728/0.3538, allocations: 0.5965 MB / 405.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3538, allocations: 0 / 405.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001305/0.3551, allocations: 375.2 kB / 405.6 MB, free: 14.99 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.004315/0.3595, allocations: 2.845 MB / 408.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006096/0.3656, allocations: 3.287 MB / 411.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3656, allocations: 0 / 411.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.3674, allocations: 1.1 MB / 412.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.3711, allocations: 1.066 MB / 413.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.3914, allocations: 12.42 MB / 426.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.3925, allocations: 1.32 MB / 427.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.005979/0.3985, allocations: 3.374 MB / 431 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003049/0.4015, allocations: 1.251 MB / 432.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4015, allocations: 0 / 432.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07268/0.4742, allocations: 49.16 MB / 481.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.4744, allocations: 203.2 kB / 481.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.106, allocations: 0 / 481.6 MB, free: 1.938 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