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.0009597/0.0009597, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001112/0.001112, allocations: 165.5 kB / 24.91 MB, free: 8.77 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.9539/0.9539, allocations: 177 MB / 205.2 MB, free: 5.066 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.443e-06/1.443e-06, allocations: 3.938 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.125e-05, allocations: 5.266 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003523/0.003544, allocations: 2.487 MB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.006251, allocations: 1.274 MB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.00641, allocations: 7.938 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.006611, allocations: 75.3 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.006779, allocations: 67.27 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.007393, allocations: 259.6 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.009162, allocations: 2.139 MB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.009879, allocations: 0.5498 MB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.01226, allocations: 2.445 MB / 282.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.01358, allocations: 1.161 MB / 283.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005221/0.0141, allocations: 216 kB / 284.1 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.01444, allocations: 216 kB / 284.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006029/0.01505, allocations: 0.6502 MB / 285 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.01578, allocations: 0.6075 MB / 285.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.0184, allocations: 3.189 MB / 288.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.01841, allocations: 0 / 288.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01841, allocations: 7.938 kB / 288.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.01843, allocations: 0 / 288.8 MB, free: 1.625 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.1449/0.1633, allocations: 1.978 MB / 290.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1634, allocations: 13.83 kB / 290.8 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005242/0.1639, allocations: 228.8 kB / 291 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/0.1648, allocations: 0.7444 MB / 291.7 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.1649, allocations: 99.69 kB / 291.8 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.1651, allocations: 125.6 kB / 291.9 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.1668, allocations: 1.081 MB / 293 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1668, allocations: 0.7812 kB / 293 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.1669, allocations: 55.02 kB / 293.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.167, allocations: 34.56 kB / 293.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.168, allocations: 433.8 kB / 293.5 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.1715, allocations: 2.585 MB / 296.1 MB, free: 23.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1727, allocations: 0.6886 MB / 296.8 MB, free: 23.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.1731, allocations: 232.8 kB / 297 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.1732, allocations: 23.38 kB / 297.1 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008776/0.1741, allocations: 0.6468 MB / 297.7 MB, free: 23.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.715e-06/0.1741, allocations: 2.406 kB / 297.7 MB, free: 23.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001458/0.1756, allocations: 0.8074 MB / 298.5 MB, free: 23.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1756, allocations: 90.98 kB / 298.6 MB, free: 23.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.176, allocations: 0.6462 MB / 299.3 MB, free: 23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.1762, allocations: 100.9 kB / 299.4 MB, free: 22.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1763, allocations: 402 kB / 299.7 MB, free: 22.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.1766, allocations: 319.5 kB / 300.1 MB, free: 22.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/0.1771, allocations: 457.2 kB / 300.5 MB, free: 22.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.1772, allocations: 407.8 kB / 300.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.1776, allocations: 214.7 kB / 301.1 MB, free: 21.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.178, allocations: 378 kB / 301.5 MB, free: 21.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.179, allocations: 0.7685 MB / 302.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.179, allocations: 1.781 kB / 302.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001163/0.1802, allocations: 0.7582 MB / 303 MB, free: 20.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.1802, allocations: 36.25 kB / 303 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1802, allocations: 4.25 kB / 303 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1802, allocations: 9.562 kB / 303.1 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.1806, allocations: 187.2 kB / 303.2 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1806, allocations: 13.25 kB / 303.3 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.1809, allocations: 82.62 kB / 303.3 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/0.1814, allocations: 0.9798 MB / 304.3 MB, free: 20.04 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.0004015/0.1818, allocations: 410 kB / 304.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.182, allocations: 127.5 kB / 304.8 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.1821, allocations: 118.3 kB / 305 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1821, allocations: 12 kB / 305 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.1821, allocations: 3.984 kB / 305 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1821, allocations: 3.984 kB / 305 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.1828, allocations: 0.7057 MB / 305.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1828, allocations: 4 kB / 305.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.1831, allocations: 163.6 kB / 305.8 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1831, allocations: 4 kB / 305.8 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.1832, allocations: 75.83 kB / 305.9 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1832, allocations: 4 kB / 305.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1832, allocations: 4 kB / 305.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.1841, allocations: 0.6856 MB / 306.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.1845, allocations: 359 kB / 307 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.1847, allocations: 119.9 kB / 307.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.1849, allocations: 51.98 kB / 307.1 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.1852, allocations: 161 kB / 307.3 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004505/0.1857, allocations: 0.9793 MB / 308.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1858, allocations: 252.6 kB / 308.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1858, allocations: 0 / 308.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005639/0.1864, allocations: 395.4 kB / 308.9 MB, free: 15.39 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.0002856/0.1867, allocations: 332.9 kB / 309.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.1876, allocations: 0.7769 MB / 310 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.1876, allocations: 4 kB / 310 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.1882, allocations: 480.9 kB / 310.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.1899, allocations: 1.134 MB / 311.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1918, allocations: 2.148 MB / 313.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.1919, allocations: 242.4 kB / 314 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003445/0.1953, allocations: 2.887 MB / 316.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/0.1977, allocations: 1.286 MB / 318.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1977, allocations: 0 / 318.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of Templates: time 0.03625/0.234, allocations: 43.91 MB / 362.1 MB, free: 9.531 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 -s gbode -gbm=radauIIA3 -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.2460162537172437]