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.001859/0.001859, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001998/0.001998, allocations: 169.3 kB / 24.28 MB, free: 148 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.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.613 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 1.934e-06/1.934e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.785e-05/3.978e-05, allocations: 6.25 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.007365/0.007405, allocations: 2.448 MB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.01302, allocations: 1.247 MB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.01338, allocations: 7.938 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.0138, allocations: 79.3 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.01424, allocations: 71.25 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.01571, allocations: 251.6 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004638/0.02034, allocations: 2.135 MB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.0222, allocations: 0.5381 MB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005784/0.02798, allocations: 2.473 MB / 281.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.03139, allocations: 1.173 MB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.03254, allocations: 216 kB / 282.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.03359, allocations: 216 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001999/0.03559, allocations: 0.6502 MB / 283.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.03782, allocations: 0.6075 MB / 284.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009272/0.04709, allocations: 4.6 MB / 289 MB, free: 1.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.0471, allocations: 0 / 289 MB, free: 1.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.04711, allocations: 0 / 289 MB, free: 1.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.42e-05/0.04719, allocations: 0 / 289 MB, free: 1.082 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.1261/0.1733, allocations: 2.611 MB / 291.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1734, allocations: 8.781 kB / 291.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.1742, allocations: 286.2 kB / 291.9 MB, free: 25.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.1764, allocations: 0.9475 MB / 292.8 MB, free: 25.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.412e-05/0.1765, allocations: 105.1 kB / 293 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/0.1769, allocations: 126.5 kB / 293.1 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004016/0.1809, allocations: 1.769 MB / 294.8 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.1809, allocations: 192 / 294.8 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.1812, allocations: 56.06 kB / 294.9 MB, free: 24.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.1812, allocations: 30.28 kB / 294.9 MB, free: 24.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003394/0.1846, allocations: 1.302 MB / 296.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.1959, allocations: 7.332 MB / 303.6 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.1989, allocations: 1.683 MB / 305.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.2001, allocations: 0.6606 MB / 305.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.2004, allocations: 21.31 kB / 305.9 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/0.2022, allocations: 1.344 MB / 307.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.669e-06/0.2022, allocations: 7.75 kB / 307.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.004665/0.2068, allocations: 2.458 MB / 309.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.2069, allocations: 90.42 kB / 309.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.2086, allocations: 1.315 MB / 311.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.2088, allocations: 105.2 kB / 311.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.2091, allocations: 0.54 MB / 311.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/0.2096, allocations: 417 kB / 312.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.2108, allocations: 0.9893 MB / 313.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000272/0.2111, allocations: 0.7188 MB / 313.9 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.2123, allocations: 0.7668 MB / 314.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.2138, allocations: 1.072 MB / 315.7 MB, free: 7.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.2165, allocations: 1.816 MB / 317.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.2165, allocations: 3.656 kB / 317.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003749/0.2202, allocations: 2.277 MB / 319.8 MB, free: 3.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.2202, allocations: 33.7 kB / 319.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2203, allocations: 4 kB / 319.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.2203, allocations: 8 kB / 319.9 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.2207, allocations: 244 kB / 320.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.2208, allocations: 12 kB / 320.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.2215, allocations: 92.67 kB / 320.2 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007052/0.2222, allocations: 1.101 MB / 321.3 MB, free: 2.086 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.001201/0.2234, allocations: 0.6404 MB / 322 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005737/0.224, allocations: 163.3 kB / 322.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.2242, allocations: 118.4 kB / 322.2 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.2242, allocations: 12 kB / 322.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.2243, allocations: 0 / 322.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.2243, allocations: 7.969 kB / 322.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.2268, allocations: 1.706 MB / 324 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.2268, allocations: 0 / 324 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.2273, allocations: 222.6 kB / 324.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.2273, allocations: 4 kB / 324.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003172/0.2276, allocations: 187.9 kB / 324.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.2276, allocations: 4 kB / 324.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2276, allocations: 4 kB / 324.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.2321, allocations: 1.996 MB / 326.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/0.2339, allocations: 0.5516 MB / 326.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/0.2344, allocations: 115.9 kB / 327 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.2349, allocations: 55.97 kB / 327.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008463/0.2358, allocations: 356.9 kB / 327.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001306/0.2371, allocations: 1.097 MB / 328.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.2381, allocations: 0.5966 MB / 329.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2381, allocations: 0 / 329.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001642/0.2397, allocations: 386.9 kB / 329.5 MB, free: 9.887 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.0006483/0.2404, allocations: 369.6 kB / 329.9 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00438/0.2448, allocations: 1.991 MB / 331.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2448, allocations: 0 / 331.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.247, allocations: 1.112 MB / 333 MB, free: 6.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/0.2515, allocations: 1.25 MB / 334.2 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.2569, allocations: 2.677 MB / 336.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/0.2579, allocations: 0.6338 MB / 337.5 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.007377/0.2653, allocations: 3.265 MB / 340.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003081/0.2684, allocations: 0.9708 MB / 341.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 2.184e-06/0.2684, allocations: 0 / 341.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.06572/0.3341, allocations: 41.96 MB / 383.7 MB, free: 3.023 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] 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.580162213998847]