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.00141/0.00141, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001691/0.001691, allocations: 207.2 kB / 23.72 MB, free: 4.391 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.546/1.546, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.002644/0.002644, allocations: 67.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3211, allocations: 53.41 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004574/0.3257, allocations: 2.376 MB / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.3288, allocations: 1.232 MB / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.3291, allocations: 11.88 kB / 435.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.3293, allocations: 63.38 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.3296, allocations: 75.25 kB / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.3305, allocations: 247.6 kB / 435.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.3335, allocations: 2.116 MB / 437.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.3347, allocations: 0.5343 MB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.3377, allocations: 2.137 MB / 440.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.3403, allocations: 1.25 MB / 441.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009003/0.3412, allocations: 216 kB / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009235/0.3421, allocations: 216 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.3432, allocations: 0.6347 MB / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001883/0.3451, allocations: 0.7113 MB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.3503, allocations: 4.433 MB / 447.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3503, allocations: 0 / 447.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3503, allocations: 0 / 447.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.3504, allocations: 4 kB / 447.9 MB, free: 6.199 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.006513/0.3569, allocations: 2.275 MB / 450.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.357, allocations: 15.98 kB / 450.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/0.3578, allocations: 171.9 kB / 450.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.3603, allocations: 1.012 MB / 451.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3605, allocations: 98.91 kB / 451.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006057/0.3611, allocations: 120.4 kB / 451.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00543/0.3665, allocations: 2.318 MB / 453.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.3665, allocations: 0 / 453.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.3668, allocations: 52 kB / 453.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.3669, allocations: 31.98 kB / 454 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/0.3712, allocations: 2.01 MB / 456 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009942/0.3811, allocations: 4.184 MB / 460.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.3852, allocations: 1.819 MB / 462 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.3868, allocations: 0.7481 MB / 462.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.387, allocations: 13.31 kB / 462.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002437/0.3894, allocations: 1.385 MB / 464.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.088e-06/0.3894, allocations: 0 / 464.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005744/0.3952, allocations: 2.724 MB / 466.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.3953, allocations: 94.42 kB / 466.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.397, allocations: 0.9451 MB / 467.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000279/0.3973, allocations: 101.7 kB / 468 MB, free: 1.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/0.3978, allocations: 474.1 kB / 468.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005474/0.3984, allocations: 325.7 kB / 468.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.3997, allocations: 0.6673 MB / 469.4 MB, free: 360 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002983/0.4, allocations: 410.6 kB / 469.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.4019, allocations: 0.8917 MB / 470.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.4039, allocations: 1.068 MB / 471.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/0.4076, allocations: 1.957 MB / 473.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.4076, allocations: 3.938 kB / 473.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004765/0.4124, allocations: 2.44 MB / 476.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.4124, allocations: 33.7 kB / 476.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.4125, allocations: 0 / 476.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.4125, allocations: 12 kB / 476.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.413, allocations: 227.6 kB / 476.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/0.4131, allocations: 11.94 kB / 476.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.4138, allocations: 79.7 kB / 476.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/0.415, allocations: 1.093 MB / 477.6 MB, free: 8 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.001729/0.4168, allocations: 0.904 MB / 478.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.4173, allocations: 107.3 kB / 478.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.4176, allocations: 130.3 kB / 478.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.4176, allocations: 12 kB / 478.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4176, allocations: 0 / 478.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.4176, allocations: 11.97 kB / 478.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.4204, allocations: 1.345 MB / 480.1 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.4204, allocations: 0 / 480.1 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.4209, allocations: 207.7 kB / 480.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.4209, allocations: 8 kB / 480.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003308/0.4212, allocations: 175.9 kB / 480.5 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/0.4213, allocations: 7.938 kB / 480.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4213, allocations: 7.969 kB / 480.5 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/0.4257, allocations: 2.063 MB / 482.6 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/0.4276, allocations: 0.5985 MB / 483.2 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/0.4282, allocations: 115.9 kB / 483.3 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.4287, allocations: 47.97 kB / 483.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000743/0.4295, allocations: 340.9 kB / 483.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001176/0.4306, allocations: 1.077 MB / 484.8 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.4317, allocations: 0.5927 MB / 485.4 MB, free: 180 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4317, allocations: 0 / 485.4 MB, free: 180 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001564/0.4332, allocations: 387.4 kB / 485.7 MB, free: 15.79 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.0006117/0.4338, allocations: 359.7 kB / 486.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004168/0.438, allocations: 2.057 MB / 488.2 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.438, allocations: 0 / 488.2 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.4401, allocations: 1.086 MB / 489.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.4441, allocations: 1.071 MB / 490.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.4497, allocations: 2.916 MB / 493.2 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.4509, allocations: 0.7198 MB / 493.9 MB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.008157/0.4591, allocations: 3.37 MB / 497.3 MB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003598/0.4627, allocations: 0.9269 MB / 498.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4627, allocations: 0 / 498.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of Templates: time 0.06727/0.5299, allocations: 42.87 MB / 0.5284 GB, free: 7.66 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/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: 5.970165479928255]