Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 43.94 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 53.34 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00442/0.1134, allocations: 2.614 MB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.1165, allocations: 1.278 MB / 430.7 MB, free: 380 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.1169, allocations: 11.94 kB / 430.7 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1172, allocations: 67.31 kB / 430.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1175, allocations: 75.25 kB / 430.9 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2366/0.3542, allocations: 228.5 kB / 431.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.3567, allocations: 2.072 MB / 433.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009447/0.3576, allocations: 0.7301 MB / 433.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.3601, allocations: 2.114 MB / 436 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.3618, allocations: 1.114 MB / 437.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000471/0.3623, allocations: 216.8 kB / 437.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.3627, allocations: 217.7 kB / 437.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006522/0.3633, allocations: 0.6387 MB / 438.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.3645, allocations: 0.9001 MB / 439.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.3695, allocations: 4.409 MB / 443.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3695, allocations: 1.188 kB / 443.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3695, allocations: 0 / 443.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-05/0.3695, allocations: 0 / 443.5 MB, free: 5.66 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.005461/0.375, allocations: 2.355 MB / 445.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.375, allocations: 9.406 kB / 445.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/0.3757, allocations: 173.9 kB / 446 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.3774, allocations: 1.069 MB / 447.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/0.3775, allocations: 95.56 kB / 447.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.3779, allocations: 122.2 kB / 447.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.3821, allocations: 2.285 MB / 449.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.3822, allocations: 3.938 kB / 449.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.3825, allocations: 51.03 kB / 449.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.3825, allocations: 30.5 kB / 449.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004139/0.3866, allocations: 1.989 MB / 451.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009862/0.3965, allocations: 4.807 MB / 456.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.4009, allocations: 1.799 MB / 458.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.4026, allocations: 0.7208 MB / 459 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.4029, allocations: 14.83 kB / 459 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002656/0.4055, allocations: 1.356 MB / 460.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.767e-06/0.4056, allocations: 0 / 460.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.006549/0.4121, allocations: 2.674 MB / 463 MB, free: 11.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.4122, allocations: 92.17 kB / 463.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.4144, allocations: 0.9496 MB / 464.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003833/0.4148, allocations: 97.66 kB / 464.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.4155, allocations: 478.1 kB / 464.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.4162, allocations: 316.8 kB / 464.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/0.4181, allocations: 0.6673 MB / 465.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002926/0.4184, allocations: 414.6 kB / 466 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.4204, allocations: 0.8666 MB / 466.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.4225, allocations: 1.042 MB / 467.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/0.4266, allocations: 1.951 MB / 469.9 MB, free: 4.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.4266, allocations: 1.969 kB / 469.9 MB, free: 4.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005675/0.4323, allocations: 2.408 MB / 472.3 MB, free: 2.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.4324, allocations: 33.7 kB / 472.3 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.4324, allocations: 4 kB / 472.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/0.4324, allocations: 11.94 kB / 472.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.4331, allocations: 235.5 kB / 472.6 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/0.4331, allocations: 8 kB / 472.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/0.4341, allocations: 79.69 kB / 472.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/0.4354, allocations: 1.096 MB / 473.7 MB, free: 0.8281 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.002102/0.4375, allocations: 0.8989 MB / 474.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/0.4381, allocations: 112.2 kB / 474.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.4385, allocations: 126.3 kB / 474.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.4385, allocations: 12 kB / 474.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/0.4386, allocations: 7.984 kB / 474.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.4386, allocations: 7.984 kB / 474.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.4421, allocations: 1.761 MB / 476.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.4421, allocations: 0 / 476.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.4427, allocations: 208.6 kB / 476.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/0.4428, allocations: 4 kB / 476.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004454/0.4432, allocations: 175.9 kB / 477 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/0.4432, allocations: 4 kB / 477 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4432, allocations: 2.141 kB / 477 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/0.4483, allocations: 2.042 MB / 479.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/0.4498, allocations: 0.6446 MB / 479.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006121/0.4504, allocations: 121.7 kB / 479.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006812/0.4511, allocations: 47.97 kB / 479.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008154/0.4519, allocations: 332.9 kB / 480.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001402/0.4533, allocations: 1.085 MB / 481.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.4545, allocations: 0.5965 MB / 481.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4545, allocations: 0 / 481.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002072/0.4566, allocations: 387.3 kB / 482.3 MB, free: 8.207 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.0007546/0.4573, allocations: 364 kB / 482.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004779/0.4621, allocations: 1.993 MB / 484.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4621, allocations: 0 / 484.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.4647, allocations: 1.057 MB / 485.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005226/0.4699, allocations: 1.064 MB / 486.7 MB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/0.4774, allocations: 2.898 MB / 489.6 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.4793, allocations: 1.316 MB / 491 MB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.01573/0.495, allocations: 3.374 MB / 494.3 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007638/0.5026, allocations: 0.9308 MB / 495.3 MB, free: 11.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.784e-06/0.5026, allocations: 0 / 495.3 MB, free: 11.21 MB / 398.1 MB Notification: Performance of Templates: time 0.07407/0.5767, allocations: 40.63 MB / 0.5233 GB, free: 1.785 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.762412991374731]