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.001838/0.001838, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.002149/0.002149, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.607/1.607, allocations: 230.2 MB / 254.5 MB, free: 15.22 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.00188/0.00188, allocations: 63.89 kB / 373.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1192, allocations: 53.32 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004046/0.1232, allocations: 2.618 MB / 429.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.1264, allocations: 1.282 MB / 431.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1266, allocations: 7.938 kB / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1268, allocations: 67.36 kB / 431.1 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.127, allocations: 67.33 kB / 431.2 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006724/0.1276, allocations: 239.6 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2448/0.3725, allocations: 2.065 MB / 433.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008701/0.3733, allocations: 0.7289 MB / 434.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.3759, allocations: 2.11 MB / 436.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.3776, allocations: 1.112 MB / 437.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005941/0.3782, allocations: 216.3 kB / 437.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.3787, allocations: 221.2 kB / 437.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006752/0.3794, allocations: 0.6408 MB / 438.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.3812, allocations: 0.8945 MB / 439.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.3882, allocations: 4.406 MB / 443.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3882, allocations: 1.438 kB / 443.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.3882, allocations: 3.938 kB / 443.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.3884, allocations: 0 / 443.8 MB, free: 5.629 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.007979/0.3963, allocations: 2.351 MB / 446.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.3964, allocations: 13 kB / 446.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009729/0.3974, allocations: 173.4 kB / 446.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.4001, allocations: 1.065 MB / 447.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.4003, allocations: 100.3 kB / 447.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005484/0.4009, allocations: 122 kB / 447.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007048/0.4079, allocations: 2.282 MB / 449.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.408, allocations: 3.938 kB / 449.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/0.4084, allocations: 54.22 kB / 450 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.4084, allocations: 35.22 kB / 450 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.4135, allocations: 1.984 MB / 452 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009719/0.4232, allocations: 4.815 MB / 456.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/0.4277, allocations: 1.789 MB / 458.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.4296, allocations: 0.7332 MB / 459.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.4299, allocations: 13.56 kB / 459.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002783/0.4326, allocations: 1.352 MB / 460.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.907e-06/0.4326, allocations: 1.969 kB / 460.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.006178/0.4388, allocations: 2.67 MB / 463.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.4389, allocations: 90.89 kB / 463.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.4409, allocations: 0.9469 MB / 464.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004462/0.4413, allocations: 105.6 kB / 464.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.442, allocations: 472.6 kB / 465 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.4426, allocations: 330.1 kB / 465.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.444, allocations: 0.6673 MB / 466 MB, free: 9.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.4443, allocations: 406.7 kB / 466.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.4466, allocations: 0.8627 MB / 467.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.4495, allocations: 1.046 MB / 468.3 MB, free: 6.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/0.4542, allocations: 1.943 MB / 470.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4542, allocations: 0 / 470.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005631/0.4598, allocations: 2.406 MB / 472.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.4599, allocations: 37.64 kB / 472.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.4599, allocations: 4 kB / 472.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.581e-05/0.46, allocations: 11.98 kB / 472.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.4607, allocations: 227.6 kB / 472.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.406e-05/0.4607, allocations: 15.98 kB / 472.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.4619, allocations: 76.27 kB / 473 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/0.4636, allocations: 1.1 MB / 474.1 MB, free: 0.9375 MB / 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.002735/0.4664, allocations: 0.8908 MB / 475 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006263/0.467, allocations: 111.3 kB / 475.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.4674, allocations: 141.5 kB / 475.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.4674, allocations: 12 kB / 475.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/0.4674, allocations: 0 / 475.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.4674, allocations: 11.91 kB / 475.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.471, allocations: 1.761 MB / 477 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.471, allocations: 0 / 477 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.4718, allocations: 203.7 kB / 477.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.4718, allocations: 4 kB / 477.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004097/0.4722, allocations: 175.9 kB / 477.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.4722, allocations: 4 kB / 477.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4722, allocations: 8 kB / 477.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.4773, allocations: 2.043 MB / 479.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.4788, allocations: 0.6446 MB / 480.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/0.4794, allocations: 119.9 kB / 480.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.48, allocations: 51.97 kB / 480.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008157/0.4808, allocations: 329 kB / 480.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001563/0.4824, allocations: 1.085 MB / 481.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.4834, allocations: 0.5966 MB / 482.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4834, allocations: 0 / 482.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001966/0.4854, allocations: 383.3 kB / 482.6 MB, free: 8.32 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.0006377/0.486, allocations: 363.6 kB / 483 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004385/0.4904, allocations: 1.999 MB / 485 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4904, allocations: 0 / 485 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.4927, allocations: 1.057 MB / 486 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/0.4974, allocations: 1.06 MB / 487.1 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.5035, allocations: 2.897 MB / 490 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.5049, allocations: 1.313 MB / 491.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.01534/0.5202, allocations: 3.374 MB / 494.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008703/0.5289, allocations: 0.9347 MB / 495.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5289, allocations: 0 / 495.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of Templates: time 0.06852/0.5974, allocations: 40.61 MB / 0.5236 GB, free: 1.82 MB / 430.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.77569542825222]