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.001782/0.001782, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.00212/0.00212, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 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.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..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.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2709, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004567/0.2754, allocations: 2.38 MB / 434.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.2789, allocations: 1.232 MB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.2793, allocations: 7.938 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.2797, allocations: 63.38 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.28, allocations: 75.31 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.281, allocations: 251.6 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002984/0.284, allocations: 2.108 MB / 438.5 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.285, allocations: 0.5417 MB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.288, allocations: 2.14 MB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.2903, allocations: 1.246 MB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006495/0.2909, allocations: 216 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000542/0.2915, allocations: 216 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007792/0.2922, allocations: 0.6347 MB / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.2935, allocations: 0.7152 MB / 444.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.2982, allocations: 4.43 MB / 448.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2982, allocations: 0 / 448.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2982, allocations: 0 / 448.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.143e-05/0.2983, allocations: 0 / 448.6 MB, free: 6.207 MB / 350.1 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.005578/0.3039, allocations: 2.275 MB / 450.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3039, allocations: 11.98 kB / 450.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.3044, allocations: 171.9 kB / 451.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.307, allocations: 1.016 MB / 452.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.3072, allocations: 98.91 kB / 452.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/0.3076, allocations: 120.4 kB / 452.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.3123, allocations: 2.315 MB / 454.6 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.3123, allocations: 0 / 454.6 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.3126, allocations: 52 kB / 454.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.3126, allocations: 32 kB / 454.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/0.3173, allocations: 2.018 MB / 456.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009584/0.3269, allocations: 4.176 MB / 460.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.331, allocations: 1.815 MB / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.3327, allocations: 0.752 MB / 463.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.3329, allocations: 17.3 kB / 463.5 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/0.3355, allocations: 1.384 MB / 464.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.877e-06/0.3355, allocations: 0 / 464.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005931/0.3414, allocations: 2.728 MB / 467.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.3415, allocations: 90.42 kB / 467.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.3431, allocations: 0.949 MB / 468.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004435/0.3435, allocations: 93.66 kB / 468.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.3441, allocations: 478.1 kB / 469.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007058/0.3448, allocations: 321.7 kB / 469.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/0.3462, allocations: 0.6712 MB / 470.2 MB, free: 368 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002747/0.3464, allocations: 402.7 kB / 470.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.3483, allocations: 0.8995 MB / 471.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.3502, allocations: 1.064 MB / 472.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.3541, allocations: 1.953 MB / 474.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.3541, allocations: 4 kB / 474.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006557/0.3607, allocations: 2.437 MB / 476.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.3608, allocations: 33.7 kB / 477 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.3608, allocations: 4 kB / 477 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.533e-05/0.3608, allocations: 8 kB / 477 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3619, allocations: 235.5 kB / 477.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-05/0.3619, allocations: 12 kB / 477.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3632, allocations: 83.73 kB / 477.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/0.365, allocations: 1.093 MB / 478.4 MB, free: 8.008 MB / 382.1 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.002792/0.3678, allocations: 0.9039 MB / 479.3 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/0.3685, allocations: 111.3 kB / 479.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.369, allocations: 130.3 kB / 479.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.369, allocations: 12 kB / 479.5 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.369, allocations: 0 / 479.5 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.369, allocations: 7.969 kB / 479.6 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.3728, allocations: 1.345 MB / 480.9 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.3728, allocations: 0 / 480.9 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009975/0.3738, allocations: 207.7 kB / 481.1 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.581e-05/0.3738, allocations: 4 kB / 481.1 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006504/0.3745, allocations: 175.9 kB / 481.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.861e-05/0.3745, allocations: 7.984 kB / 481.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3745, allocations: 4 kB / 481.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00688/0.3814, allocations: 2.059 MB / 483.3 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/0.3835, allocations: 0.6024 MB / 483.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008143/0.3843, allocations: 119.9 kB / 484.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.3852, allocations: 47.97 kB / 484.1 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/0.3863, allocations: 320.9 kB / 484.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001713/0.388, allocations: 1.085 MB / 485.5 MB, free: 0.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.3895, allocations: 0.5965 MB / 486.1 MB, free: 200 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3895, allocations: 0 / 486.1 MB, free: 200 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002502/0.392, allocations: 391.3 kB / 486.5 MB, free: 15.81 MB / 398.1 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.001018/0.393, allocations: 359.7 kB / 486.8 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006228/0.3992, allocations: 2.048 MB / 488.9 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.3992, allocations: 0 / 488.9 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003163/0.4024, allocations: 1.051 MB / 489.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005917/0.4083, allocations: 1.076 MB / 491 MB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008822/0.4171, allocations: 3.039 MB / 494.1 MB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.4189, allocations: 0.7198 MB / 494.8 MB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005807/0.4247, allocations: 1.32 MB / 496.1 MB, free: 6.145 MB / 398.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4247, allocations: 0 / 496.1 MB, free: 6.145 MB / 398.1 MB Notification: Performance of Templates: time 0.04925/0.4739, allocations: 33.34 MB / 0.517 GB, free: 3.25 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.609305983874947]