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.001224/0.001224, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001476/0.001476, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.064/1.064, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.903e-06/1.903e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.119e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003335/0.003367, allocations: 2.47 MB / 253.5 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.005748, allocations: 1.264 MB / 254.8 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.005953, allocations: 7.938 kB / 254.8 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.006178, allocations: 75.3 kB / 254.9 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.006354, allocations: 75.25 kB / 254.9 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.007051, allocations: 251.6 kB / 255.2 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.008883, allocations: 2.139 MB / 257.3 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007873/0.009671, allocations: 0.5342 MB / 257.8 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.0121, allocations: 2.48 MB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.01363, allocations: 1.165 MB / 261.5 MB, free: 13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008188/0.01445, allocations: 216 kB / 261.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.01495, allocations: 220 kB / 261.9 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006703/0.01562, allocations: 0.6463 MB / 262.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.01664, allocations: 0.6113 MB / 263.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.0188, allocations: 3.186 MB / 266.4 MB, free: 8.117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.0188, allocations: 0 / 266.4 MB, free: 8.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01881, allocations: 0 / 266.4 MB, free: 8.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.01884, allocations: 0 / 266.4 MB, free: 8.117 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.002872/0.02171, allocations: 2.485 MB / 268.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.02176, allocations: 11.98 kB / 268.9 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/0.02226, allocations: 279.9 kB / 269.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.02349, allocations: 0.9245 MB / 270.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.555e-05/0.02359, allocations: 98.91 kB / 270.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.02379, allocations: 124.4 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.02602, allocations: 1.371 MB / 271.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.02604, allocations: 4.172 kB / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.02618, allocations: 52.38 kB / 271.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.02621, allocations: 35.94 kB / 271.7 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.02767, allocations: 0.8284 MB / 272.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.03246, allocations: 3.743 MB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.0342, allocations: 1.069 MB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009481/0.03514, allocations: 397.1 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.03532, allocations: 21.31 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.03636, allocations: 0.9529 MB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.697e-06/0.03636, allocations: 0 / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002545/0.03891, allocations: 1.717 MB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.03895, allocations: 94.41 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.03994, allocations: 0.9209 MB / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.04009, allocations: 105.7 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.04038, allocations: 0.5165 MB / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.04069, allocations: 353.8 kB / 282.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008083/0.0415, allocations: 0.8018 MB / 283.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002504/0.04175, allocations: 0.6328 MB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.04235, allocations: 385.5 kB / 284.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.04352, allocations: 0.6343 MB / 284.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.04482, allocations: 1.039 MB / 285.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.04483, allocations: 4 kB / 285.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002102/0.04693, allocations: 1.562 MB / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.04697, allocations: 33.7 kB / 287.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.04698, allocations: 7.938 kB / 287.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.04701, allocations: 8 kB / 287.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.04734, allocations: 243.5 kB / 287.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.04735, allocations: 8 kB / 287.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.04781, allocations: 95.67 kB / 287.9 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007733/0.04859, allocations: 1.104 MB / 289 MB, free: 1.008 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.0006804/0.04927, allocations: 452.9 kB / 289.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.04957, allocations: 155.3 kB / 289.6 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.0497, allocations: 118.3 kB / 289.7 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.04971, allocations: 12 kB / 289.7 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.04972, allocations: 0 / 289.7 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.04973, allocations: 7.969 kB / 289.7 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.05112, allocations: 1.274 MB / 291 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.05113, allocations: 0 / 291 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.05139, allocations: 219.7 kB / 291.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.0514, allocations: 4 kB / 291.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.05157, allocations: 187.9 kB / 291.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.05157, allocations: 4 kB / 291.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.05157, allocations: 0 / 291.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.05366, allocations: 1.493 MB / 292.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.05435, allocations: 0.5399 MB / 293.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.05458, allocations: 123.9 kB / 293.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.05484, allocations: 51.98 kB / 293.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/0.05527, allocations: 324.9 kB / 293.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008114/0.05608, allocations: 1.089 MB / 295 MB, free: 10.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004191/0.0565, allocations: 443 kB / 295.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0565, allocations: 0 / 295.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001108/0.05761, allocations: 395.3 kB / 295.8 MB, free: 10.06 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.0003865/0.058, allocations: 359.8 kB / 296.2 MB, free: 9.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.05989, allocations: 1.281 MB / 297.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.05989, allocations: 0 / 297.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.06087, allocations: 0.7693 MB / 298.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.06343, allocations: 1.263 MB / 299.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.06669, allocations: 2.301 MB / 301.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.0669, allocations: 250.5 kB / 302 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.004832/0.07173, allocations: 3.265 MB / 305.3 MB, free: 496 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/0.07378, allocations: 0.9593 MB / 306.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.703e-06/0.07378, allocations: 0 / 306.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.04609/0.1199, allocations: 41.97 MB / 348.2 MB, free: 4.527 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.9903522012755275]