Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 116.1 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 209.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.14 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.317, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004169/0.3212, allocations: 2.636 MB / 434.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.324, allocations: 1.286 MB / 436 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3242, allocations: 7.938 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3244, allocations: 67.38 kB / 436 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.3246, allocations: 71.31 kB / 436.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.3252, allocations: 235.6 kB / 436.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.3273, allocations: 2.065 MB / 438.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000786/0.328, allocations: 0.5093 MB / 438.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.3306, allocations: 2.117 MB / 441 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.3323, allocations: 1.113 MB / 442.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004342/0.3328, allocations: 216 kB / 442.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.3332, allocations: 220 kB / 442.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.3339, allocations: 0.6385 MB / 443.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.3352, allocations: 0.8941 MB / 444.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004337/0.3395, allocations: 4.408 MB / 448.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3395, allocations: 0 / 448.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3395, allocations: 0 / 448.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.493e-05/0.3396, allocations: 4 kB / 448.5 MB, free: 6.828 MB / 350.1 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.004397/0.344, allocations: 2.351 MB / 450.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.344, allocations: 12.03 kB / 450.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/0.3444, allocations: 171.9 kB / 451 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.3468, allocations: 1.062 MB / 452.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.3469, allocations: 102.9 kB / 452.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.3472, allocations: 128.3 kB / 452.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/0.3514, allocations: 2.286 MB / 454.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.3514, allocations: 0 / 454.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.3517, allocations: 52 kB / 454.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.3517, allocations: 32 kB / 454.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/0.3555, allocations: 1.981 MB / 456.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009066/0.3646, allocations: 4.811 MB / 461.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/0.3684, allocations: 1.797 MB / 463.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.3698, allocations: 0.7229 MB / 464 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.37, allocations: 13.31 kB / 464 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/0.3722, allocations: 1.359 MB / 465.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.146e-06/0.3722, allocations: 0 / 465.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005407/0.3776, allocations: 2.67 MB / 468.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.3777, allocations: 90.42 kB / 468.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.3792, allocations: 0.9529 MB / 469.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/0.3795, allocations: 97.64 kB / 469.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/0.3799, allocations: 470.2 kB / 469.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.3804, allocations: 325.7 kB / 470 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.3815, allocations: 0.6712 MB / 470.6 MB, free: 412 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002798/0.3817, allocations: 406.9 kB / 471 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.3834, allocations: 0.8665 MB / 471.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.3852, allocations: 1.043 MB / 472.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003482/0.3887, allocations: 1.954 MB / 474.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3887, allocations: 0 / 474.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00452/0.3932, allocations: 2.401 MB / 477.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.3933, allocations: 33.7 kB / 477.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3933, allocations: 0 / 477.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.3933, allocations: 15.98 kB / 477.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.3939, allocations: 227.7 kB / 477.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/0.3939, allocations: 19.86 kB / 477.6 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.3947, allocations: 75.7 kB / 477.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/0.3958, allocations: 1.104 MB / 478.8 MB, free: 8.145 MB / 382.1 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.001816/0.3977, allocations: 0.8963 MB / 479.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.398, allocations: 107.3 kB / 479.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3983, allocations: 134.3 kB / 479.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3983, allocations: 12 kB / 479.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3983, allocations: 0 / 479.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.3984, allocations: 7.969 kB / 479.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.4011, allocations: 1.755 MB / 481.7 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4011, allocations: 0 / 481.7 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.4016, allocations: 207.7 kB / 481.9 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.4016, allocations: 8 kB / 481.9 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/0.4019, allocations: 175.9 kB / 482.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.4019, allocations: 4 kB / 482.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4019, allocations: 0 / 482.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.4059, allocations: 2.046 MB / 484.1 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.4075, allocations: 0.6524 MB / 484.8 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/0.408, allocations: 115.9 kB / 484.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.4085, allocations: 47.97 kB / 484.9 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006212/0.4091, allocations: 317 kB / 485.2 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001175/0.4103, allocations: 1.081 MB / 486.3 MB, free: 484 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009043/0.4112, allocations: 0.5965 MB / 486.9 MB, free: 15.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4112, allocations: 0 / 486.9 MB, free: 15.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001526/0.4127, allocations: 383.3 kB / 487.3 MB, free: 15.5 MB / 398.1 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.0006322/0.4133, allocations: 371.7 kB / 487.6 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00401/0.4173, allocations: 1.999 MB / 489.6 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4173, allocations: 0 / 489.6 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.4192, allocations: 1.022 MB / 490.7 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/0.4232, allocations: 1.077 MB / 491.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.4289, allocations: 3.017 MB / 494.8 MB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.4302, allocations: 1.324 MB / 496.1 MB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004819/0.435, allocations: 1.32 MB / 497.4 MB, free: 5.363 MB / 398.1 MB Notification: Performance of SimCode: time 1.573e-06/0.435, allocations: 0 / 497.4 MB, free: 5.363 MB / 398.1 MB Notification: Performance of Templates: time 0.04904/0.484, allocations: 33.17 MB / 0.5181 GB, free: 2.633 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 9.480079169850796]