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.001431/0.001431, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.001206/0.001206, allocations: 164.1 kB / 25.75 MB, free: 8.961 MB / 18.57 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.008/1.008, allocations: 158.6 MB / 187.5 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..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.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.072e-05, allocations: 2.312 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003957/0.003987, allocations: 2.462 MB / 253.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.006937, allocations: 1.26 MB / 254.8 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.007207, allocations: 11.88 kB / 254.8 MB, free: 4.039 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.007465, allocations: 71.36 kB / 254.9 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.009024, allocations: 75.25 kB / 255 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.009748, allocations: 255.6 kB / 255.2 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.01133, allocations: 2.131 MB / 257.4 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008572/0.01219, allocations: 0.542 MB / 257.9 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.01467, allocations: 2.473 MB / 260.4 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.01624, allocations: 1.169 MB / 261.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000485/0.01673, allocations: 220 kB / 261.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.01704, allocations: 216 kB / 262 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005325/0.01757, allocations: 0.6463 MB / 262.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.01822, allocations: 0.6076 MB / 263.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.02054, allocations: 3.189 MB / 266.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.02054, allocations: 0 / 266.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.624e-06/0.02055, allocations: 0 / 266.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.02057, allocations: 3.984 kB / 266.4 MB, free: 8.402 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.002709/0.02328, allocations: 2.474 MB / 268.9 MB, free: 5.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.546e-05/0.02335, allocations: 15.92 kB / 268.9 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005581/0.02391, allocations: 283.9 kB / 269.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.02498, allocations: 0.9284 MB / 270.1 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/0.02507, allocations: 94.91 kB / 270.2 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.02529, allocations: 124.4 kB / 270.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.02737, allocations: 1.367 MB / 271.7 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.0274, allocations: 4.172 kB / 271.7 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.02757, allocations: 52.38 kB / 271.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.02759, allocations: 35.94 kB / 271.8 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.02911, allocations: 0.8323 MB / 272.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004561/0.03367, allocations: 3.743 MB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.03553, allocations: 1.073 MB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.03617, allocations: 389.1 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.03629, allocations: 21.31 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.0375, allocations: 0.9529 MB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.999e-06/0.03751, allocations: 0 / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002746/0.04025, allocations: 1.721 MB / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.04033, allocations: 94.42 kB / 280.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.0415, allocations: 0.9248 MB / 281.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.04167, allocations: 101.6 kB / 281.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.04219, allocations: 0.5087 MB / 282.1 MB, free: 8.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.04257, allocations: 353.8 kB / 282.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008374/0.04341, allocations: 0.7979 MB / 283.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.04364, allocations: 0.6406 MB / 283.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.04431, allocations: 389.5 kB / 284.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/0.04512, allocations: 0.6342 MB / 284.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.04661, allocations: 1.039 MB / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.04661, allocations: 0 / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002252/0.04886, allocations: 1.562 MB / 287.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.04891, allocations: 33.7 kB / 287.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.04892, allocations: 8.031 kB / 287.6 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.04895, allocations: 11.94 kB / 287.6 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.04927, allocations: 239.6 kB / 287.8 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.04928, allocations: 11.94 kB / 287.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.04978, allocations: 95.64 kB / 287.9 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007729/0.05056, allocations: 1.1 MB / 289 MB, free: 1.301 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.0009681/0.05152, allocations: 445 kB / 289.5 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.05188, allocations: 159.3 kB / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.05201, allocations: 118.3 kB / 289.7 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.05202, allocations: 12 kB / 289.7 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.05203, allocations: 4 kB / 289.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.05204, allocations: 7.969 kB / 289.8 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.05372, allocations: 1.27 MB / 291 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.05373, allocations: 11.92 kB / 291 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.054, allocations: 215.7 kB / 291.3 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.05401, allocations: 4 kB / 291.3 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.05418, allocations: 187.9 kB / 291.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.05419, allocations: 4 kB / 291.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.05419, allocations: 0 / 291.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.05634, allocations: 1.485 MB / 292.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/0.05698, allocations: 0.5399 MB / 293.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.05725, allocations: 115.9 kB / 293.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.05754, allocations: 59.98 kB / 293.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004699/0.05801, allocations: 328.9 kB / 294 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007359/0.05875, allocations: 1.089 MB / 295 MB, free: 11.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004259/0.05917, allocations: 439 kB / 295.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.05917, allocations: 0 / 295.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001173/0.06034, allocations: 399.3 kB / 295.9 MB, free: 10.36 MB / 282.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.0003758/0.06072, allocations: 355.7 kB / 296.2 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.06285, allocations: 1.279 MB / 297.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.06285, allocations: 3.938 kB / 297.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000932/0.06379, allocations: 0.7771 MB / 298.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.06606, allocations: 1.253 MB / 299.5 MB, free: 6.672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.06938, allocations: 2.301 MB / 301.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.0696, allocations: 254.5 kB / 302.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00536/0.07496, allocations: 3.261 MB / 305.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/0.07707, allocations: 0.9593 MB / 306.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.094e-06/0.07707, allocations: 0 / 306.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of Templates: time 0.04266/0.1197, allocations: 41.98 MB / 348.3 MB, free: 4.832 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.624144355999306]