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.00113/0.00113, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005281/0.005281, allocations: 145.1 kB / 24.68 MB, free: 8.895 MB / 18.57 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.811/0.811, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.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.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.129e-05, allocations: 2.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002047/0.002068, allocations: 2.36 MB / 322 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003654, allocations: 1.204 MB / 323.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.003752, allocations: 7.938 kB / 323.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.003918, allocations: 67.36 kB / 323.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.004031, allocations: 79.23 kB / 323.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.004468, allocations: 251.6 kB / 323.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.005868, allocations: 2.139 MB / 325.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.006342, allocations: 0.542 MB / 326.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.00777, allocations: 2.48 MB / 328.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007725/0.008543, allocations: 1.173 MB / 330 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.008759, allocations: 216 kB / 330.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.009002, allocations: 220 kB / 330.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003694/0.009372, allocations: 0.6347 MB / 331 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.009797, allocations: 0.6113 MB / 331.7 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.01225, allocations: 4.592 MB / 336.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01225, allocations: 0 / 336.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01225, allocations: 3.938 kB / 336.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.01227, allocations: 4 kB / 336.3 MB, free: 5.215 MB / 298.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.002122/0.01439, allocations: 2.295 MB / 338.6 MB, free: 2.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.01442, allocations: 8.922 kB / 338.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.01467, allocations: 179.9 kB / 338.7 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.01568, allocations: 1.012 MB / 339.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.01574, allocations: 102.9 kB / 339.8 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005639/0.0163, allocations: 124.4 kB / 340 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.01861, allocations: 2.342 MB / 342.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.01863, allocations: 192 / 342.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.01878, allocations: 56.38 kB / 342.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.0188, allocations: 31.94 kB / 342.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.02097, allocations: 2.041 MB / 344.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004519/0.02549, allocations: 4.223 MB / 348.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.02753, allocations: 1.846 MB / 350.5 MB, free: 6.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/0.02832, allocations: 0.7676 MB / 351.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.02845, allocations: 13.31 kB / 351.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.02965, allocations: 1.408 MB / 352.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 2.374e-06/0.02966, allocations: 0 / 352.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.003215/0.03287, allocations: 2.782 MB / 355.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.03292, allocations: 94.42 kB / 355.6 MB, free: 1.633 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/0.03362, allocations: 0.9528 MB / 356.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.03376, allocations: 101.7 kB / 356.6 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.03398, allocations: 478.1 kB / 357.1 MB, free: 92 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.03424, allocations: 321.9 kB / 357.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005987/0.03484, allocations: 0.6869 MB / 358.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.03497, allocations: 402.7 kB / 358.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009322/0.0359, allocations: 0.9073 MB / 359.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.03691, allocations: 1.08 MB / 360.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/0.03908, allocations: 1.992 MB / 362.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.03908, allocations: 0 / 362.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002355/0.04143, allocations: 2.48 MB / 364.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.04147, allocations: 33.7 kB / 365 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.04147, allocations: 4 kB / 365 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.04149, allocations: 8 kB / 365 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.04176, allocations: 239.5 kB / 365.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.04177, allocations: 8 kB / 365.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.04208, allocations: 87.75 kB / 365.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006032/0.04268, allocations: 1.097 MB / 366.4 MB, free: 6.613 MB / 330.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.0007395/0.04342, allocations: 0.9196 MB / 367.3 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.04358, allocations: 111.3 kB / 367.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.04371, allocations: 134.3 kB / 367.6 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.04372, allocations: 12 kB / 367.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.04372, allocations: 0 / 367.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.04373, allocations: 11.98 kB / 367.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.0451, allocations: 1.365 MB / 369 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.04511, allocations: 0 / 369 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.04533, allocations: 215.7 kB / 369.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.04533, allocations: 4 kB / 369.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.04547, allocations: 183.9 kB / 369.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.04548, allocations: 8 kB / 369.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.04548, allocations: 0 / 369.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.04755, allocations: 2.118 MB / 371.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006471/0.0482, allocations: 0.5985 MB / 372.1 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.04842, allocations: 123.9 kB / 372.2 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.04867, allocations: 51.97 kB / 372.2 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.04903, allocations: 336.9 kB / 372.6 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005761/0.04961, allocations: 1.093 MB / 373.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004241/0.05003, allocations: 0.5965 MB / 374.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05003, allocations: 0 / 374.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000622/0.05065, allocations: 387.3 kB / 374.6 MB, free: 14.29 MB / 346.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.0003193/0.05097, allocations: 371.8 kB / 375 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.05322, allocations: 2.087 MB / 377.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.05322, allocations: 0 / 377.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009858/0.05421, allocations: 1.074 MB / 378.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.05602, allocations: 1.08 MB / 379.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.0589, allocations: 3.054 MB / 382.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.05946, allocations: 0.7198 MB / 383 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/0.06224, allocations: 1.368 MB / 384.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.06224, allocations: 0 / 384.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of Templates: time 0.02325/0.08549, allocations: 33.32 MB / 417.7 MB, free: 1.598 MB / 378.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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7293741554021835]