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.001717/0.001717, allocations: 71.2 kB / 21.24 MB, free: 0.5391 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.00227/0.00227, allocations: 153.8 kB / 24.49 MB, free: 3.723 MB / 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.417/1.417, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.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.002164/0.002164, allocations: 47.64 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.127, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003741/0.1308, allocations: 2.392 MB / 374 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1333, allocations: 1.185 MB / 375.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1335, allocations: 11.88 kB / 375.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1337, allocations: 67.38 kB / 375.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1338, allocations: 71.31 kB / 375.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.1344, allocations: 243.7 kB / 375.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.1365, allocations: 2.116 MB / 377.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.1373, allocations: 0.542 MB / 378.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.1398, allocations: 2.137 MB / 380.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.1416, allocations: 1.25 MB / 381.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005143/0.1421, allocations: 220 kB / 381.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.1426, allocations: 220 kB / 382 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007985/0.1434, allocations: 0.627 MB / 382.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009968/0.1444, allocations: 0.7152 MB / 383.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.1483, allocations: 4.427 MB / 387.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1484, allocations: 0 / 387.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1484, allocations: 0 / 387.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.283e-05/0.1484, allocations: 0 / 387.8 MB, free: 7.074 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.00388/0.1523, allocations: 2.311 MB / 390.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1523, allocations: 12.92 kB / 390.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.1527, allocations: 179.9 kB / 390.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.1548, allocations: 1.016 MB / 391.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.1549, allocations: 98.91 kB / 391.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.1552, allocations: 128.3 kB / 391.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.1595, allocations: 2.346 MB / 393.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.1595, allocations: 0 / 393.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.1598, allocations: 56 kB / 393.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.1598, allocations: 28 kB / 393.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/0.1637, allocations: 2.038 MB / 396 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008431/0.1722, allocations: 4.231 MB / 400.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.1759, allocations: 1.846 MB / 402.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.1773, allocations: 0.7598 MB / 402.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.1775, allocations: 13.31 kB / 402.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/0.1797, allocations: 1.404 MB / 404.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.296e-06/0.1797, allocations: 4 kB / 404.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005498/0.1852, allocations: 2.79 MB / 407 MB, free: 3.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.1853, allocations: 90.42 kB / 407.1 MB, free: 3.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.1871, allocations: 0.9489 MB / 408.1 MB, free: 2.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002903/0.1874, allocations: 101.7 kB / 408.2 MB, free: 2.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/0.188, allocations: 462.2 kB / 408.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.1885, allocations: 337.6 kB / 408.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/0.1899, allocations: 0.6985 MB / 409.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.1902, allocations: 414.7 kB / 410 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.1922, allocations: 0.9073 MB / 411 MB, free: 15.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.1946, allocations: 1.076 MB / 412 MB, free: 14.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/0.1988, allocations: 1.984 MB / 414 MB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.1988, allocations: 0 / 414 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004976/0.2038, allocations: 2.472 MB / 416.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.2039, allocations: 36.52 kB / 416.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.2039, allocations: 4 kB / 416.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.2039, allocations: 8 kB / 416.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.2045, allocations: 243.6 kB / 416.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/0.2045, allocations: 11.94 kB / 416.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.2052, allocations: 91.7 kB / 416.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.2064, allocations: 1.093 MB / 418 MB, free: 8.449 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.001699/0.2081, allocations: 0.9196 MB / 418.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/0.2086, allocations: 111.3 kB / 419 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.2088, allocations: 126.3 kB / 419.1 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.2089, allocations: 16 kB / 419.1 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.2089, allocations: 0 / 419.1 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.2089, allocations: 7.969 kB / 419.1 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.2113, allocations: 1.364 MB / 420.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.2113, allocations: 0 / 420.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.2118, allocations: 215.7 kB / 420.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.2118, allocations: 8 kB / 420.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/0.2121, allocations: 187.9 kB / 420.9 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.2121, allocations: 8 kB / 420.9 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2121, allocations: 3.984 kB / 420.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/0.2164, allocations: 2.114 MB / 423 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.2179, allocations: 0.6141 MB / 423.6 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004509/0.2183, allocations: 123.9 kB / 423.8 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.2188, allocations: 59.97 kB / 423.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007155/0.2195, allocations: 344.9 kB / 424.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001221/0.2208, allocations: 1.096 MB / 425.3 MB, free: 1.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009255/0.2217, allocations: 0.5927 MB / 425.8 MB, free: 476 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2217, allocations: 0 / 425.8 MB, free: 476 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0015/0.2232, allocations: 383.4 kB / 426.2 MB, free: 92 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006137/0.2238, allocations: 359.9 kB / 426.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.228, allocations: 2.082 MB / 428.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.228, allocations: 4.062 kB / 428.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.2301, allocations: 1.105 MB / 429.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/0.2342, allocations: 1.081 MB / 430.8 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/0.24, allocations: 2.943 MB / 433.8 MB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.2412, allocations: 0.7159 MB / 434.5 MB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007681/0.2489, allocations: 3.37 MB / 437.9 MB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003637/0.2525, allocations: 0.9592 MB / 438.8 MB, free: 3.418 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2525, allocations: 0 / 438.8 MB, free: 3.418 MB / 398.1 MB Notification: Performance of Templates: time 0.2313/0.4838, allocations: 42.27 MB / 481.1 MB, free: 90.51 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/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.56934240902774]