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.00148/0.00148, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001503/0.001503, allocations: 149.1 kB / 24.25 MB, free: 164 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.488/1.488, allocations: 173.4 MB / 200.8 MB, free: 9.297 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.044e-06/2.044e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.571e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00408/0.004116, allocations: 2.382 MB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.006793, allocations: 1.212 MB / 270.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.006909, allocations: 7.938 kB / 270.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.007123, allocations: 75.3 kB / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.007296, allocations: 75.25 kB / 271.1 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.007939, allocations: 255.6 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.01025, allocations: 2.135 MB / 273.5 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.01134, allocations: 0.5382 MB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.01429, allocations: 2.473 MB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.0159, allocations: 1.169 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.01635, allocations: 216 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.01677, allocations: 220 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008299/0.0176, allocations: 0.6463 MB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008874/0.01849, allocations: 0.6037 MB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005092/0.02358, allocations: 4.584 MB / 283.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.02359, allocations: 0 / 283.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.02359, allocations: 7.938 kB / 283.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.952e-05/0.02366, allocations: 0 / 283.9 MB, free: 6.059 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.004922/0.02858, allocations: 2.295 MB / 286.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.02863, allocations: 12.92 kB / 286.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.02944, allocations: 279.9 kB / 286.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.0315, allocations: 1.035 MB / 287.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.03163, allocations: 98.91 kB / 287.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.03201, allocations: 124.4 kB / 287.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1244/0.1564, allocations: 2.342 MB / 290.1 MB, free: 30.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.1564, allocations: 3.141 kB / 290.1 MB, free: 30.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.1567, allocations: 57.38 kB / 290.1 MB, free: 30.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.1567, allocations: 32.22 kB / 290.2 MB, free: 30.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/0.1606, allocations: 2.035 MB / 292.2 MB, free: 29.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007518/0.1681, allocations: 4.269 MB / 296.5 MB, free: 28.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/0.1717, allocations: 1.844 MB / 298.3 MB, free: 27.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.173, allocations: 0.7625 MB / 299.1 MB, free: 27.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.1732, allocations: 21.94 kB / 299.1 MB, free: 27.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.1751, allocations: 1.409 MB / 300.5 MB, free: 26.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.1751, allocations: 0 / 300.5 MB, free: 26.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.004858/0.18, allocations: 2.83 MB / 303.3 MB, free: 25.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.18, allocations: 94.42 kB / 303.4 MB, free: 24.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1811, allocations: 0.9489 MB / 304.4 MB, free: 23.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.1813, allocations: 105.7 kB / 304.5 MB, free: 23.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.1816, allocations: 478 kB / 305 MB, free: 23.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.1819, allocations: 327.9 kB / 305.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008922/0.1828, allocations: 0.6903 MB / 306 MB, free: 22.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.183, allocations: 402.7 kB / 306.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.1843, allocations: 0.9073 MB / 307.3 MB, free: 21.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.1858, allocations: 1.074 MB / 308.3 MB, free: 19.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.1886, allocations: 1.984 MB / 310.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.1886, allocations: 3.5 kB / 310.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003862/0.1925, allocations: 2.536 MB / 312.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.1925, allocations: 31.2 kB / 312.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1925, allocations: 4 kB / 312.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.1926, allocations: 8 kB / 312.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.193, allocations: 243.5 kB / 313.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.193, allocations: 12.69 kB / 313.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.1937, allocations: 87.14 kB / 313.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007082/0.1944, allocations: 1.1 MB / 314.3 MB, free: 13.95 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.001298/0.1957, allocations: 0.9043 MB / 315.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/0.1962, allocations: 155.3 kB / 315.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.1964, allocations: 139.2 kB / 315.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.1964, allocations: 12 kB / 315.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1964, allocations: 0 / 315.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.1964, allocations: 11.91 kB / 315.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.1981, allocations: 1.355 MB / 316.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1981, allocations: 0 / 316.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.1985, allocations: 220.7 kB / 317.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1985, allocations: 8 kB / 317.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.1987, allocations: 183.9 kB / 317.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1987, allocations: 4 kB / 317.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1987, allocations: 0 / 317.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.2021, allocations: 2.161 MB / 319.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009528/0.203, allocations: 0.6021 MB / 320.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/0.2034, allocations: 123.9 kB / 320.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.2039, allocations: 55.36 kB / 320.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006124/0.2045, allocations: 344.9 kB / 320.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000684/0.2052, allocations: 1.096 MB / 321.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005613/0.2057, allocations: 0.6043 MB / 322.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2057, allocations: 0 / 322.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001131/0.2069, allocations: 387.4 kB / 322.7 MB, free: 5.574 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.0004573/0.2073, allocations: 359.8 kB / 323 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.2104, allocations: 2.085 MB / 325.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2104, allocations: 0 / 325.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.212, allocations: 1.102 MB / 326.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.2155, allocations: 1.266 MB / 327.5 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/0.2207, allocations: 2.972 MB / 330.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.2218, allocations: 0.7276 MB / 331.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.007995/0.2298, allocations: 3.37 MB / 334.5 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003255/0.2331, allocations: 0.9631 MB / 335.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2331, allocations: 4 kB / 335.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of Templates: time 0.06675/0.2998, allocations: 42.1 MB / 377.6 MB, free: 14 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] 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.4179934109561145]