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.002162/0.002162, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001984/0.001984, allocations: 168.1 kB / 25.02 MB, free: 8.945 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.462/1.462, 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.855e-06/2.855e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.173e-05/4.458e-05, allocations: 6.109 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005074/0.005119, allocations: 2.384 MB / 252.7 MB, free: 5.438 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.008821, allocations: 1.252 MB / 254 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.00911, allocations: 7.938 kB / 254 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.009428, allocations: 67.31 kB / 254.1 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.009759, allocations: 83.25 kB / 254.2 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.0106, allocations: 247.6 kB / 254.4 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.01346, allocations: 2.139 MB / 256.5 MB, free: 1.629 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.01472, allocations: 0.5381 MB / 257.1 MB, free: 1.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.01869, allocations: 2.469 MB / 259.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.02083, allocations: 1.177 MB / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007156/0.02155, allocations: 216 kB / 260.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.02237, allocations: 220 kB / 261.1 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009063/0.02328, allocations: 0.6424 MB / 261.8 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.02446, allocations: 0.6114 MB / 262.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005439/0.0299, allocations: 4.592 MB / 267 MB, free: 7.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.0299, allocations: 0 / 267 MB, free: 7.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02991, allocations: 0 / 267 MB, free: 7.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.342e-05/0.02998, allocations: 0 / 267 MB, free: 7.125 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.00671/0.03669, allocations: 2.299 MB / 269.3 MB, free: 4.777 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.03675, allocations: 15.97 kB / 269.3 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009544/0.03771, allocations: 283.9 kB / 269.6 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.0399, allocations: 1.035 MB / 270.6 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.04004, allocations: 98.91 kB / 270.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003926/0.04043, allocations: 124.4 kB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005583/0.04601, allocations: 2.342 MB / 273.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.04604, allocations: 192 / 273.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.04633, allocations: 56.38 kB / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.04637, allocations: 31.94 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004899/0.05127, allocations: 2.034 MB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009778/0.06105, allocations: 4.27 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.06527, allocations: 1.838 MB / 281.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.06697, allocations: 0.7676 MB / 282.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.06717, allocations: 21.31 kB / 282.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002943/0.07011, allocations: 1.408 MB / 283.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.238e-06/0.07011, allocations: 0 / 283.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.006539/0.07665, allocations: 2.829 MB / 286.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/0.07675, allocations: 90.42 kB / 286.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.07881, allocations: 0.949 MB / 287.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/0.07917, allocations: 97.66 kB / 287.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/0.07982, allocations: 482.1 kB / 288 MB, free: 1.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006809/0.0805, allocations: 329.7 kB / 288.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/0.0822, allocations: 0.6869 MB / 289 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003218/0.08252, allocations: 402.7 kB / 289.4 MB, free: 392 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.08481, allocations: 0.9112 MB / 290.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.08706, allocations: 1.08 MB / 291.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/0.09136, allocations: 1.977 MB / 293.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.09137, allocations: 0 / 293.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005897/0.09727, allocations: 2.542 MB / 295.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.09733, allocations: 37.64 kB / 296 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.09735, allocations: 4 kB / 296 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/0.0974, allocations: 8 kB / 296 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.09806, allocations: 239.6 kB / 296.2 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.174e-05/0.0981, allocations: 8 kB / 296.2 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008929/0.09899, allocations: 99.67 kB / 296.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/0.1006, allocations: 1.1 MB / 297.4 MB, free: 8.246 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.002163/0.1027, allocations: 0.9118 MB / 298.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009541/0.1037, allocations: 159.3 kB / 298.5 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.1041, allocations: 126.3 kB / 298.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.1041, allocations: 16 kB / 298.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.1041, allocations: 0 / 298.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.1041, allocations: 7.969 kB / 298.6 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.1071, allocations: 1.361 MB / 300 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.1071, allocations: 0 / 300 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.1078, allocations: 215.7 kB / 300.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-05/0.1078, allocations: 7.984 kB / 300.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003662/0.1081, allocations: 187.9 kB / 300.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.1082, allocations: 4 kB / 300.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1082, allocations: 4 kB / 300.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/0.1135, allocations: 2.157 MB / 302.6 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/0.1154, allocations: 0.6024 MB / 303.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007525/0.1161, allocations: 127.9 kB / 303.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.1169, allocations: 51.97 kB / 303.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009071/0.1178, allocations: 348.9 kB / 303.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001636/0.1194, allocations: 1.096 MB / 304.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.1206, allocations: 0.5927 MB / 305.4 MB, free: 200 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1206, allocations: 0 / 305.4 MB, free: 200 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.001938/0.1225, allocations: 391.4 kB / 305.8 MB, free: 15.81 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.0008363/0.1234, allocations: 367.8 kB / 306.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004744/0.1281, allocations: 2.079 MB / 308.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1281, allocations: 0 / 308.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/0.1305, allocations: 1.105 MB / 309.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004977/0.1354, allocations: 1.269 MB / 310.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/0.1427, allocations: 2.971 MB / 313.5 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.1441, allocations: 0.7276 MB / 314.3 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01038/0.1545, allocations: 3.37 MB / 317.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004854/0.1593, allocations: 0.967 MB / 318.6 MB, free: 2.855 MB / 298.7 MB Notification: Performance of SimCode: time 3.156e-06/0.1593, allocations: 0 / 318.6 MB, free: 2.855 MB / 298.7 MB Notification: Performance of Templates: time 0.2018/0.3611, allocations: 42.06 MB / 360.7 MB, free: 101 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] 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.696640754002146]