Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.003/1.003, allocations: 173.4 MB / 201.1 MB, free: 9.359 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.878e-05/4.06e-05, allocations: 10.19 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003318/0.003359, allocations: 2.463 MB / 270.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.005686, allocations: 1.232 MB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.005883, allocations: 15.88 kB / 271.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.006104, allocations: 67.38 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.006309, allocations: 75.25 kB / 271.8 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.007046, allocations: 255.5 kB / 272.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.008585, allocations: 2.135 MB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.009364, allocations: 0.5381 MB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.01176, allocations: 2.473 MB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.01326, allocations: 1.169 MB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006672/0.01393, allocations: 216 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.01453, allocations: 216 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.01514, allocations: 0.6502 MB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009509/0.01609, allocations: 0.6036 MB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.01855, allocations: 3.189 MB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.01856, allocations: 4 kB / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01856, allocations: 0 / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.051e-05/0.01864, allocations: 0 / 283.3 MB, free: 7.102 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.00443/0.02307, allocations: 2.481 MB / 285.8 MB, free: 4.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.02313, allocations: 8.031 kB / 285.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.02408, allocations: 283.9 kB / 286 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.02558, allocations: 0.9206 MB / 287 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.02567, allocations: 94.91 kB / 287.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.02593, allocations: 124.4 kB / 287.2 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.02837, allocations: 1.367 MB / 288.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.02839, allocations: 8.125 kB / 288.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.02854, allocations: 56.38 kB / 288.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.02856, allocations: 31.94 kB / 288.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.0301, allocations: 0.8284 MB / 289.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1392/0.1693, allocations: 3.735 MB / 293.2 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.1715, allocations: 1.068 MB / 294.3 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.1722, allocations: 401.6 kB / 294.7 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.1724, allocations: 21.03 kB / 294.7 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.1737, allocations: 0.9453 MB / 295.6 MB, free: 27.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.148e-06/0.1737, allocations: 0 / 295.6 MB, free: 27.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.003006/0.1768, allocations: 1.724 MB / 297.3 MB, free: 27.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1768, allocations: 92.88 kB / 297.4 MB, free: 27.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.178, allocations: 0.926 MB / 298.4 MB, free: 26.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.1782, allocations: 95.8 kB / 298.5 MB, free: 26.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.1784, allocations: 0.5148 MB / 299 MB, free: 26.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.1788, allocations: 357.3 kB / 299.3 MB, free: 26.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.1799, allocations: 0.8044 MB / 300.1 MB, free: 25.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1801, allocations: 0.631 MB / 300.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.1808, allocations: 391.2 kB / 301.1 MB, free: 25.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.1815, allocations: 0.6376 MB / 301.8 MB, free: 25.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.1828, allocations: 1.031 MB / 302.8 MB, free: 24.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1828, allocations: 0 / 302.8 MB, free: 24.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001977/0.1847, allocations: 1.562 MB / 304.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.1848, allocations: 37.05 kB / 304.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1848, allocations: 0 / 304.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.1848, allocations: 14.44 kB / 304.4 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.1851, allocations: 246.2 kB / 304.7 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.1852, allocations: 11.98 kB / 304.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.1856, allocations: 90.48 kB / 304.8 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006256/0.1862, allocations: 1.094 MB / 305.9 MB, free: 22.3 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.0006596/0.1869, allocations: 461.5 kB / 306.3 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.1872, allocations: 159.3 kB / 306.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1873, allocations: 121.7 kB / 306.6 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1873, allocations: 12 kB / 306.6 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/0.1873, allocations: 0 / 306.6 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1873, allocations: 5.469 kB / 306.6 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.1886, allocations: 1.275 MB / 307.9 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.1886, allocations: 4 kB / 307.9 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.1889, allocations: 219.6 kB / 308.1 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1889, allocations: 4 kB / 308.1 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.1891, allocations: 183.9 kB / 308.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-06/0.1891, allocations: 4 kB / 308.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1891, allocations: 4 kB / 308.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.1909, allocations: 1.481 MB / 309.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.1915, allocations: 0.5529 MB / 310.3 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.1918, allocations: 119.8 kB / 310.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1921, allocations: 59.97 kB / 310.5 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.1925, allocations: 316.9 kB / 310.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006146/0.1931, allocations: 1.096 MB / 311.9 MB, free: 16.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000345/0.1934, allocations: 443 kB / 312.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1934, allocations: 3.938 kB / 312.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001012/0.1944, allocations: 388.2 kB / 312.7 MB, free: 15.49 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.0003447/0.1948, allocations: 372.9 kB / 313.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.1965, allocations: 1.268 MB / 314.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1965, allocations: 0 / 314.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.1974, allocations: 0.7749 MB / 315.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.1995, allocations: 1.252 MB / 316.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.2026, allocations: 2.298 MB / 318.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2028, allocations: 250.5 kB / 318.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.004368/0.2071, allocations: 3.261 MB / 322.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/0.2088, allocations: 0.9631 MB / 323.1 MB, free: 5.02 MB / 266.7 MB Notification: Performance of SimCode: time 2.184e-06/0.2088, allocations: 0 / 323.1 MB, free: 5.02 MB / 266.7 MB Notification: Performance of Templates: time 0.04324/0.252, allocations: 41.98 MB / 365.1 MB, free: 10.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6644848780706525]