Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002639, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000918/0.000918, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002233, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9287/0.9287, allocations: 173.4 MB / 185.9 MB, free: 8.902 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09517/1.024, allocations: 52.5 MB / 238.4 MB, free: 4.344 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 239.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.231e-05, allocations: 3.438 kB / 239.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002845/0.002867, allocations: 2.48 MB / 242.2 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.004826, allocations: 1.305 MB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.004953, allocations: 7.938 kB / 243.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.00509, allocations: 75.3 kB / 243.6 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.005218, allocations: 75.25 kB / 243.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.005622, allocations: 255.5 kB / 243.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.007084, allocations: 2.128 MB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.00763, allocations: 0.5536 MB / 246.6 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.009514, allocations: 2.596 MB / 249.2 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.01045, allocations: 1.173 MB / 250.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.01076, allocations: 216 kB / 250.6 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.01105, allocations: 216 kB / 250.8 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.01144, allocations: 486.8 kB / 251.3 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.01191, allocations: 439.1 kB / 251.7 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.01368, allocations: 2.929 MB / 254.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-05/0.0137, allocations: 0 / 254.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.0137, allocations: 0 / 254.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.01373, allocations: 4 kB / 254.6 MB, free: 4.086 MB / 250.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.002234/0.01596, allocations: 2.258 MB / 256.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.01599, allocations: 8.031 kB / 256.9 MB, free: 1.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.01636, allocations: 220.8 kB / 257.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.01711, allocations: 0.7473 MB / 257.9 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.01718, allocations: 106.9 kB / 258 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.01738, allocations: 120.4 kB / 258.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.01878, allocations: 1.05 MB / 259.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.0188, allocations: 192 / 259.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.01894, allocations: 52.38 kB / 259.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.01896, allocations: 31.94 kB / 259.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/0.01985, allocations: 422.9 kB / 259.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.023, allocations: 2.56 MB / 262.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.02406, allocations: 0.6525 MB / 262.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.0244, allocations: 218.3 kB / 263.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.02456, allocations: 29.25 kB / 263.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/0.02526, allocations: 0.627 MB / 263.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.457e-06/0.02527, allocations: 0 / 263.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.00135/0.02662, allocations: 0.7606 MB / 264.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.02666, allocations: 64.72 kB / 264.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.02718, allocations: 0.6593 MB / 265.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.02734, allocations: 89.66 kB / 265.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.02755, allocations: 403.4 kB / 265.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.02783, allocations: 325.6 kB / 266 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005119/0.02834, allocations: 439.1 kB / 266.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002922/0.02864, allocations: 406.5 kB / 266.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.02899, allocations: 197.5 kB / 267 MB, free: 7.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.02942, allocations: 377.9 kB / 267.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.03036, allocations: 0.7376 MB / 268.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.03037, allocations: 0 / 268.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001147/0.03152, allocations: 0.7281 MB / 268.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.03158, allocations: 33.7 kB / 268.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.03159, allocations: 4 kB / 268.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.03162, allocations: 12.03 kB / 268.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.03211, allocations: 179.5 kB / 269.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.03212, allocations: 11.98 kB / 269.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.03254, allocations: 83.7 kB / 269.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006658/0.03321, allocations: 0.9637 MB / 270.1 MB, free: 4.168 MB / 266.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.0006404/0.03385, allocations: 409 kB / 270.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.03411, allocations: 111.8 kB / 270.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.03424, allocations: 114.3 kB / 270.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.03425, allocations: 16 kB / 270.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.03426, allocations: 0 / 270.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.03427, allocations: 11.91 kB / 270.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.03528, allocations: 0.7018 MB / 271.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.03529, allocations: 0 / 271.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.03561, allocations: 151.6 kB / 271.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.03604, allocations: 366.9 kB / 272 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.03605, allocations: 4 kB / 272 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.03617, allocations: 63.89 kB / 272.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.03617, allocations: 4 kB / 272.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.03617, allocations: 0 / 272.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.0372, allocations: 0.6426 MB / 272.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.03745, allocations: 115.9 kB / 272.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.03773, allocations: 47.98 kB / 272.9 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/0.03805, allocations: 161 kB / 273 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007854/0.03884, allocations: 0.9675 MB / 274 MB, free: 228 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.1206/0.1595, allocations: 253.1 kB / 274.2 MB, free: 24.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1595, allocations: 0 / 274.2 MB, free: 24.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00172/0.1612, allocations: 383.9 kB / 274.6 MB, free: 24.81 MB / 266.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.0006097/0.1618, allocations: 338.2 kB / 274.9 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.1634, allocations: 0.7567 MB / 275.7 MB, free: 24.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.236e-05/0.1634, allocations: 13.62 kB / 275.7 MB, free: 24.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007699/0.1642, allocations: 479.9 kB / 276.2 MB, free: 24.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.1672, allocations: 2.867 MB / 279 MB, free: 22.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.1705, allocations: 2.163 MB / 281.2 MB, free: 21.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1707, allocations: 239.8 kB / 281.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.004289/0.175, allocations: 2.885 MB / 284.3 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/0.1777, allocations: 1.257 MB / 285.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of SimCode: time 2.164e-06/0.1777, allocations: 0 / 285.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of Templates: time 0.03953/0.2172, allocations: 44.49 MB / 330.1 MB, free: 12.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.279366949573159]