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.001659/0.001659, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002339/0.002339, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.789 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+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 0.001647/0.001647, allocations: 51.94 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.29, allocations: 53.36 MB / 431.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.0039/0.2939, allocations: 2.395 MB / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.297, allocations: 1.228 MB / 435.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.2972, allocations: 7.938 kB / 435.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.2975, allocations: 63.38 kB / 435.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.2976, allocations: 79.25 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.2984, allocations: 243.7 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.3006, allocations: 2.1 MB / 437.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008028/0.3014, allocations: 0.4991 MB / 438.2 MB, free: 240 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.3042, allocations: 2.14 MB / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.3061, allocations: 1.113 MB / 441.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.3066, allocations: 216 kB / 441.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.3071, allocations: 220 kB / 441.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008497/0.3079, allocations: 0.6308 MB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.3091, allocations: 0.7191 MB / 443.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.3134, allocations: 4.426 MB / 447.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3134, allocations: 0 / 447.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3134, allocations: 0 / 447.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.778e-05/0.3135, allocations: 0 / 447.6 MB, free: 6.754 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.004497/0.318, allocations: 2.279 MB / 449.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.318, allocations: 8.031 kB / 449.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.3185, allocations: 175.9 kB / 450.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.3209, allocations: 1.016 MB / 451.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3211, allocations: 98.91 kB / 451.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.3215, allocations: 120.4 kB / 451.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/0.3261, allocations: 2.315 MB / 453.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.3261, allocations: 4 kB / 453.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.3264, allocations: 48 kB / 453.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.3264, allocations: 32 kB / 453.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004311/0.3307, allocations: 2.014 MB / 455.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.3412, allocations: 4.18 MB / 459.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.3454, allocations: 1.815 MB / 461.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.3471, allocations: 0.7559 MB / 462.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.3473, allocations: 13.31 kB / 462.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002414/0.3497, allocations: 1.381 MB / 463.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.699e-06/0.3497, allocations: 0 / 463.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.00569/0.3554, allocations: 2.728 MB / 466.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3555, allocations: 90.42 kB / 466.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.3572, allocations: 0.9451 MB / 467.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004136/0.3577, allocations: 97.66 kB / 467.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/0.3582, allocations: 482.1 kB / 468.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005753/0.3588, allocations: 325.7 kB / 468.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.36, allocations: 0.6673 MB / 469.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.3603, allocations: 406.7 kB / 469.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.3622, allocations: 0.8956 MB / 470.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.3641, allocations: 1.068 MB / 471.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.3679, allocations: 1.949 MB / 473.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.3679, allocations: 3.938 kB / 473.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005374/0.3732, allocations: 2.429 MB / 475.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.3733, allocations: 33.7 kB / 476 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.3733, allocations: 4 kB / 476 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.3734, allocations: 8 kB / 476 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.374, allocations: 227.5 kB / 476.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.3741, allocations: 19.94 kB / 476.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.375, allocations: 87.73 kB / 476.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001411/0.3764, allocations: 1.093 MB / 477.4 MB, free: 8.551 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.002091/0.3785, allocations: 0.9039 MB / 478.3 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/0.379, allocations: 111.3 kB / 478.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3793, allocations: 130.3 kB / 478.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.3793, allocations: 12 kB / 478.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.3793, allocations: 0 / 478.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.3793, allocations: 7.969 kB / 478.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.3821, allocations: 1.345 MB / 479.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3821, allocations: 0 / 479.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.3826, allocations: 207.7 kB / 480.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.3827, allocations: 4 kB / 480.1 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003406/0.383, allocations: 179.9 kB / 480.3 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.383, allocations: 4 kB / 480.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.383, allocations: 4 kB / 480.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.3875, allocations: 2.063 MB / 482.4 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/0.3896, allocations: 0.5946 MB / 483 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005521/0.3901, allocations: 119.9 kB / 483.1 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.3906, allocations: 51.91 kB / 483.1 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007383/0.3914, allocations: 336.9 kB / 483.5 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001262/0.3926, allocations: 1.085 MB / 484.5 MB, free: 1.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009394/0.3936, allocations: 0.5927 MB / 485.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3936, allocations: 0 / 485.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001786/0.3954, allocations: 383.4 kB / 485.5 MB, free: 360 kB / 382.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.0006101/0.396, allocations: 363.7 kB / 485.9 MB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004222/0.4002, allocations: 2.053 MB / 487.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4002, allocations: 0 / 487.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.4023, allocations: 1.086 MB / 489 MB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/0.4064, allocations: 1.064 MB / 490.1 MB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.4121, allocations: 2.916 MB / 493 MB, free: 8.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.4132, allocations: 0.7198 MB / 493.7 MB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.008441/0.4216, allocations: 3.37 MB / 497.1 MB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003634/0.4252, allocations: 0.9347 MB / 498 MB, free: 3.805 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4252, allocations: 0 / 498 MB, free: 3.805 MB / 398.1 MB Notification: Performance of Templates: time 0.06772/0.493, allocations: 42.94 MB / 0.5283 GB, free: 8.285 MB / 446.1 MB " [Timeout remaining time 659] 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.88301782310009]