Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001427/0.001427, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001668/0.001668, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.368e-06/4.368e-06, allocations: 3.984 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.974e-05, allocations: 6.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00379/0.00382, allocations: 2.392 MB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.006601, allocations: 1.236 MB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.006724, allocations: 11.94 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.006949, allocations: 71.3 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.007142, allocations: 83.23 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.007775, allocations: 247.6 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.01034, allocations: 2.131 MB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.01121, allocations: 0.542 MB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.01435, allocations: 2.465 MB / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.01619, allocations: 1.177 MB / 282.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000486/0.01668, allocations: 220 kB / 282.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.01712, allocations: 216 kB / 283.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008194/0.01794, allocations: 0.6385 MB / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009668/0.01891, allocations: 0.6152 MB / 284.4 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.02419, allocations: 4.592 MB / 288.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.02419, allocations: 4 kB / 288.9 MB, free: 1.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.0242, allocations: 0 / 288.9 MB, free: 1.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.306e-05/0.02427, allocations: 0 / 288.9 MB, free: 1.129 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.1263/0.1505, allocations: 2.284 MB / 291.2 MB, free: 26.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1506, allocations: 8.625 kB / 291.2 MB, free: 26.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008233/0.1514, allocations: 286.5 kB / 291.5 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.1532, allocations: 1.042 MB / 292.6 MB, free: 25.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.1533, allocations: 98.67 kB / 292.7 MB, free: 25.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.1536, allocations: 125.3 kB / 292.8 MB, free: 25.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/0.1581, allocations: 2.342 MB / 295.1 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.1581, allocations: 192 / 295.1 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.1584, allocations: 56.34 kB / 295.2 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.1584, allocations: 31.06 kB / 295.2 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/0.1624, allocations: 2.037 MB / 297.2 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.17, allocations: 4.265 MB / 301.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.1729, allocations: 1.85 MB / 303.4 MB, free: 20.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.1741, allocations: 0.7692 MB / 304.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.1743, allocations: 21.31 kB / 304.2 MB, free: 19.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/0.176, allocations: 1.401 MB / 305.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.168e-06/0.176, allocations: 1.125 kB / 305.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.004581/0.1806, allocations: 2.829 MB / 308.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1806, allocations: 97.81 kB / 308.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1816, allocations: 0.9412 MB / 309.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.1819, allocations: 109.2 kB / 309.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1821, allocations: 474.1 kB / 310 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.1825, allocations: 327.8 kB / 310.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008285/0.1833, allocations: 0.6869 MB / 311 MB, free: 12.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1834, allocations: 402.7 kB / 311.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.1847, allocations: 0.9112 MB / 312.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.1861, allocations: 1.075 MB / 313.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.1888, allocations: 1.978 MB / 315.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1888, allocations: 3.984 kB / 315.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003814/0.1926, allocations: 2.543 MB / 317.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.1927, allocations: 29.7 kB / 317.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1927, allocations: 4 kB / 317.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.1927, allocations: 8 kB / 317.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.1931, allocations: 244.1 kB / 318.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.1932, allocations: 8 kB / 318.2 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.1938, allocations: 92.2 kB / 318.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/0.1946, allocations: 1.101 MB / 319.4 MB, free: 4.422 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.001252/0.1958, allocations: 0.9106 MB / 320.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.1963, allocations: 159.3 kB / 320.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.1965, allocations: 134.3 kB / 320.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1965, allocations: 13.66 kB / 320.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1966, allocations: 0 / 320.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1966, allocations: 3.984 kB / 320.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.1982, allocations: 1.355 MB / 321.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.1982, allocations: 6.922 kB / 322 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.1986, allocations: 227.6 kB / 322.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.1986, allocations: 8 kB / 322.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/0.1989, allocations: 183.9 kB / 322.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.1989, allocations: 4 kB / 322.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1989, allocations: 0 / 322.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.2027, allocations: 2.153 MB / 324.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.2039, allocations: 0.6069 MB / 325.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/0.2044, allocations: 127.9 kB / 325.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.2049, allocations: 55.92 kB / 325.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/0.206, allocations: 344.9 kB / 325.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001328/0.2073, allocations: 1.096 MB / 326.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009047/0.2082, allocations: 0.5966 MB / 327.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2082, allocations: 0 / 327.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001461/0.2097, allocations: 384.4 kB / 327.7 MB, free: 12.1 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.0006672/0.2103, allocations: 367.8 kB / 328.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004258/0.2146, allocations: 2.085 MB / 330.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2146, allocations: 0 / 330.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.2168, allocations: 1.102 MB / 331.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/0.221, allocations: 1.255 MB / 332.5 MB, free: 7.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.2269, allocations: 2.985 MB / 335.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.228, allocations: 0.7198 MB / 336.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.007497/0.2355, allocations: 3.374 MB / 339.6 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003536/0.239, allocations: 0.9632 MB / 340.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.239, allocations: 0 / 340.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of Templates: time 0.06703/0.3061, allocations: 42.09 MB / 382.6 MB, free: 4.547 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.416270270943642]