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.001738/0.001738, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00199/0.00199, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.001611/0.001611, allocations: 55.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3198, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004068/0.3239, allocations: 2.625 MB / 434.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.3268, allocations: 1.294 MB / 435.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.327, allocations: 7.938 kB / 435.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.3272, allocations: 67.38 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.3274, allocations: 71.31 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.328, allocations: 247.6 kB / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.3301, allocations: 2.1 MB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007613/0.3309, allocations: 0.4991 MB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.3334, allocations: 2.137 MB / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.3348, allocations: 1.113 MB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.3353, allocations: 220 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.3357, allocations: 216 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000777/0.3364, allocations: 0.6425 MB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.3377, allocations: 0.8941 MB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.3419, allocations: 4.418 MB / 448.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3419, allocations: 0 / 448.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3419, allocations: 0 / 448.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-05/0.3419, allocations: 0 / 448.2 MB, free: 6.32 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.003973/0.3459, allocations: 2.272 MB / 450.4 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3459, allocations: 8.031 kB / 450.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.3463, allocations: 171.9 kB / 450.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.3484, allocations: 1.024 MB / 451.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.3485, allocations: 98.84 kB / 451.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.3488, allocations: 120.4 kB / 451.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/0.3527, allocations: 2.289 MB / 454.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.3528, allocations: 0 / 454.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.353, allocations: 52 kB / 454.2 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.353, allocations: 32 kB / 454.2 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.3568, allocations: 1.977 MB / 456.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008893/0.3657, allocations: 4.773 MB / 461 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.3692, allocations: 1.793 MB / 462.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.3706, allocations: 0.7269 MB / 463.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.3709, allocations: 21.31 kB / 463.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/0.373, allocations: 1.352 MB / 464.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.336e-06/0.373, allocations: 0 / 464.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.0053/0.3783, allocations: 2.67 MB / 467.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.3784, allocations: 90.42 kB / 467.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.3799, allocations: 0.9529 MB / 468.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.3802, allocations: 97.59 kB / 468.7 MB, free: 1.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/0.3807, allocations: 478.1 kB / 469.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.3811, allocations: 325.7 kB / 469.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.3822, allocations: 0.6673 MB / 470.1 MB, free: 96 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002693/0.3825, allocations: 406.7 kB / 470.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.3841, allocations: 0.8705 MB / 471.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.386, allocations: 1.039 MB / 472.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.3893, allocations: 1.949 MB / 474.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.3893, allocations: 4 kB / 474.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00439/0.3937, allocations: 2.407 MB / 476.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.3938, allocations: 33.69 kB / 476.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3938, allocations: 4 kB / 476.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.081e-05/0.3938, allocations: 8 kB / 476.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.3943, allocations: 235.5 kB / 477.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.3944, allocations: 8.625 kB / 477.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.395, allocations: 83.69 kB / 477.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/0.3961, allocations: 1.085 MB / 478.2 MB, free: 7.855 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.001495/0.3976, allocations: 0.9079 MB / 479.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.3979, allocations: 111.3 kB / 479.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.3981, allocations: 126.3 kB / 479.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.3982, allocations: 15.94 kB / 479.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3982, allocations: 8 kB / 479.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.3982, allocations: 11.91 kB / 479.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.4005, allocations: 1.73 MB / 481.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4005, allocations: 0 / 481.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.4009, allocations: 203.7 kB / 481.3 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.4009, allocations: 4 kB / 481.3 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/0.4012, allocations: 175.9 kB / 481.5 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4012, allocations: 4 kB / 481.5 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4012, allocations: 0 / 481.5 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.4048, allocations: 2.042 MB / 483.6 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.4062, allocations: 0.6063 MB / 484.2 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/0.4066, allocations: 119.9 kB / 484.3 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.407, allocations: 43.98 kB / 484.3 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/0.4077, allocations: 336.9 kB / 484.7 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001012/0.4087, allocations: 1.092 MB / 485.7 MB, free: 244 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007686/0.4094, allocations: 0.5965 MB / 486.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4094, allocations: 0 / 486.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001158/0.4106, allocations: 379.4 kB / 486.7 MB, free: 15.27 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.0005374/0.4111, allocations: 367.7 kB / 487.1 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.4147, allocations: 1.997 MB / 489.1 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4147, allocations: 0 / 489.1 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.4164, allocations: 1.061 MB / 490.1 MB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.4198, allocations: 1.063 MB / 491.2 MB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.4245, allocations: 2.899 MB / 494.1 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.4256, allocations: 1.312 MB / 495.4 MB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00599/0.4316, allocations: 3.374 MB / 498.8 MB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/0.4343, allocations: 0.9347 MB / 499.7 MB, free: 2.258 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4343, allocations: 0 / 499.7 MB, free: 2.258 MB / 398.1 MB Notification: Performance of Templates: time 0.06154/0.4958, allocations: 41.25 MB / 0.5283 GB, free: 8.215 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.900081421947107]