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.0008261/0.0008261, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003823/0.003823, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8877/0.8877, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.794e-05, allocations: 3.828 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002553/0.002581, allocations: 2.391 MB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.004488, allocations: 1.224 MB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.004607, allocations: 7.938 kB / 329.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.004789, allocations: 71.31 kB / 329.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.004913, allocations: 75.25 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.00542, allocations: 251.6 kB / 329.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.006642, allocations: 2.143 MB / 331.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.007194, allocations: 0.5381 MB / 332.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.008865, allocations: 2.469 MB / 334.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.00985, allocations: 1.169 MB / 336.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.01014, allocations: 216 kB / 336.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.0104, allocations: 224 kB / 336.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.0108, allocations: 0.6424 MB / 337.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005342/0.01133, allocations: 0.6075 MB / 337.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.01391, allocations: 4.592 MB / 342.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.01392, allocations: 3.984 kB / 342.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.01392, allocations: 4 kB / 342.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.369e-05/0.01397, allocations: 0 / 342.4 MB, free: 14.67 MB / 314.7 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.002819/0.01679, allocations: 2.287 MB / 344.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.01683, allocations: 15.98 kB / 344.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.01711, allocations: 183.9 kB / 344.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.01818, allocations: 1.015 MB / 345.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.01824, allocations: 98.91 kB / 346 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.01844, allocations: 128.4 kB / 346.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.02096, allocations: 2.338 MB / 348.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.02098, allocations: 4.188 kB / 348.5 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.02112, allocations: 52.38 kB / 348.5 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.02114, allocations: 35.94 kB / 348.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.02345, allocations: 2.033 MB / 350.6 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.02859, allocations: 4.231 MB / 354.8 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.03076, allocations: 1.846 MB / 356.7 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.03162, allocations: 0.7637 MB / 357.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.03174, allocations: 13.31 kB / 357.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.03301, allocations: 1.408 MB / 358.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 5.059e-06/0.03302, allocations: 0 / 358.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003166/0.03618, allocations: 2.786 MB / 361.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.03624, allocations: 98.41 kB / 361.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009816/0.03722, allocations: 0.9489 MB / 362.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.03738, allocations: 101.7 kB / 362.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.03766, allocations: 474.1 kB / 363.2 MB, free: 9.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.03794, allocations: 325.7 kB / 363.5 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006908/0.03864, allocations: 0.6907 MB / 364.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.03878, allocations: 410.7 kB / 364.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009992/0.03978, allocations: 0.9073 MB / 365.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.04081, allocations: 1.072 MB / 366.6 MB, free: 6.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.04282, allocations: 1.992 MB / 368.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.04283, allocations: 0 / 368.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002672/0.0455, allocations: 2.476 MB / 371.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.04554, allocations: 33.7 kB / 371.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.04555, allocations: 4 kB / 371.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.04558, allocations: 8 kB / 371.1 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.04598, allocations: 247.6 kB / 371.4 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.04599, allocations: 11.98 kB / 371.4 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.04644, allocations: 79.77 kB / 371.5 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/0.04705, allocations: 1.1 MB / 372.6 MB, free: 56 kB / 330.7 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.00117/0.04822, allocations: 0.9196 MB / 373.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.04846, allocations: 115.3 kB / 373.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.04861, allocations: 130.3 kB / 373.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.04862, allocations: 16 kB / 373.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.04863, allocations: 0 / 373.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.04864, allocations: 7.969 kB / 373.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.05023, allocations: 1.357 MB / 375.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.05023, allocations: 0 / 375.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.05046, allocations: 219.7 kB / 375.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.05047, allocations: 4 kB / 375.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.05062, allocations: 191.9 kB / 375.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.05062, allocations: 4 kB / 375.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.05063, allocations: 0 / 375.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.05286, allocations: 2.114 MB / 377.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/0.05361, allocations: 0.5985 MB / 378.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.05386, allocations: 123.9 kB / 378.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.05412, allocations: 55.98 kB / 378.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.05451, allocations: 332.9 kB / 378.7 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006435/0.05516, allocations: 1.096 MB / 379.8 MB, free: 8.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005178/0.05567, allocations: 0.5927 MB / 380.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05567, allocations: 0 / 380.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009679/0.05664, allocations: 399.3 kB / 380.8 MB, free: 7.711 MB / 346.7 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.000346/0.05699, allocations: 367.7 kB / 381.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.05956, allocations: 2.083 MB / 383.2 MB, free: 5.246 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.05956, allocations: 64 / 383.2 MB, free: 5.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.06058, allocations: 1.074 MB / 384.3 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.06254, allocations: 1.08 MB / 385.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.06589, allocations: 3.05 MB / 388.5 MB, free: 32 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.06647, allocations: 0.7198 MB / 389.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0032/0.06967, allocations: 1.364 MB / 390.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.06967, allocations: 0 / 390.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Templates: time 0.02753/0.0972, allocations: 33.34 MB / 423.9 MB, free: 11 MB / 394.7 MB " [Timeout remaining time 660] 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: 6.122288676910102]