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.001033/0.001033, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001123/0.001123, allocations: 162.8 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9386/0.9386, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..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.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.987e-05, allocations: 3.938 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00254/0.00256, allocations: 2.43 MB / 276.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.004458, allocations: 1.255 MB / 277.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.004566, allocations: 11.88 kB / 277.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.004735, allocations: 71.36 kB / 278 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.004863, allocations: 77.33 kB / 278 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.005307, allocations: 255.6 kB / 278.3 MB, free: 324 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.006786, allocations: 2.14 MB / 280.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.007279, allocations: 0.542 MB / 281 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.008849, allocations: 2.471 MB / 283.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.00966, allocations: 1.169 MB / 284.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.009892, allocations: 220 kB / 284.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.01016, allocations: 216 kB / 285 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.01059, allocations: 0.6502 MB / 285.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.01108, allocations: 0.6042 MB / 286.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.01313, allocations: 3.191 MB / 289.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01313, allocations: 0 / 289.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01313, allocations: 0 / 289.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.01315, allocations: 0 / 289.5 MB, free: 5.074 MB / 266.7 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.002284/0.01543, allocations: 2.485 MB / 292 MB, free: 2.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.01547, allocations: 12.03 kB / 292 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.0159, allocations: 279.9 kB / 292.2 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.01681, allocations: 0.8503 MB / 293.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.01689, allocations: 98.89 kB / 293.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.01711, allocations: 124.4 kB / 293.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.01908, allocations: 1.273 MB / 294.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.0191, allocations: 192 / 294.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.01926, allocations: 60.38 kB / 294.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.01928, allocations: 31.94 kB / 294.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.0203, allocations: 0.7254 MB / 295.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.02395, allocations: 3.404 MB / 298.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.02534, allocations: 0.9936 MB / 299.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.02582, allocations: 357.1 kB / 300.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.02597, allocations: 25.31 kB / 300.2 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.02713, allocations: 0.8982 MB / 301.1 MB, free: 9.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.815e-06/0.02713, allocations: 0 / 301.1 MB, free: 9.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=128): time 0.002219/0.02935, allocations: 1.611 MB / 302.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.0294, allocations: 90.42 kB / 302.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.03009, allocations: 0.9203 MB / 303.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.03026, allocations: 97.66 kB / 303.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.03053, allocations: 0.5125 MB / 304.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.03085, allocations: 369.6 kB / 304.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007789/0.03163, allocations: 0.7977 MB / 305.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.03186, allocations: 0.6366 MB / 306.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.03235, allocations: 341.5 kB / 306.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.03297, allocations: 0.5872 MB / 307 MB, free: 3.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.03414, allocations: 0.9573 MB / 308 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.03415, allocations: 0 / 308 MB, free: 2.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002122/0.03627, allocations: 1.473 MB / 309.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.03631, allocations: 33.7 kB / 309.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.03632, allocations: 4 kB / 309.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.03634, allocations: 8 kB / 309.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.03666, allocations: 239.6 kB / 309.7 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.03667, allocations: 15.94 kB / 309.7 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.03704, allocations: 75.77 kB / 309.8 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007174/0.03776, allocations: 1.093 MB / 310.9 MB, free: 15.15 MB / 298.7 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.0005647/0.03832, allocations: 453 kB / 311.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.03863, allocations: 159.3 kB / 311.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.03875, allocations: 118.3 kB / 311.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.03875, allocations: 12 kB / 311.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.03876, allocations: 8 kB / 311.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.03877, allocations: 11.91 kB / 311.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.03984, allocations: 0.9856 MB / 312.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.03985, allocations: 0 / 312.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.04011, allocations: 219.6 kB / 312.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.04011, allocations: 7.938 kB / 312.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.04028, allocations: 183.9 kB / 313 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.04029, allocations: 4 kB / 313 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.04029, allocations: 3.984 kB / 313 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.04198, allocations: 1.407 MB / 314.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/0.04255, allocations: 0.5126 MB / 315 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.04281, allocations: 119.9 kB / 315.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.04308, allocations: 51.98 kB / 315.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005975/0.04368, allocations: 277 kB / 315.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006377/0.04431, allocations: 1.089 MB / 316.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.04457, allocations: 418.8 kB / 316.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04457, allocations: 0 / 316.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007073/0.04527, allocations: 383.4 kB / 317.3 MB, free: 8.684 MB / 298.7 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.0003476/0.04562, allocations: 371.6 kB / 317.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.04696, allocations: 1.173 MB / 318.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.04696, allocations: 0 / 318.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.04772, allocations: 0.7292 MB / 319.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.04976, allocations: 1.259 MB / 320.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.05239, allocations: 2.248 MB / 323 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.05255, allocations: 254.4 kB / 323.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.004001/0.05655, allocations: 2.875 MB / 326.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/0.05916, allocations: 1.367 MB / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.05916, allocations: 4 kB / 327.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of Templates: time 0.1471/0.2063, allocations: 44.5 MB / 372 MB, free: 79.75 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5424757059663534]