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.001419/0.001419, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001697/0.001697, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.991/0.991, allocations: 177 MB / 204.8 MB, free: 5.598 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.382e-06/1.382e-06, allocations: 3.938 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.415e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002514/0.002538, allocations: 2.48 MB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.00451, allocations: 1.255 MB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.004663, allocations: 15.88 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.004814, allocations: 67.36 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.004963, allocations: 79.23 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.005506, allocations: 251.6 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.006853, allocations: 2.131 MB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006212/0.007474, allocations: 0.5459 MB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.009494, allocations: 2.473 MB / 282.2 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.01086, allocations: 1.169 MB / 283.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008562/0.01172, allocations: 216 kB / 283.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.01207, allocations: 220 kB / 283.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004421/0.01251, allocations: 0.6463 MB / 284.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.01332, allocations: 0.6075 MB / 285 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.01547, allocations: 3.189 MB / 288.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.01548, allocations: 0 / 288.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01548, allocations: 0 / 288.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.01552, allocations: 4 kB / 288.2 MB, free: 2.066 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.1173/0.1328, allocations: 2.474 MB / 290.7 MB, free: 24.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1329, allocations: 13.05 kB / 290.7 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/0.1337, allocations: 284.7 kB / 291 MB, free: 24.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.135, allocations: 0.9164 MB / 291.9 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1351, allocations: 97.23 kB / 292 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.1354, allocations: 126.3 kB / 292.1 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006045/0.1415, allocations: 1.364 MB / 293.5 MB, free: 24.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.1415, allocations: 1.094 kB / 293.5 MB, free: 24.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.1417, allocations: 54.19 kB / 293.6 MB, free: 24.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.1417, allocations: 36.41 kB / 293.6 MB, free: 24.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005169/0.1469, allocations: 0.8313 MB / 294.4 MB, free: 24.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.1593, allocations: 3.743 MB / 298.2 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.1645, allocations: 1.075 MB / 299.2 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.1653, allocations: 392.2 kB / 299.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.1655, allocations: 25.73 kB / 299.7 MB, free: 22.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004358/0.1698, allocations: 0.9508 MB / 300.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.338e-06/0.1698, allocations: 0.7188 kB / 300.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.006276/0.1761, allocations: 1.723 MB / 302.3 MB, free: 21.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1762, allocations: 90.42 kB / 302.4 MB, free: 21.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009962/0.1772, allocations: 0.9295 MB / 303.3 MB, free: 20.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.1774, allocations: 97.64 kB / 303.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.1776, allocations: 0.5095 MB / 304 MB, free: 19.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.178, allocations: 361.5 kB / 304.3 MB, free: 19.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00401/0.182, allocations: 0.8057 MB / 305.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1821, allocations: 0.6313 MB / 305.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/0.1829, allocations: 385.5 kB / 306.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/0.1837, allocations: 0.6303 MB / 306.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/0.1883, allocations: 1.036 MB / 307.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.1883, allocations: 7.5 kB / 307.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005482/0.1938, allocations: 1.564 MB / 309.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.1938, allocations: 29.7 kB / 309.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1938, allocations: 4 kB / 309.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.1939, allocations: 8 kB / 309.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.1942, allocations: 239.6 kB / 309.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.1942, allocations: 15.94 kB / 309.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.1948, allocations: 93.52 kB / 309.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007086/0.1955, allocations: 1.093 MB / 310.8 MB, free: 12.76 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.0008133/0.1963, allocations: 454.7 kB / 311.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002982/0.1993, allocations: 163.3 kB / 311.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.1994, allocations: 114.3 kB / 311.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1994, allocations: 15.94 kB / 311.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.1995, allocations: 0 / 311.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1995, allocations: 11.95 kB / 311.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.2009, allocations: 1.274 MB / 312.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.2009, allocations: 6.5 kB / 312.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.2011, allocations: 215.7 kB / 313.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2011, allocations: 8 kB / 313.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.2013, allocations: 183.9 kB / 313.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2013, allocations: 4 kB / 313.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2013, allocations: 3.828 kB / 313.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.203, allocations: 1.488 MB / 314.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.2035, allocations: 0.5516 MB / 315.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.2037, allocations: 115.9 kB / 315.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.204, allocations: 51.98 kB / 315.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.2044, allocations: 324.9 kB / 315.8 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005344/0.2049, allocations: 1.093 MB / 316.9 MB, free: 6.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.2052, allocations: 443 kB / 317.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2052, allocations: 4 kB / 317.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009533/0.2061, allocations: 392.1 kB / 317.7 MB, free: 5.902 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.0003231/0.2065, allocations: 361.6 kB / 318 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.208, allocations: 1.278 MB / 319.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.208, allocations: 0 / 319.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.2087, allocations: 0.7771 MB / 320.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.2105, allocations: 1.253 MB / 321.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.2131, allocations: 2.296 MB / 323.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2133, allocations: 254.3 kB / 323.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.004602/0.2179, allocations: 3.265 MB / 327.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/0.2197, allocations: 0.9631 MB / 328.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2197, allocations: 0 / 328.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of Templates: time 0.04169/0.2614, allocations: 43.36 MB / 371.5 MB, free: 15.4 MB / 330.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.5641681239940226]