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.001422/0.001422, allocations: 85.95 kB / 23 MB, free: 1.504 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.00112/0.00112, allocations: 175.6 kB / 26.4 MB, free: 7.98 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 0.9623/0.9623, allocations: 158.6 MB / 188.3 MB, free: 2.801 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 1.473e-06/1.473e-06, allocations: 0 / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.286e-05, allocations: 2.312 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.006332/0.006355, allocations: 2.431 MB / 254.7 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.008753, allocations: 1.264 MB / 255.9 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.008904, allocations: 7.938 kB / 256 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.009089, allocations: 67.36 kB / 256 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.009245, allocations: 83.23 kB / 256.1 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.0098, allocations: 247.6 kB / 256.3 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.01118, allocations: 2.139 MB / 258.5 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006303/0.01181, allocations: 0.5381 MB / 259 MB, free: 436 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.01381, allocations: 2.48 MB / 261.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.01544, allocations: 1.173 MB / 262.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004666/0.0159, allocations: 216 kB / 262.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.01621, allocations: 220 kB / 263.1 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.01666, allocations: 0.6463 MB / 263.7 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.01719, allocations: 0.6113 MB / 264.4 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.01908, allocations: 3.185 MB / 267.5 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01908, allocations: 0 / 267.5 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01908, allocations: 0 / 267.5 MB, free: 7.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.0191, allocations: 0 / 267.5 MB, free: 7.883 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.002697/0.0218, allocations: 2.477 MB / 270 MB, free: 5.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.02184, allocations: 11.98 kB / 270 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.0223, allocations: 291.9 kB / 270.3 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008523/0.02315, allocations: 0.8504 MB / 271.2 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.02322, allocations: 94.91 kB / 271.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.02343, allocations: 128.3 kB / 271.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.02514, allocations: 1.269 MB / 272.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.02517, allocations: 192 / 272.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.02555, allocations: 56.38 kB / 272.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.02557, allocations: 31.94 kB / 272.7 MB, free: 2.566 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.02701, allocations: 0.7293 MB / 273.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.03171, allocations: 3.407 MB / 276.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.03334, allocations: 0.9873 MB / 277.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.03382, allocations: 353.1 kB / 278.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.03395, allocations: 25.3 kB / 278.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000928/0.03488, allocations: 0.9059 MB / 279.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.506e-06/0.03488, allocations: 4 kB / 279.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002244/0.03713, allocations: 1.607 MB / 280.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.03717, allocations: 90.42 kB / 280.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.03808, allocations: 0.9242 MB / 281.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.03824, allocations: 93.66 kB / 281.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.03862, allocations: 0.5165 MB / 282.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.03898, allocations: 365.6 kB / 282.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00096/0.03994, allocations: 0.7977 MB / 283.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.04016, allocations: 0.6405 MB / 284.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.04064, allocations: 337.5 kB / 284.5 MB, free: 6.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/0.04138, allocations: 0.5873 MB / 285.1 MB, free: 5.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.04255, allocations: 0.9573 MB / 286 MB, free: 4.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.04255, allocations: 0 / 286 MB, free: 4.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001845/0.0444, allocations: 1.465 MB / 287.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.04444, allocations: 37.73 kB / 287.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.04445, allocations: 7.984 kB / 287.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.04447, allocations: 8 kB / 287.6 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.0448, allocations: 243.5 kB / 287.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.04481, allocations: 15.98 kB / 287.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.04528, allocations: 79.7 kB / 287.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.04631, allocations: 1.093 MB / 289 MB, free: 1.953 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.0007487/0.04706, allocations: 453 kB / 289.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.04739, allocations: 159.3 kB / 289.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.04752, allocations: 114.3 kB / 289.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.04753, allocations: 12 kB / 289.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.04754, allocations: 0 / 289.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.04755, allocations: 11.97 kB / 289.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.04865, allocations: 0.9856 MB / 290.7 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.04866, allocations: 7.984 kB / 290.7 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.04893, allocations: 215.7 kB / 290.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.639e-06/0.04894, allocations: 7.938 kB / 290.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.04911, allocations: 183.9 kB / 291.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.04912, allocations: 4 kB / 291.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.04912, allocations: 0 / 291.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.0509, allocations: 1.411 MB / 292.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.05148, allocations: 0.5126 MB / 293 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.05174, allocations: 123.9 kB / 293.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.05202, allocations: 47.98 kB / 293.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.05237, allocations: 281 kB / 293.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008254/0.05319, allocations: 1.089 MB / 294.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.05349, allocations: 414.8 kB / 295 MB, free: 11.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05349, allocations: 0 / 295 MB, free: 11.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001289/0.05477, allocations: 395.3 kB / 295.4 MB, free: 11.48 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.0003793/0.05515, allocations: 363.8 kB / 295.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.05664, allocations: 1.173 MB / 296.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.05664, allocations: 0 / 296.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008286/0.05747, allocations: 0.7303 MB / 297.6 MB, free: 9.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.05961, allocations: 1.248 MB / 298.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.06258, allocations: 2.251 MB / 301.1 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.06276, allocations: 246.5 kB / 301.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.004721/0.06748, allocations: 2.883 MB / 304.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/0.07022, allocations: 1.363 MB / 305.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of SimCode: time 2.595e-06/0.07022, allocations: 7.938 kB / 305.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of Templates: time 0.04761/0.1178, allocations: 44.51 MB / 350.1 MB, free: 3.598 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.741392449941486]