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.001925/0.001925, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002204/0.002204, allocations: 217 kB / 24.5 MB, free: 4.133 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.475/1.475, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.002096/0.002096, allocations: 55.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004053/0.2937, allocations: 2.624 MB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2966, allocations: 1.286 MB / 436.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.2967, allocations: 7.938 kB / 436.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.2969, allocations: 71.3 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.2971, allocations: 79.3 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.2978, allocations: 239.7 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.3, allocations: 2.1 MB / 438.8 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008709/0.3008, allocations: 0.503 MB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.3035, allocations: 2.133 MB / 441.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.3052, allocations: 1.113 MB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004798/0.3057, allocations: 219.9 kB / 442.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.3061, allocations: 216 kB / 443 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007288/0.3068, allocations: 0.6387 MB / 443.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.308, allocations: 0.9018 MB / 444.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.3121, allocations: 4.413 MB / 449 MB, free: 6.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3121, allocations: 0 / 449 MB, free: 6.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3121, allocations: 0 / 449 MB, free: 6.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.269e-05/0.3122, allocations: 0 / 449 MB, free: 6.156 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.004868/0.3171, allocations: 2.268 MB / 451.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3171, allocations: 12.03 kB / 451.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.3176, allocations: 179.9 kB / 451.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.3198, allocations: 1.012 MB / 452.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3199, allocations: 102.9 kB / 452.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/0.3202, allocations: 120.4 kB / 452.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/0.3246, allocations: 2.286 MB / 454.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.3247, allocations: 11.86 kB / 454.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.3249, allocations: 55.98 kB / 455 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/0.3249, allocations: 28.05 kB / 455 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003986/0.3289, allocations: 1.985 MB / 457 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.3389, allocations: 4.765 MB / 461.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.3428, allocations: 1.793 MB / 463.6 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.3443, allocations: 0.7268 MB / 464.3 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.3445, allocations: 17.31 kB / 464.3 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002325/0.3469, allocations: 1.348 MB / 465.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.037e-06/0.3469, allocations: 0 / 465.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005334/0.3522, allocations: 2.678 MB / 468.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.3523, allocations: 90.42 kB / 468.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.3538, allocations: 0.9489 MB / 469.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003508/0.3542, allocations: 101.6 kB / 469.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.3547, allocations: 474.2 kB / 469.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005355/0.3553, allocations: 321.7 kB / 470.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.3564, allocations: 0.6751 MB / 470.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.3566, allocations: 406.7 kB / 471.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.3583, allocations: 0.8627 MB / 472.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.3601, allocations: 1.043 MB / 473.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.3636, allocations: 1.953 MB / 475.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.3636, allocations: 0 / 475.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004661/0.3683, allocations: 2.4 MB / 477.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.3683, allocations: 36.2 kB / 477.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.3683, allocations: 4 kB / 477.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.3684, allocations: 8 kB / 477.6 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.3689, allocations: 231.5 kB / 477.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.3689, allocations: 12 kB / 477.9 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.3697, allocations: 79.69 kB / 477.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.3708, allocations: 1.089 MB / 479 MB, free: 7.699 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.001755/0.3726, allocations: 0.9001 MB / 479.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/0.3729, allocations: 107.3 kB / 480 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.3732, allocations: 134.3 kB / 480.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.3733, allocations: 16 kB / 480.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.3733, allocations: 0 / 480.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.3733, allocations: 11.92 kB / 480.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.376, allocations: 1.742 MB / 481.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.376, allocations: 3.984 kB / 481.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.3765, allocations: 207.7 kB / 482.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3765, allocations: 4 kB / 482.2 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/0.3768, allocations: 175.9 kB / 482.3 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.3768, allocations: 4 kB / 482.3 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3768, allocations: 0 / 482.3 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.3808, allocations: 2.042 MB / 484.4 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/0.3824, allocations: 0.5985 MB / 485 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.3828, allocations: 119.9 kB / 485.1 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.3833, allocations: 47.97 kB / 485.1 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006367/0.3839, allocations: 328.9 kB / 485.5 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001089/0.385, allocations: 1.089 MB / 486.5 MB, free: 92 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008705/0.3859, allocations: 0.5927 MB / 487.1 MB, free: 15.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3859, allocations: 0 / 487.1 MB, free: 15.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001413/0.3873, allocations: 379.4 kB / 487.5 MB, free: 15.12 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.0006041/0.3879, allocations: 363.7 kB / 487.9 MB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.3917, allocations: 1.991 MB / 489.9 MB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3918, allocations: 0 / 489.9 MB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.3937, allocations: 1.033 MB / 490.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/0.3974, allocations: 1.061 MB / 491.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.4027, allocations: 3.014 MB / 495 MB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.4039, allocations: 1.32 MB / 496.3 MB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004895/0.4088, allocations: 1.316 MB / 497.6 MB, free: 5 MB / 398.1 MB Notification: Performance of SimCode: time 1.843e-06/0.4088, allocations: 0 / 497.6 MB, free: 5 MB / 398.1 MB Notification: Performance of Templates: time 0.048/0.4568, allocations: 33.19 MB / 0.5183 GB, free: 2.262 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.764162559062243]