Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3077, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004143/0.3118, allocations: 2.619 MB / 423.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3148, allocations: 1.259 MB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3149, allocations: 7.938 kB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.3152, allocations: 71.3 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.3153, allocations: 67.33 kB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.316, allocations: 243.6 kB / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.318, allocations: 2.057 MB / 427.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.3188, allocations: 0.5142 MB / 427.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.3215, allocations: 2.121 MB / 429.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.323, allocations: 1.113 MB / 430.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005227/0.3235, allocations: 220 kB / 431.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.3239, allocations: 216 kB / 431.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008233/0.3248, allocations: 0.6308 MB / 432 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.3259, allocations: 0.8902 MB / 432.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.3302, allocations: 4.414 MB / 437.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3302, allocations: 0 / 437.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3302, allocations: 3.984 kB / 437.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.413e-05/0.3303, allocations: 4 kB / 437.3 MB, free: 14.62 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.006055/0.3363, allocations: 2.339 MB / 439.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3364, allocations: 8.031 kB / 439.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005431/0.3369, allocations: 183.8 kB / 439.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.339, allocations: 1.066 MB / 440.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.3391, allocations: 98.89 kB / 441 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.3394, allocations: 124.4 kB / 441.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/0.3442, allocations: 2.289 MB / 443.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.3443, allocations: 0 / 443.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.3445, allocations: 48 kB / 443.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.3446, allocations: 32 kB / 443.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004345/0.3489, allocations: 1.985 MB / 445.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009333/0.3582, allocations: 4.819 MB / 450.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.3621, allocations: 1.8 MB / 452.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.3635, allocations: 0.7229 MB / 452.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.3638, allocations: 13.31 kB / 452.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002691/0.3665, allocations: 1.352 MB / 454.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 6.192e-06/0.3665, allocations: 0 / 454.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005966/0.3724, allocations: 2.67 MB / 456.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3725, allocations: 94.42 kB / 456.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.3749, allocations: 0.949 MB / 457.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003584/0.3752, allocations: 97.66 kB / 458 MB, free: 9.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/0.3759, allocations: 470.2 kB / 458.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/0.3766, allocations: 333.6 kB / 458.8 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/0.3783, allocations: 0.6634 MB / 459.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003197/0.3787, allocations: 410.7 kB / 459.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.3807, allocations: 0.8627 MB / 460.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.3828, allocations: 1.035 MB / 461.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.3866, allocations: 1.958 MB / 463.7 MB, free: 3.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3866, allocations: 0 / 463.7 MB, free: 3.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004891/0.3915, allocations: 2.405 MB / 466.1 MB, free: 1.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.3916, allocations: 44.66 kB / 466.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3916, allocations: 4 kB / 466.1 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/0.3916, allocations: 12 kB / 466.1 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.3922, allocations: 227.6 kB / 466.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.3923, allocations: 11.94 kB / 466.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/0.3931, allocations: 87.64 kB / 466.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/0.3943, allocations: 1.085 MB / 467.5 MB, free: 15.96 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.001724/0.396, allocations: 0.9041 MB / 468.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.3965, allocations: 107.3 kB / 468.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.3969, allocations: 130.3 kB / 468.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.3969, allocations: 12 kB / 468.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.3969, allocations: 0 / 468.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.3969, allocations: 11.91 kB / 468.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.4001, allocations: 1.759 MB / 470.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.4002, allocations: 0 / 470.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.4008, allocations: 211.7 kB / 470.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/0.4008, allocations: 7.938 kB / 470.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004195/0.4012, allocations: 175.9 kB / 470.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/0.4012, allocations: 4 kB / 470.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4012, allocations: 3.938 kB / 470.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.406, allocations: 2.038 MB / 472.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.4074, allocations: 0.6524 MB / 473.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005701/0.408, allocations: 115.9 kB / 473.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.4086, allocations: 51.97 kB / 473.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008157/0.4094, allocations: 333 kB / 474 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001346/0.4108, allocations: 1.089 MB / 475.1 MB, free: 8.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.4118, allocations: 0.5888 MB / 475.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4118, allocations: 4 kB / 475.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001756/0.4136, allocations: 383.4 kB / 476.1 MB, free: 7.273 MB / 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.0006836/0.4143, allocations: 359.7 kB / 476.4 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004283/0.4185, allocations: 1.99 MB / 478.4 MB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4185, allocations: 0 / 478.4 MB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.4207, allocations: 1.057 MB / 479.5 MB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/0.4252, allocations: 1.068 MB / 480.6 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.4314, allocations: 2.903 MB / 483.5 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.4331, allocations: 1.324 MB / 484.8 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.008994/0.4421, allocations: 3.367 MB / 488.1 MB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004299/0.4464, allocations: 0.9347 MB / 489.1 MB, free: 10.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.914e-06/0.4464, allocations: 4 kB / 489.1 MB, free: 10.25 MB / 398.1 MB Notification: Performance of Templates: time 0.06632/0.5127, allocations: 40.83 MB / 0.5175 GB, free: 0.6328 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.461823534220457]