Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 165.2 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9865/0.9865, allocations: 177 MB / 205.2 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.723e-05, allocations: 5.406 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.006208/0.006236, allocations: 2.461 MB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.01161, allocations: 1.267 MB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.01177, allocations: 7.938 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.01197, allocations: 71.3 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.01212, allocations: 75.31 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.01283, allocations: 255.5 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004684/0.01752, allocations: 2.135 MB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007466/0.01826, allocations: 0.542 MB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008677/0.02694, allocations: 2.461 MB / 282.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/0.03175, allocations: 1.169 MB / 283.4 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005476/0.0323, allocations: 216 kB / 283.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.03262, allocations: 216 kB / 283.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005774/0.0332, allocations: 0.6541 MB / 284.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008639/0.03406, allocations: 0.6037 MB / 285.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.0371, allocations: 3.193 MB / 288.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.03711, allocations: 0 / 288.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.03711, allocations: 0 / 288.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.77e-05/0.0372, allocations: 0 / 288.3 MB, free: 2.332 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.1315/0.1687, allocations: 2.472 MB / 290.8 MB, free: 26.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1687, allocations: 14.64 kB / 290.8 MB, free: 26.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.1697, allocations: 281.8 kB / 291.1 MB, free: 26.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.1713, allocations: 0.9172 MB / 292 MB, free: 26.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1714, allocations: 97.91 kB / 292.1 MB, free: 26.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.1717, allocations: 128.2 kB / 292.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.1748, allocations: 1.366 MB / 293.6 MB, free: 26.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.1748, allocations: 1.5 kB / 293.6 MB, free: 26.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.1751, allocations: 58.89 kB / 293.6 MB, free: 26.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.1751, allocations: 30.72 kB / 293.7 MB, free: 26.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.1774, allocations: 0.8353 MB / 294.5 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006213/0.1836, allocations: 3.744 MB / 298.2 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.1858, allocations: 1.074 MB / 299.3 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.1866, allocations: 396.7 kB / 299.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.1867, allocations: 21.31 kB / 299.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.1881, allocations: 0.9574 MB / 300.7 MB, free: 23.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.147e-06/0.1881, allocations: 1.25 kB / 300.7 MB, free: 23.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.003227/0.1913, allocations: 1.718 MB / 302.4 MB, free: 22.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1914, allocations: 98.41 kB / 302.5 MB, free: 22.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.1924, allocations: 0.9235 MB / 303.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.1925, allocations: 101.7 kB / 303.5 MB, free: 21.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.1928, allocations: 0.5177 MB / 304 MB, free: 21.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.1931, allocations: 355.9 kB / 304.4 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009256/0.1941, allocations: 0.8018 MB / 305.2 MB, free: 19.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1942, allocations: 0.6312 MB / 305.8 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/0.195, allocations: 385.5 kB / 306.2 MB, free: 18.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008786/0.1959, allocations: 0.6265 MB / 306.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.1975, allocations: 1.05 MB / 307.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1975, allocations: 0 / 307.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002409/0.1999, allocations: 1.56 MB / 309.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.1999, allocations: 33.7 kB / 309.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1999, allocations: 0 / 309.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.2, allocations: 12 kB / 309.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.2003, allocations: 243.5 kB / 309.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.2003, allocations: 11.97 kB / 309.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.2008, allocations: 87.7 kB / 309.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000679/0.2015, allocations: 1.097 MB / 310.9 MB, free: 14.13 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.0006019/0.2021, allocations: 459.7 kB / 311.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.2024, allocations: 159.3 kB / 311.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.2026, allocations: 118.3 kB / 311.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.2026, allocations: 15.98 kB / 311.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2026, allocations: 0 / 311.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2026, allocations: 3.984 kB / 311.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.2041, allocations: 1.279 MB / 312.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.2041, allocations: 0 / 312.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.2044, allocations: 219.6 kB / 313.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.2044, allocations: 4 kB / 313.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.2045, allocations: 183.9 kB / 313.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2046, allocations: 4 kB / 313.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2046, allocations: 4 kB / 313.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.2066, allocations: 1.485 MB / 314.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006797/0.2072, allocations: 0.5462 MB / 315.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/0.2075, allocations: 127.2 kB / 315.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2078, allocations: 55.97 kB / 315.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/0.2082, allocations: 316.9 kB / 315.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004869/0.2087, allocations: 1.096 MB / 316.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002908/0.2089, allocations: 443 kB / 317.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2089, allocations: 1.688 kB / 317.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007578/0.2097, allocations: 389.9 kB / 317.7 MB, free: 7.285 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.0002909/0.21, allocations: 363.1 kB / 318.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.2114, allocations: 1.279 MB / 319.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2114, allocations: 0 / 319.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007106/0.2121, allocations: 0.7681 MB / 320.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.214, allocations: 1.249 MB / 321.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.2164, allocations: 2.307 MB / 323.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2166, allocations: 254.3 kB / 324 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.004559/0.2211, allocations: 3.257 MB / 327.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/0.2236, allocations: 0.963 MB / 328.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of SimCode: time 2.675e-06/0.2236, allocations: 4 kB / 328.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of Templates: time 0.03996/0.2636, allocations: 41.97 MB / 370.1 MB, free: 2.164 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6264675438869745]