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.0007192/0.0007192, allocations: 69.48 kB / 10.01 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009885/0.001708, allocations: 449.8 kB / 10.45 MB, free: 240 kB / 10.45 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.0006463/0.0006463, allocations: 149 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009063/0.001553, allocations: 475.6 kB / 11.81 MB, free: 2.355 MB / 13.93 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 0.9102/0.9102, allocations: 173.4 MB / 185.9 MB, free: 8.898 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07227/0.9824, allocations: 52.5 MB / 238.4 MB, free: 4.34 MB / 234.7 MB " [Timeout remaining time 179] 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.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..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.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 239.7 MB, free: 3.051 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.858e-06/1.128e-05, allocations: 5.828 kB / 239.8 MB, free: 3.047 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003125/0.003136, allocations: 2.48 MB / 242.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.005606, allocations: 1.298 MB / 243.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.005743, allocations: 7.938 kB / 243.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.005892, allocations: 71.31 kB / 243.6 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.00606, allocations: 71.25 kB / 243.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.006539, allocations: 263.5 kB / 243.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.008263, allocations: 2.128 MB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.008939, allocations: 0.5574 MB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.01109, allocations: 2.6 MB / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008047/0.0119, allocations: 1.173 MB / 250.4 MB, free: 8.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.01211, allocations: 216 kB / 250.6 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.01235, allocations: 223.9 kB / 250.8 MB, free: 7.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.01274, allocations: 478.9 kB / 251.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004845/0.01323, allocations: 447 kB / 251.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.01486, allocations: 2.926 MB / 254.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.01488, allocations: 3.938 kB / 254.7 MB, free: 4.066 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01488, allocations: 4 kB / 254.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.0149, allocations: 0 / 254.7 MB, free: 4.062 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.00205/0.01695, allocations: 2.258 MB / 256.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.614e-05/0.01697, allocations: 8.031 kB / 256.9 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.0173, allocations: 224.7 kB / 257.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.01801, allocations: 0.7474 MB / 257.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.01807, allocations: 94.91 kB / 258 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.01824, allocations: 120.4 kB / 258.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.01951, allocations: 1.058 MB / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01952, allocations: 4.188 kB / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.01966, allocations: 48.38 kB / 259.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.01968, allocations: 35.94 kB / 259.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.02046, allocations: 411 kB / 259.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.02399, allocations: 2.567 MB / 262.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.02503, allocations: 0.6526 MB / 262.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.02537, allocations: 214.3 kB / 263.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.02554, allocations: 25.25 kB / 263.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006728/0.02621, allocations: 0.6386 MB / 263.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.505e-06/0.02621, allocations: 0 / 263.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001401/0.02762, allocations: 0.749 MB / 264.5 MB, free: 10 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.02765, allocations: 76.72 kB / 264.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.02808, allocations: 0.6554 MB / 265.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.02822, allocations: 97.66 kB / 265.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.02839, allocations: 399.4 kB / 265.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.02864, allocations: 325.5 kB / 266 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/0.02914, allocations: 439.1 kB / 266.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.02928, allocations: 406.5 kB / 266.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.02969, allocations: 193.5 kB / 267 MB, free: 7.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.03013, allocations: 377.8 kB / 267.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009204/0.03105, allocations: 0.7298 MB / 268.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.03106, allocations: 4 kB / 268.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001117/0.03217, allocations: 0.732 MB / 268.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.03221, allocations: 37.69 kB / 268.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.03221, allocations: 4 kB / 268.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.03223, allocations: 8 kB / 268.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.03259, allocations: 179.5 kB / 269.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.0326, allocations: 12.03 kB / 269.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.03289, allocations: 83.69 kB / 269.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006093/0.0335, allocations: 0.9715 MB / 270.2 MB, free: 4.141 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.0004673/0.03396, allocations: 397.1 kB / 270.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.03418, allocations: 115.8 kB / 270.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.03432, allocations: 138.3 kB / 270.8 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.03433, allocations: 12 kB / 270.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.03433, allocations: 0 / 270.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.03434, allocations: 7.969 kB / 270.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.03511, allocations: 0.7057 MB / 271.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03511, allocations: 0 / 271.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.03543, allocations: 147.6 kB / 271.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.03589, allocations: 366.9 kB / 272 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.0359, allocations: 4 kB / 272 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.03602, allocations: 63.89 kB / 272.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.03603, allocations: 4 kB / 272.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03603, allocations: 4 kB / 272.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.03704, allocations: 0.6504 MB / 272.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.03728, allocations: 119.9 kB / 272.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.03752, allocations: 43.98 kB / 272.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.0378, allocations: 153 kB / 273.1 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006015/0.03841, allocations: 0.9675 MB / 274 MB, free: 188 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.09841/0.1368, allocations: 254 kB / 274.3 MB, free: 24.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1368, allocations: 0 / 274.3 MB, free: 24.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001614/0.1384, allocations: 379.7 kB / 274.6 MB, free: 24.48 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.0004493/0.1389, allocations: 339.2 kB / 275 MB, free: 24.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.1407, allocations: 0.7917 MB / 275.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/0.1407, allocations: 14.88 kB / 275.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.1418, allocations: 0.5586 MB / 276.3 MB, free: 24.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/0.1447, allocations: 2.87 MB / 279.2 MB, free: 22.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.1493, allocations: 2.49 MB / 281.7 MB, free: 21.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1495, allocations: 240.1 kB / 281.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.004351/0.1539, allocations: 2.885 MB / 284.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/0.1563, allocations: 1.255 MB / 286.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1563, allocations: 0 / 286.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of Templates: time 0.03553/0.1919, allocations: 44.49 MB / 330.6 MB, free: 11.34 MB / 298.7 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 & (cd run_cvode && ../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat -s cvode) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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 (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_dassl.sim & (cd run_dassl && ../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_dassl_res.mat -s dassl) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_dassl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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 (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_gbode.sim & (cd run_gbode && ../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_gbode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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 (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_ida.sim & (cd run_ida && ../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_ida_res.mat -s ida) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_ida_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2496661003679037]