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.001372/0.001372, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001525/0.001525, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001542/0.001542, allocations: 47.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3218, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003919/0.3257, allocations: 2.39 MB / 434 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.3286, allocations: 1.224 MB / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.3288, allocations: 11.88 kB / 435.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.3291, allocations: 63.38 kB / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.3293, allocations: 71.31 kB / 435.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.33, allocations: 251.6 kB / 435.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.3321, allocations: 2.116 MB / 437.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.3329, allocations: 0.5381 MB / 438.2 MB, free: 20 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.3356, allocations: 2.14 MB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.3375, allocations: 1.238 MB / 441.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006687/0.3381, allocations: 216 kB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.3387, allocations: 216 kB / 442 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007677/0.3394, allocations: 0.6424 MB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.3406, allocations: 0.7075 MB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004662/0.3452, allocations: 4.426 MB / 447.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3452, allocations: 4 kB / 447.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3452, allocations: 0 / 447.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001001/0.3453, allocations: 4 kB / 447.8 MB, free: 6.414 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.005561/0.3509, allocations: 2.278 MB / 450.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.3509, allocations: 12.03 kB / 450.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.3515, allocations: 171.9 kB / 450.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.3541, allocations: 1.012 MB / 451.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3542, allocations: 98.91 kB / 451.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.3545, allocations: 120.4 kB / 451.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004731/0.3593, allocations: 2.318 MB / 453.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.3593, allocations: 0 / 453.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.3595, allocations: 52 kB / 453.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.3596, allocations: 31.94 kB / 453.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004485/0.364, allocations: 2.01 MB / 455.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009913/0.374, allocations: 4.196 MB / 460.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.3777, allocations: 1.807 MB / 461.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.3792, allocations: 0.748 MB / 462.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.3794, allocations: 17.31 kB / 462.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002242/0.3816, allocations: 1.385 MB / 464.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.167e-06/0.3816, allocations: 0 / 464.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005311/0.387, allocations: 2.72 MB / 466.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3871, allocations: 94.42 kB / 466.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.3889, allocations: 0.9528 MB / 467.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.3892, allocations: 97.66 kB / 467.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/0.3898, allocations: 474.2 kB / 468.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005447/0.3903, allocations: 321.7 kB / 468.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.3914, allocations: 0.6673 MB / 469.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.3917, allocations: 410.6 kB / 469.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.3934, allocations: 0.8956 MB / 470.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.3951, allocations: 1.068 MB / 471.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.3985, allocations: 1.953 MB / 473.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3985, allocations: 0 / 473.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004513/0.403, allocations: 2.437 MB / 476.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.4031, allocations: 33.7 kB / 476.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.4031, allocations: 0 / 476.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-05/0.4031, allocations: 12 kB / 476.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.4037, allocations: 227.6 kB / 476.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.878e-05/0.4037, allocations: 11.94 kB / 476.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.4045, allocations: 79.7 kB / 476.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/0.4057, allocations: 1.093 MB / 477.6 MB, free: 8.223 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.001951/0.4077, allocations: 0.9079 MB / 478.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/0.4082, allocations: 107.3 kB / 478.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.4086, allocations: 134.3 kB / 478.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.4086, allocations: 12 kB / 478.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.4086, allocations: 0 / 478.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.4086, allocations: 7.984 kB / 478.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.4115, allocations: 1.345 MB / 480.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.4115, allocations: 0 / 480.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.4121, allocations: 207.7 kB / 480.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.4121, allocations: 4 kB / 480.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003382/0.4124, allocations: 175.9 kB / 480.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-05/0.4124, allocations: 11.94 kB / 480.5 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4124, allocations: 0 / 480.5 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.4169, allocations: 2.063 MB / 482.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.4185, allocations: 0.6024 MB / 483.1 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006053/0.4191, allocations: 115.9 kB / 483.3 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.4197, allocations: 47.97 kB / 483.3 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000719/0.4204, allocations: 336.9 kB / 483.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001286/0.4217, allocations: 1.081 MB / 484.7 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.4227, allocations: 0.5966 MB / 485.3 MB, free: 404 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4227, allocations: 0 / 485.3 MB, free: 404 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001632/0.4244, allocations: 383.4 kB / 485.7 MB, free: 20 kB / 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.0006071/0.425, allocations: 371.6 kB / 486 MB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004185/0.4292, allocations: 2.052 MB / 488.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4292, allocations: 0 / 488.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.4312, allocations: 1.082 MB / 489.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/0.4356, allocations: 1.065 MB / 490.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.4425, allocations: 2.916 MB / 493.2 MB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.4441, allocations: 0.7237 MB / 493.9 MB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.009739/0.4538, allocations: 3.37 MB / 497.3 MB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004044/0.4579, allocations: 0.9308 MB / 498.2 MB, free: 3.473 MB / 398.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4579, allocations: 0 / 498.2 MB, free: 3.473 MB / 398.1 MB Notification: Performance of Templates: time 0.06732/0.5252, allocations: 42.9 MB / 0.5284 GB, free: 8 MB / 446.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.981900576502085]