Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009476/0.0009476, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.893e-05, allocations: 6.25 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003038/0.003067, allocations: 2.48 MB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.005427, allocations: 1.259 MB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.005618, allocations: 7.938 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.005826, allocations: 71.3 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.005985, allocations: 79.23 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.006669, allocations: 247.6 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.008261, allocations: 2.135 MB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008267/0.009088, allocations: 0.5458 MB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.0115, allocations: 2.465 MB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.01286, allocations: 1.173 MB / 283.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005826/0.01345, allocations: 216 kB / 283.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.0138, allocations: 220 kB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.01444, allocations: 0.6463 MB / 284.5 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008029/0.01524, allocations: 0.6036 MB / 285.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.01784, allocations: 3.189 MB / 288.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01784, allocations: 0 / 288.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01784, allocations: 0 / 288.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.704e-05/0.01792, allocations: 0 / 288.3 MB, free: 2.152 MB / 266.7 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.1566/0.1745, allocations: 2.478 MB / 290.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.1746, allocations: 9.922 kB / 290.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009988/0.1756, allocations: 284.5 kB / 291.1 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.1773, allocations: 0.9169 MB / 292 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.1775, allocations: 94.44 kB / 292.1 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.1778, allocations: 128.3 kB / 292.2 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/0.1812, allocations: 1.367 MB / 293.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.1813, allocations: 1.594 kB / 293.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.1815, allocations: 53.61 kB / 293.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.1815, allocations: 34.66 kB / 293.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.1839, allocations: 0.8312 MB / 294.5 MB, free: 24.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.1915, allocations: 3.748 MB / 298.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.1941, allocations: 1.08 MB / 299.3 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007795/0.1949, allocations: 397.3 kB / 299.7 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.195, allocations: 21.22 kB / 299.7 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.1962, allocations: 0.9519 MB / 300.7 MB, free: 22.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.775e-06/0.1962, allocations: 0 / 300.7 MB, free: 22.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002647/0.1989, allocations: 1.719 MB / 302.4 MB, free: 21.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1989, allocations: 91.33 kB / 302.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.1996, allocations: 0.9326 MB / 303.4 MB, free: 20.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.1998, allocations: 94.47 kB / 303.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.2, allocations: 0.5126 MB / 304 MB, free: 19.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.2002, allocations: 357.7 kB / 304.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000719/0.2009, allocations: 0.8042 MB / 305.2 MB, free: 18.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2011, allocations: 0.6328 MB / 305.8 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.2017, allocations: 385.5 kB / 306.2 MB, free: 17.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.2024, allocations: 0.6276 MB / 306.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.2036, allocations: 1.035 MB / 307.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2036, allocations: 3.938 kB / 307.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001801/0.2054, allocations: 1.561 MB / 309.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.2054, allocations: 38.69 kB / 309.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2054, allocations: 4.625 kB / 309.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2054, allocations: 11.53 kB / 309.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.2057, allocations: 239.5 kB / 309.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.2057, allocations: 12 kB / 309.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.2061, allocations: 91.42 kB / 309.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000576/0.2066, allocations: 1.093 MB / 310.9 MB, free: 12.9 MB / 266.7 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.00045/0.2071, allocations: 463.4 kB / 311.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.2073, allocations: 155.3 kB / 311.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.2074, allocations: 119.6 kB / 311.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2075, allocations: 16 kB / 311.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.2075, allocations: 0 / 311.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2075, allocations: 7.969 kB / 311.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2086, allocations: 1.274 MB / 312.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.2086, allocations: 7.922 kB / 312.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.2088, allocations: 215.7 kB / 313.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2088, allocations: 4 kB / 313.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.209, allocations: 187.9 kB / 313.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.209, allocations: 8.312 kB / 313.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.209, allocations: 0 / 313.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2106, allocations: 1.493 MB / 314.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.2112, allocations: 0.5462 MB / 315.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.2114, allocations: 115.9 kB / 315.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2117, allocations: 51.98 kB / 315.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.2121, allocations: 324.9 kB / 315.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005693/0.2126, allocations: 1.093 MB / 316.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003166/0.2129, allocations: 450.8 kB / 317.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2129, allocations: 0 / 317.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006771/0.2136, allocations: 391.4 kB / 317.7 MB, free: 6.031 MB / 266.7 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.0002959/0.2139, allocations: 359.8 kB / 318.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.2154, allocations: 1.268 MB / 319.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2154, allocations: 0 / 319.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.2162, allocations: 0.781 MB / 320.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.2181, allocations: 1.268 MB / 321.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.2203, allocations: 2.303 MB / 323.7 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2206, allocations: 254.3 kB / 324 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.004463/0.225, allocations: 3.265 MB / 327.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/0.2268, allocations: 0.9631 MB / 328.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2268, allocations: 0 / 328.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Templates: time 0.03982/0.2666, allocations: 41.98 MB / 370.2 MB, free: 0.9766 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7813051133416593]