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.002165/0.002165, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 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.00221/0.00221, allocations: 186.5 kB / 23.71 MB, free: 4.434 MB / 14.72 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.571/1.571, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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.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_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.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_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 43.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2796, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004025/0.2836, allocations: 2.382 MB / 425.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.2865, allocations: 1.189 MB / 426.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.2867, allocations: 11.88 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.2869, allocations: 67.36 kB / 426.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.2871, allocations: 75.25 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.2878, allocations: 247.7 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.29, allocations: 2.12 MB / 429.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.2909, allocations: 0.5381 MB / 429.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.2938, allocations: 2.137 MB / 431.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.2957, allocations: 1.242 MB / 433.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005277/0.2962, allocations: 216 kB / 433.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.2967, allocations: 216 kB / 433.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000801/0.2975, allocations: 0.6463 MB / 434.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009935/0.2985, allocations: 0.7036 MB / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004278/0.3028, allocations: 4.422 MB / 439.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3028, allocations: 0 / 439.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3028, allocations: 4 kB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-05/0.3029, allocations: 0 / 439.3 MB, free: 14.18 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.004412/0.3073, allocations: 2.275 MB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3073, allocations: 8.031 kB / 441.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.3078, allocations: 179.9 kB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.3103, allocations: 1.008 MB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.3104, allocations: 106.8 kB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.3108, allocations: 124.4 kB / 443 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.3151, allocations: 2.311 MB / 445.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.3152, allocations: 3.938 kB / 445.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.3154, allocations: 52 kB / 445.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.3154, allocations: 32 kB / 445.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004034/0.3195, allocations: 2.002 MB / 447.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008534/0.328, allocations: 4.192 MB / 451.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.3318, allocations: 1.815 MB / 453.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.3333, allocations: 0.748 MB / 454.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.3334, allocations: 13.31 kB / 454.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002408/0.3358, allocations: 1.385 MB / 455.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.218e-06/0.3358, allocations: 0 / 455.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.00828/0.3441, allocations: 2.72 MB / 458.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3442, allocations: 94.42 kB / 458.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.3471, allocations: 0.9529 MB / 459.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006166/0.3478, allocations: 97.66 kB / 459.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009295/0.3487, allocations: 470.2 kB / 459.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008537/0.3495, allocations: 325.7 kB / 460.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002125/0.3517, allocations: 0.6673 MB / 460.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000378/0.352, allocations: 410.7 kB / 461.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.3549, allocations: 0.8955 MB / 462.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.3579, allocations: 1.072 MB / 463.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005379/0.3632, allocations: 1.945 MB / 465.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3633, allocations: 0 / 465.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006563/0.3698, allocations: 2.429 MB / 467.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.3699, allocations: 29.7 kB / 467.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3699, allocations: 4 kB / 467.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.3699, allocations: 8 kB / 467.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.3705, allocations: 231.6 kB / 467.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/0.3705, allocations: 11.94 kB / 467.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.3713, allocations: 79.7 kB / 467.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/0.3726, allocations: 1.089 MB / 469 MB, free: 8 kB / 366.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.001841/0.3744, allocations: 0.9157 MB / 469.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/0.3749, allocations: 111.3 kB / 470 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.3752, allocations: 130.3 kB / 470.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.3752, allocations: 12 kB / 470.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3752, allocations: 8 kB / 470.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.3752, allocations: 7.922 kB / 470.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.3779, allocations: 1.357 MB / 471.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.3779, allocations: 0 / 471.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.3784, allocations: 203.7 kB / 471.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.3784, allocations: 4 kB / 471.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003185/0.3788, allocations: 175.9 kB / 471.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.3788, allocations: 4 kB / 471.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3788, allocations: 3.938 kB / 471.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/0.383, allocations: 2.075 MB / 474 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/0.3848, allocations: 0.5985 MB / 474.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005001/0.3853, allocations: 119.9 kB / 474.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.3858, allocations: 43.98 kB / 474.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007513/0.3866, allocations: 336.9 kB / 475.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001269/0.3879, allocations: 1.085 MB / 476.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009554/0.3888, allocations: 0.5927 MB / 476.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3888, allocations: 0 / 476.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001455/0.3903, allocations: 383.4 kB / 477.1 MB, free: 7.781 MB / 382.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.0006333/0.3909, allocations: 359.8 kB / 477.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004429/0.3953, allocations: 2.055 MB / 479.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3953, allocations: 0 / 479.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.3974, allocations: 1.082 MB / 480.6 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/0.4016, allocations: 1.072 MB / 481.7 MB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.4073, allocations: 2.928 MB / 484.6 MB, free: 300 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.4085, allocations: 0.7237 MB / 485.3 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007934/0.4164, allocations: 3.37 MB / 488.7 MB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003576/0.42, allocations: 0.9308 MB / 489.6 MB, free: 11.22 MB / 398.1 MB Notification: Performance of SimCode: time 1.203e-06/0.42, allocations: 0 / 489.6 MB, free: 11.22 MB / 398.1 MB Notification: Performance of Templates: time 0.06737/0.4873, allocations: 42.88 MB / 0.52 GB, free: 15.76 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.7394910883158445]