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.0007727/0.0007727, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001901, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001142/0.001142, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002645, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09046/1.112, allocations: 53.65 MB / 243.4 MB, free: 15.53 MB / 250.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 2.124e-06/2.124e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.677e-05, allocations: 9.828 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003249/0.003276, allocations: 2.51 MB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.008769, allocations: 1.329 MB / 248.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.008918, allocations: 11.88 kB / 248.6 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.009076, allocations: 67.38 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.009237, allocations: 71.25 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.01278, allocations: 255.6 kB / 248.9 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.01449, allocations: 2.124 MB / 251.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.01516, allocations: 0.5537 MB / 251.6 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005737/0.0209, allocations: 2.6 MB / 254.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/0.02533, allocations: 1.173 MB / 255.4 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005104/0.02584, allocations: 220 kB / 255.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.02624, allocations: 219.9 kB / 255.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.02671, allocations: 478.9 kB / 256.3 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003651/0.03037, allocations: 443.1 kB / 256.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.03251, allocations: 2.929 MB / 259.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.03252, allocations: 3.984 kB / 259.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.03252, allocations: 7.938 kB / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-05/0.03255, allocations: 4 kB / 259.7 MB, free: 15.21 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.006128/0.03868, allocations: 2.254 MB / 261.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.03871, allocations: 8.031 kB / 261.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.0422, allocations: 220.8 kB / 262.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.04316, allocations: 0.7396 MB / 262.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.04324, allocations: 98.91 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.04352, allocations: 124.3 kB / 263.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.04682, allocations: 1.05 MB / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.04684, allocations: 192 / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.04705, allocations: 52.38 kB / 264.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.04707, allocations: 31.94 kB / 264.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.04811, allocations: 415 kB / 264.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.05234, allocations: 2.575 MB / 267.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.05395, allocations: 0.6409 MB / 267.9 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.05442, allocations: 230.3 kB / 268.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.0546, allocations: 25.25 kB / 268.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009355/0.05553, allocations: 0.6269 MB / 268.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.05554, allocations: 0 / 268.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001841/0.05738, allocations: 0.7568 MB / 269.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.05742, allocations: 68.72 kB / 269.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.05804, allocations: 0.6555 MB / 270.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.05826, allocations: 101.6 kB / 270.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.05854, allocations: 407.4 kB / 270.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/0.05893, allocations: 321.6 kB / 271 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007511/0.05968, allocations: 439.1 kB / 271.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.05983, allocations: 406.5 kB / 271.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.06032, allocations: 193.5 kB / 272 MB, free: 2.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.0609, allocations: 369.9 kB / 272.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.06217, allocations: 0.7415 MB / 273.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.06218, allocations: 3.938 kB / 273.1 MB, free: 1.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001584/0.06376, allocations: 0.7359 MB / 273.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.06381, allocations: 29.7 kB / 273.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.06383, allocations: 7.984 kB / 273.9 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.06385, allocations: 8 kB / 273.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.06437, allocations: 175.5 kB / 274.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.06438, allocations: 11.98 kB / 274.1 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.06489, allocations: 87.69 kB / 274.2 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1169/0.1817, allocations: 0.9672 MB / 275.2 MB, free: 20.48 MB / 266.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.001261/0.183, allocations: 398 kB / 275.6 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004624/0.1835, allocations: 113.2 kB / 275.7 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.1836, allocations: 116.7 kB / 275.8 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.1837, allocations: 12.78 kB / 275.8 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1837, allocations: 0.5 kB / 275.8 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.1837, allocations: 7.234 kB / 275.8 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.185, allocations: 0.701 MB / 276.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.185, allocations: 2.234 kB / 276.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.1855, allocations: 147.9 kB / 276.6 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/0.1862, allocations: 363.2 kB / 277 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.1862, allocations: 5.375 kB / 277 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/0.1864, allocations: 64.16 kB / 277.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.1864, allocations: 6.172 kB / 277.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1864, allocations: 1.188 kB / 277.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.1881, allocations: 0.6488 MB / 277.7 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/0.1884, allocations: 111.5 kB / 277.8 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.1888, allocations: 49.36 kB / 277.9 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/0.1893, allocations: 156.6 kB / 278 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009333/0.1902, allocations: 0.9676 MB / 279 MB, free: 19.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.1905, allocations: 253.9 kB / 279.2 MB, free: 19.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1905, allocations: 0.8125 kB / 279.2 MB, free: 19.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001293/0.1918, allocations: 382.7 kB / 279.6 MB, free: 19.96 MB / 266.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.0005154/0.1923, allocations: 341.8 kB / 280 MB, free: 19.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.1943, allocations: 0.7581 MB / 280.7 MB, free: 19.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-05/0.1943, allocations: 10.25 kB / 280.7 MB, free: 19.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008823/0.1952, allocations: 492.2 kB / 281.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.1983, allocations: 2.851 MB / 284.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.2019, allocations: 2.163 MB / 286.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2021, allocations: 245.8 kB / 286.5 MB, free: 16.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.004755/0.2068, allocations: 2.875 MB / 289.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00344/0.2103, allocations: 1.259 MB / 290.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.913e-06/0.2103, allocations: 4 kB / 290.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Templates: time 0.04511/0.2554, allocations: 44.5 MB / 335.1 MB, free: 2.754 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3626433508470654]