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.001056/0.001056, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001229/0.001229, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.141/1.141, allocations: 177 MB / 205.1 MB, free: 5.496 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 2.104e-06/2.104e-06, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/2e-05, allocations: 6.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00393/0.00395, allocations: 2.448 MB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.007131, allocations: 1.251 MB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.007375, allocations: 7.938 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.007611, allocations: 71.31 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.007851, allocations: 79.23 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.008708, allocations: 251.6 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.01086, allocations: 2.131 MB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.01188, allocations: 0.542 MB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.01474, allocations: 2.473 MB / 282.6 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.01603, allocations: 1.169 MB / 283.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004613/0.01649, allocations: 220 kB / 284 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.01683, allocations: 216 kB / 284.2 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.01729, allocations: 0.6463 MB / 284.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006971/0.01799, allocations: 0.6075 MB / 285.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.02003, allocations: 3.197 MB / 288.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.02003, allocations: 0 / 288.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02003, allocations: 0 / 288.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-05/0.02009, allocations: 0 / 288.6 MB, free: 1.891 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.1324/0.1525, allocations: 2.474 MB / 291.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1525, allocations: 14.11 kB / 291.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/0.1531, allocations: 279.6 kB / 291.4 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.1541, allocations: 0.8532 MB / 292.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.1542, allocations: 96.56 kB / 292.3 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.1544, allocations: 127.4 kB / 292.4 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.1565, allocations: 1.272 MB / 293.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1565, allocations: 2.062 kB / 293.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.1566, allocations: 57.55 kB / 293.8 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.1567, allocations: 30.28 kB / 293.8 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1579, allocations: 0.725 MB / 294.5 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.1624, allocations: 3.404 MB / 297.9 MB, free: 22.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.1639, allocations: 0.993 MB / 298.9 MB, free: 22.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.1644, allocations: 355 kB / 299.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.1645, allocations: 25.41 kB / 299.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008909/0.1654, allocations: 0.9062 MB / 300.2 MB, free: 22.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.545e-06/0.1654, allocations: 0.6875 kB / 300.2 MB, free: 22.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002045/0.1675, allocations: 1.608 MB / 301.8 MB, free: 22.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1675, allocations: 93.73 kB / 301.9 MB, free: 22.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.168, allocations: 0.9277 MB / 302.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.1682, allocations: 97.48 kB / 302.9 MB, free: 21.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1683, allocations: 0.5188 MB / 303.4 MB, free: 20.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.1686, allocations: 362.8 kB / 303.8 MB, free: 20.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006063/0.1692, allocations: 0.8001 MB / 304.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1693, allocations: 0.6393 MB / 305.2 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.1697, allocations: 333.5 kB / 305.6 MB, free: 18.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.1703, allocations: 0.584 MB / 306.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008977/0.1712, allocations: 0.9581 MB / 307.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1712, allocations: 0 / 307.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001444/0.1726, allocations: 1.463 MB / 308.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.1726, allocations: 36.83 kB / 308.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1726, allocations: 7.938 kB / 308.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1727, allocations: 8 kB / 308.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1729, allocations: 242.5 kB / 308.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1729, allocations: 11.94 kB / 308.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.1732, allocations: 94.81 kB / 309 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004857/0.1737, allocations: 1.085 MB / 310 MB, free: 14.09 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.0004284/0.1741, allocations: 453.2 kB / 310.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.1744, allocations: 159.3 kB / 310.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.336e-05/0.1744, allocations: 114.3 kB / 310.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1745, allocations: 12 kB / 310.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1745, allocations: 0 / 310.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1745, allocations: 11.91 kB / 310.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.1753, allocations: 0.9846 MB / 311.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1753, allocations: 4.031 kB / 311.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.1755, allocations: 215.7 kB / 312 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.1756, allocations: 7.984 kB / 312 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.1757, allocations: 187.9 kB / 312.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1757, allocations: 4 kB / 312.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1757, allocations: 2.188 kB / 312.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.1771, allocations: 1.411 MB / 313.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.1776, allocations: 0.5175 MB / 314.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.1778, allocations: 111.9 kB / 314.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.178, allocations: 55.98 kB / 314.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/0.1783, allocations: 277 kB / 314.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005029/0.1788, allocations: 1.085 MB / 315.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.179, allocations: 422.8 kB / 316 MB, free: 8.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.179, allocations: 0 / 316 MB, free: 8.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006353/0.1796, allocations: 384.7 kB / 316.4 MB, free: 7.703 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.0002885/0.1799, allocations: 367.7 kB / 316.8 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.181, allocations: 1.178 MB / 318 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.181, allocations: 0 / 318 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.1816, allocations: 0.7224 MB / 318.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.1834, allocations: 1.264 MB / 319.9 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1855, allocations: 2.246 MB / 322.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.1856, allocations: 254.4 kB / 322.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003659/0.1893, allocations: 2.887 MB / 325.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/0.1918, allocations: 1.359 MB / 326.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1918, allocations: 4 kB / 326.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of Templates: time 0.03843/0.2303, allocations: 44.11 MB / 370.8 MB, free: 0.6484 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.5514522222802043]