Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001383/0.001383, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001518/0.001518, allocations: 214.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.92 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2853, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00329/0.2886, allocations: 2.377 MB / 399.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.2911, allocations: 1.236 MB / 400.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.2913, allocations: 12.16 kB / 400.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2915, allocations: 69.39 kB / 400.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.2917, allocations: 71.09 kB / 400.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.2924, allocations: 243.2 kB / 400.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.2944, allocations: 2.119 MB / 403 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.2952, allocations: 0.5451 MB / 403.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.2982, allocations: 2.14 MB / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.3003, allocations: 1.244 MB / 406.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005939/0.3009, allocations: 216.2 kB / 407.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.3014, allocations: 217.5 kB / 407.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006565/0.3021, allocations: 0.6394 MB / 408 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.3031, allocations: 0.715 MB / 408.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.3068, allocations: 4.421 MB / 413.1 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3068, allocations: 5.125 kB / 413.1 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3068, allocations: 0 / 413.1 MB, free: 120 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.179e-05/0.3069, allocations: 0 / 413.1 MB, free: 120 kB / 318.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.005757/0.3127, allocations: 2.273 MB / 415.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3127, allocations: 13.36 kB / 415.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.3133, allocations: 177 kB / 415.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.3161, allocations: 1.011 MB / 416.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3163, allocations: 99.97 kB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/0.3167, allocations: 122.8 kB / 416.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005048/0.3217, allocations: 2.318 MB / 419.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.3218, allocations: 0 / 419.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.322, allocations: 50.91 kB / 419.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.3221, allocations: 34.2 kB / 419.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/0.3265, allocations: 2.009 MB / 421.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009595/0.3361, allocations: 4.18 MB / 425.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/0.3398, allocations: 1.814 MB / 427.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3415, allocations: 0.7559 MB / 427.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.3417, allocations: 13.31 kB / 428 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002453/0.3442, allocations: 1.381 MB / 429.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 5.39e-06/0.3442, allocations: 0 / 429.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005947/0.3501, allocations: 2.728 MB / 432.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.3502, allocations: 94.42 kB / 432.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.3519, allocations: 0.9411 MB / 433.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002611/0.3522, allocations: 101.7 kB / 433.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.3526, allocations: 470.2 kB / 433.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000503/0.3531, allocations: 321.7 kB / 434 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.3543, allocations: 0.6673 MB / 434.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.3545, allocations: 410.7 kB / 435 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.3563, allocations: 0.8917 MB / 435.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.3581, allocations: 1.068 MB / 437 MB, free: 10.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.3617, allocations: 1.953 MB / 439 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3617, allocations: 4 kB / 439 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004628/0.3663, allocations: 2.425 MB / 441.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.3664, allocations: 37.69 kB / 441.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3664, allocations: 4 kB / 441.4 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.3664, allocations: 8 kB / 441.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.367, allocations: 227.6 kB / 441.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.367, allocations: 15.97 kB / 441.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.3678, allocations: 83.7 kB / 441.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/0.369, allocations: 1.089 MB / 442.8 MB, free: 4.723 MB / 350.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.001935/0.371, allocations: 0.9079 MB / 443.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/0.3714, allocations: 107.3 kB / 443.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.3716, allocations: 134.3 kB / 444 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.3717, allocations: 12 kB / 444 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3717, allocations: 0 / 444 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.3717, allocations: 11.91 kB / 444 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.3741, allocations: 1.352 MB / 445.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3741, allocations: 0 / 445.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.3745, allocations: 207.7 kB / 445.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.3745, allocations: 4 kB / 445.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.3748, allocations: 183.9 kB / 445.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.3748, allocations: 4 kB / 445.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3748, allocations: 0 / 445.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/0.3788, allocations: 2.075 MB / 447.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.3803, allocations: 0.6024 MB / 448.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/0.3807, allocations: 115.9 kB / 448.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.3812, allocations: 51.97 kB / 448.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006868/0.3819, allocations: 336.9 kB / 448.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001163/0.3831, allocations: 1.081 MB / 450 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008639/0.3839, allocations: 0.5966 MB / 450.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 0 / 450.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001418/0.3853, allocations: 383.3 kB / 451 MB, free: 12.49 MB / 366.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.0005797/0.3859, allocations: 363.8 kB / 451.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003851/0.3898, allocations: 2.041 MB / 453.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3898, allocations: 0 / 453.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.3917, allocations: 1.086 MB / 454.5 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/0.3955, allocations: 1.066 MB / 455.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.4008, allocations: 2.924 MB / 458.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.4018, allocations: 0.7236 MB / 459.2 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.007854/0.4097, allocations: 3.374 MB / 462.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003038/0.4127, allocations: 0.9309 MB / 463.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4127, allocations: 0 / 463.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of Templates: time 0.06729/0.48, allocations: 42.88 MB / 0.4945 GB, free: 3.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.8989435490220785]