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.001891/0.001891, allocations: 91.92 kB / 20.96 MB, free: 3.441 MB / 18.57 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.001956/0.001956, allocations: 145.1 kB / 24.26 MB, free: 152 kB / 18.57 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 1.593/1.593, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_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.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.468e-05, allocations: 6.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005846/0.005881, allocations: 2.415 MB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004181/0.01006, allocations: 1.243 MB / 271 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.01028, allocations: 7.938 kB / 271 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.01059, allocations: 71.3 kB / 271.1 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.01087, allocations: 79.25 kB / 271.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/0.01178, allocations: 247.6 kB / 271.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.01471, allocations: 2.135 MB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/0.01568, allocations: 0.5382 MB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/0.01911, allocations: 2.473 MB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.0211, allocations: 1.165 MB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007655/0.02186, allocations: 219.9 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.02254, allocations: 220 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009287/0.02346, allocations: 0.6463 MB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.02462, allocations: 0.6036 MB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005868/0.03049, allocations: 4.596 MB / 284 MB, free: 6.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.0305, allocations: 0 / 284 MB, free: 6.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.0305, allocations: 0 / 284 MB, free: 6.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.938e-05/0.03059, allocations: 0 / 284 MB, free: 6.023 MB / 266.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.006247/0.03683, allocations: 2.626 MB / 286.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.03688, allocations: 8.922 kB / 286.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.03775, allocations: 287.9 kB / 286.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.04042, allocations: 0.9518 MB / 287.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.04054, allocations: 94.91 kB / 287.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.04091, allocations: 128.4 kB / 288 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.04504, allocations: 1.772 MB / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.04507, allocations: 192 / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1185/0.1636, allocations: 57.77 kB / 289.9 MB, free: 30.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.1636, allocations: 30.31 kB / 289.9 MB, free: 30.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00412/0.1678, allocations: 1.294 MB / 291.2 MB, free: 30.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.1786, allocations: 7.35 MB / 298.6 MB, free: 26.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/0.1821, allocations: 1.664 MB / 300.2 MB, free: 26.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.1834, allocations: 0.6598 MB / 300.9 MB, free: 26.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.1837, allocations: 20.88 kB / 300.9 MB, free: 26.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/0.1856, allocations: 1.345 MB / 302.2 MB, free: 25.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.456e-06/0.1856, allocations: 0 / 302.2 MB, free: 25.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.004558/0.1902, allocations: 2.463 MB / 304.7 MB, free: 22.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1902, allocations: 94.41 kB / 304.8 MB, free: 22.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.1918, allocations: 1.319 MB / 306.1 MB, free: 21.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.192, allocations: 97.66 kB / 306.2 MB, free: 21.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.1923, allocations: 0.54 MB / 306.7 MB, free: 20.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.1928, allocations: 414.2 kB / 307.2 MB, free: 20.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.194, allocations: 0.9931 MB / 308.1 MB, free: 19.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000279/0.1943, allocations: 0.7245 MB / 308.9 MB, free: 18.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.1956, allocations: 0.7668 MB / 309.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.197, allocations: 1.071 MB / 310.7 MB, free: 16.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/0.1996, allocations: 1.822 MB / 312.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1996, allocations: 0 / 312.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003612/0.2032, allocations: 2.275 MB / 314.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.2033, allocations: 33.7 kB / 314.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2033, allocations: 4 kB / 314.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.2033, allocations: 8 kB / 314.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.2038, allocations: 243.5 kB / 315.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2038, allocations: 8 kB / 315.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.2044, allocations: 91.56 kB / 315.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006567/0.2051, allocations: 1.1 MB / 316.3 MB, free: 11.14 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.0009555/0.206, allocations: 0.6456 MB / 316.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/0.2065, allocations: 159.3 kB / 317.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.2067, allocations: 114.3 kB / 317.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2067, allocations: 12 kB / 317.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.2067, allocations: 0 / 317.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2067, allocations: 7.969 kB / 317.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.2088, allocations: 1.703 MB / 318.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2088, allocations: 0 / 318.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.2092, allocations: 220.6 kB / 319.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.2092, allocations: 4 kB / 319.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.2095, allocations: 191.8 kB / 319.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2095, allocations: 4 kB / 319.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2095, allocations: 0 / 319.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.2127, allocations: 2 MB / 321.3 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.2141, allocations: 0.5424 MB / 321.9 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.2145, allocations: 127.5 kB / 322 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.2149, allocations: 55.97 kB / 322.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006085/0.2155, allocations: 360.9 kB / 322.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006645/0.2162, allocations: 1.093 MB / 323.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005955/0.2168, allocations: 0.5926 MB / 324.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2168, allocations: 0 / 324.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001192/0.218, allocations: 392.3 kB / 324.5 MB, free: 2.938 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.0004101/0.2184, allocations: 359.8 kB / 324.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.2214, allocations: 1.997 MB / 326.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2214, allocations: 0 / 326.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.2236, allocations: 1.108 MB / 327.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/0.2279, allocations: 1.264 MB / 329.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.2332, allocations: 2.669 MB / 331.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009608/0.2341, allocations: 0.6261 MB / 332.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00782/0.2419, allocations: 3.269 MB / 335.8 MB, free: 7.598 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/0.2453, allocations: 0.9709 MB / 336.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of SimCode: time 2.224e-06/0.2453, allocations: 0 / 336.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of Templates: time 0.06888/0.3142, allocations: 41.97 MB / 378.7 MB, free: 12.06 MB / 330.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5670268619433045]