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.001277/0.001277, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001408/0.001408, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.00149/0.00149, allocations: 51.92 kB / 379 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2377, allocations: 53.36 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003773/0.2414, allocations: 2.628 MB / 435 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.2442, allocations: 1.29 MB / 436.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2444, allocations: 7.938 kB / 436.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.2446, allocations: 71.36 kB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2449, allocations: 71.31 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.2455, allocations: 243.6 kB / 436.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00209/0.2476, allocations: 2.1 MB / 438.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.2483, allocations: 0.4991 MB / 439.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.2508, allocations: 2.14 MB / 441.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.2524, allocations: 1.113 MB / 442.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.2528, allocations: 220 kB / 442.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.2532, allocations: 216 kB / 443 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000702/0.2539, allocations: 0.6347 MB / 443.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.2551, allocations: 0.9018 MB / 444.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.2591, allocations: 4.413 MB / 448.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2591, allocations: 4 kB / 448.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2591, allocations: 0 / 448.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.736e-05/0.2591, allocations: 0 / 448.9 MB, free: 6.375 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.004007/0.2631, allocations: 2.272 MB / 451.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2632, allocations: 12.03 kB / 451.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.2636, allocations: 171.9 kB / 451.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.2657, allocations: 1.016 MB / 452.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.2658, allocations: 94.91 kB / 452.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.2661, allocations: 124.4 kB / 452.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.2701, allocations: 2.293 MB / 454.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.2701, allocations: 3.938 kB / 454.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.2703, allocations: 48 kB / 454.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.2703, allocations: 32 kB / 455 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.2741, allocations: 1.981 MB / 457 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/0.2831, allocations: 4.776 MB / 461.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.2868, allocations: 1.789 MB / 463.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.2881, allocations: 0.7229 MB / 464.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.2884, allocations: 17.3 kB / 464.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/0.2905, allocations: 1.352 MB / 465.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.627e-06/0.2905, allocations: 4 kB / 465.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005195/0.2957, allocations: 2.666 MB / 468.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.2958, allocations: 98.42 kB / 468.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.2973, allocations: 0.945 MB / 469.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.2976, allocations: 105.7 kB / 469.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.298, allocations: 466.2 kB / 469.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.2985, allocations: 333.6 kB / 470.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.2995, allocations: 0.6634 MB / 470.9 MB, free: 156 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.2998, allocations: 410.7 kB / 471.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.3014, allocations: 0.8627 MB / 472.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.3032, allocations: 1.039 MB / 473.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.3064, allocations: 1.949 MB / 475.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3065, allocations: 8 kB / 475.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004336/0.3108, allocations: 2.399 MB / 477.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/0.3108, allocations: 41.69 kB / 477.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.3109, allocations: 4 kB / 477.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.3109, allocations: 8 kB / 477.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.3114, allocations: 227.5 kB / 477.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.3114, allocations: 12.03 kB / 477.8 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.312, allocations: 87.69 kB / 477.9 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.3131, allocations: 1.085 MB / 479 MB, free: 7.914 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.001541/0.3147, allocations: 0.9079 MB / 479.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.315, allocations: 111.3 kB / 480 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.3152, allocations: 134.3 kB / 480.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.3153, allocations: 12 kB / 480.2 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3153, allocations: 0 / 480.2 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.3153, allocations: 11.91 kB / 480.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.3177, allocations: 1.738 MB / 481.9 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3178, allocations: 0 / 481.9 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.3182, allocations: 203.7 kB / 482.1 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.3183, allocations: 4 kB / 482.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/0.3185, allocations: 179.9 kB / 482.3 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.3185, allocations: 4 kB / 482.3 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3185, allocations: 4 kB / 482.3 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.3223, allocations: 2.038 MB / 484.3 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.3238, allocations: 0.6024 MB / 484.9 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/0.3243, allocations: 119.9 kB / 485 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.3247, allocations: 43.98 kB / 485.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00062/0.3253, allocations: 324.9 kB / 485.4 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001094/0.3264, allocations: 1.089 MB / 486.5 MB, free: 316 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008194/0.3272, allocations: 0.5888 MB / 487.1 MB, free: 15.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3272, allocations: 4 kB / 487.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001349/0.3286, allocations: 383.3 kB / 487.5 MB, free: 15.34 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.0005353/0.3291, allocations: 371.7 kB / 487.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.3329, allocations: 1.987 MB / 489.8 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3329, allocations: 0 / 489.8 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.3348, allocations: 1.022 MB / 490.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/0.3387, allocations: 1.073 MB / 491.9 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.344, allocations: 3.014 MB / 494.9 MB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.3452, allocations: 1.324 MB / 496.2 MB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00498/0.3502, allocations: 1.316 MB / 497.6 MB, free: 5.23 MB / 398.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3502, allocations: 0 / 497.6 MB, free: 5.23 MB / 398.1 MB Notification: Performance of Templates: time 0.04623/0.3964, allocations: 33.16 MB / 0.5183 GB, free: 2.52 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/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: 9.286537487059832]