Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001954/0.001954, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001966/0.001966, allocations: 159.7 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.613e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00435/0.004386, allocations: 2.431 MB / 252.8 MB, free: 5.387 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.007729, allocations: 1.272 MB / 254.1 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.007929, allocations: 7.938 kB / 254.1 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.008201, allocations: 71.3 kB / 254.1 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.008402, allocations: 75.27 kB / 254.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.00916, allocations: 255.6 kB / 254.5 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.0117, allocations: 2.131 MB / 256.6 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009495/0.01265, allocations: 0.542 MB / 257.1 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.01641, allocations: 2.469 MB / 259.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.01872, allocations: 1.173 MB / 260.8 MB, free: 13.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008441/0.01956, allocations: 220 kB / 261 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006778/0.02024, allocations: 216 kB / 261.2 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009785/0.02122, allocations: 0.6424 MB / 261.8 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.02258, allocations: 0.6114 MB / 262.5 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006301/0.02888, allocations: 4.592 MB / 267.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.078e-05/0.0289, allocations: 4 kB / 267.1 MB, free: 7.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.02891, allocations: 0 / 267.1 MB, free: 7.055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.02901, allocations: 0 / 267.1 MB, free: 7.055 MB / 250.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.005968/0.03498, allocations: 2.618 MB / 269.7 MB, free: 4.383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.03502, allocations: 15.98 kB / 269.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008292/0.03585, allocations: 279.9 kB / 270 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.03847, allocations: 0.9557 MB / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.03876, allocations: 106.9 kB / 271 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004759/0.03923, allocations: 128.4 kB / 271.1 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.04368, allocations: 1.768 MB / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.04371, allocations: 192 / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.044, allocations: 56.36 kB / 273 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.04404, allocations: 35.94 kB / 273 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/0.04786, allocations: 1.296 MB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.06353, allocations: 7.331 MB / 281.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004505/0.06803, allocations: 1.671 MB / 283.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.06992, allocations: 0.6532 MB / 284 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.07023, allocations: 21.31 kB / 284 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002778/0.07301, allocations: 1.347 MB / 285.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.168e-06/0.07302, allocations: 0 / 285.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.006159/0.07918, allocations: 2.462 MB / 287.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/0.07927, allocations: 90.42 kB / 287.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.08179, allocations: 1.319 MB / 289.2 MB, free: 256 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000453/0.08224, allocations: 101.7 kB / 289.3 MB, free: 148 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/0.08296, allocations: 0.5477 MB / 289.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008461/0.08381, allocations: 413.7 kB / 290.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/0.08581, allocations: 0.9854 MB / 291.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0006881/0.08649, allocations: 0.7188 MB / 292 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.08857, allocations: 0.7707 MB / 292.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.09076, allocations: 1.083 MB / 293.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.09474, allocations: 1.82 MB / 295.6 MB, free: 9.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.09475, allocations: 4 kB / 295.6 MB, free: 9.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005196/0.09995, allocations: 2.272 MB / 297.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.1, allocations: 33.7 kB / 297.9 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.1, allocations: 4 kB / 297.9 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/0.1001, allocations: 8 kB / 297.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.1007, allocations: 239.6 kB / 298.2 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/0.1007, allocations: 12 kB / 298.2 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.1016, allocations: 91.72 kB / 298.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/0.1032, allocations: 1.1 MB / 299.4 MB, free: 5.855 MB / 282.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.00165/0.1049, allocations: 0.6413 MB / 300 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/0.1055, allocations: 159.3 kB / 300.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.1058, allocations: 118.3 kB / 300.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.1058, allocations: 12 kB / 300.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.1058, allocations: 0 / 300.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.1058, allocations: 7.969 kB / 300.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.1093, allocations: 1.708 MB / 302 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.1093, allocations: 0 / 302 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.1098, allocations: 215.7 kB / 302.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.1099, allocations: 11.98 kB / 302.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003641/0.1102, allocations: 183.9 kB / 302.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.1102, allocations: 8 kB / 302.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1102, allocations: 0 / 302.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.1151, allocations: 2.004 MB / 304.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.1171, allocations: 0.5438 MB / 305 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000599/0.1177, allocations: 115.9 kB / 305.1 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.1183, allocations: 55.97 kB / 305.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008373/0.1191, allocations: 360.9 kB / 305.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001754/0.1209, allocations: 1.096 MB / 306.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.122, allocations: 0.5966 MB / 307.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.122, allocations: 0 / 307.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001914/0.1239, allocations: 383.4 kB / 307.6 MB, free: 13.55 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.0006627/0.1245, allocations: 367.8 kB / 307.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004707/0.1293, allocations: 1.99 MB / 309.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1293, allocations: 0 / 309.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.1317, allocations: 1.116 MB / 311 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/0.1366, allocations: 1.26 MB / 312.3 MB, free: 8.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/0.1432, allocations: 2.68 MB / 315 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.1442, allocations: 0.6339 MB / 315.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.008696/0.1529, allocations: 3.265 MB / 318.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003628/0.1566, allocations: 0.9631 MB / 319.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of SimCode: time 2.585e-06/0.1566, allocations: 0 / 319.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of Templates: time 0.1827/0.3392, allocations: 41.96 MB / 361.8 MB, free: 98.61 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.663805500022136]