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.001616/0.001616, allocations: 76.66 kB / 20.67 MB, free: 1.027 MB / 14.72 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.001935/0.001935, allocations: 147.5 kB / 23.94 MB, free: 4.168 MB / 14.72 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 1.474/1.474, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.883e-06/1.883e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.973e-05, allocations: 2.281 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003714/0.003744, allocations: 2.374 MB / 321.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.006931, allocations: 1.195 MB / 322.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.00719, allocations: 7.125 kB / 322.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.007472, allocations: 74.14 kB / 322.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.007689, allocations: 76.17 kB / 322.6 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000892/0.008581, allocations: 247.3 kB / 322.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.01105, allocations: 2.138 MB / 325 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.01206, allocations: 0.5434 MB / 325.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.01632, allocations: 2.474 MB / 328 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.01881, allocations: 1.167 MB / 329.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007942/0.0196, allocations: 225 kB / 329.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.02018, allocations: 216.8 kB / 329.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009399/0.02112, allocations: 0.6419 MB / 330.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.02236, allocations: 0.6116 MB / 330.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.02769, allocations: 4.588 MB / 335.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.0277, allocations: 3.984 kB / 335.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.0277, allocations: 5.312 kB / 335.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.832e-05/0.02779, allocations: 3.938 kB / 335.5 MB, free: 10.07 MB / 302.1 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.005414/0.0332, allocations: 2.291 MB / 337.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.03324, allocations: 14.64 kB / 337.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/0.03384, allocations: 176.2 kB / 338 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.03587, allocations: 1.026 MB / 339 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.03598, allocations: 94.91 kB / 339.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.03633, allocations: 124.4 kB / 339.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004699/0.04103, allocations: 2.338 MB / 341.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.04106, allocations: 4.172 kB / 341.6 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/0.04133, allocations: 56.38 kB / 341.6 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.04136, allocations: 35.94 kB / 341.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/0.04558, allocations: 2.03 MB / 343.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/0.05464, allocations: 4.231 MB / 347.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.05852, allocations: 1.846 MB / 349.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.06004, allocations: 0.7598 MB / 350.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.06023, allocations: 17.31 kB / 350.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002403/0.06264, allocations: 1.404 MB / 351.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.988e-06/0.06264, allocations: 0 / 351.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=128): time 0.005999/0.06864, allocations: 2.79 MB / 354.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.06876, allocations: 98.41 kB / 354.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.07064, allocations: 0.945 MB / 355.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003139/0.07096, allocations: 101.7 kB / 355.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/0.07147, allocations: 474.2 kB / 356.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005221/0.07199, allocations: 329.7 kB / 356.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.07325, allocations: 0.6869 MB / 357.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.07352, allocations: 406.7 kB / 357.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.07526, allocations: 0.9034 MB / 358.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.07715, allocations: 1.08 MB / 359.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003659/0.0808, allocations: 1.992 MB / 361.7 MB, free: 464 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.08081, allocations: 0 / 361.7 MB, free: 464 kB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005058/0.08587, allocations: 2.472 MB / 364.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/0.08593, allocations: 33.7 kB / 364.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.08595, allocations: 4 kB / 364.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.664e-05/0.08599, allocations: 12.03 kB / 364.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.08658, allocations: 243.5 kB / 364.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/0.08661, allocations: 11.98 kB / 364.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.08754, allocations: 87.75 kB / 364.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/0.0888, allocations: 1.093 MB / 365.7 MB, free: 12.48 MB / 334.1 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.002111/0.09091, allocations: 0.9157 MB / 366.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000577/0.09149, allocations: 115.3 kB / 366.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.09186, allocations: 130.3 kB / 366.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.09187, allocations: 15.94 kB / 366.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/0.0919, allocations: 3.938 kB / 366.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.09191, allocations: 3.984 kB / 366.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.09493, allocations: 1.365 MB / 368.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.09494, allocations: 0 / 368.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.09547, allocations: 219.7 kB / 368.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.09548, allocations: 4 kB / 368.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/0.09581, allocations: 183.9 kB / 368.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.09583, allocations: 8 kB / 368.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.09583, allocations: 0 / 368.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/0.1003, allocations: 2.114 MB / 370.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.1018, allocations: 0.6024 MB / 371.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/0.1024, allocations: 127.9 kB / 371.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.103, allocations: 47.98 kB / 371.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008401/0.1038, allocations: 348.9 kB / 371.8 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001459/0.1053, allocations: 1.093 MB / 372.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000941/0.1062, allocations: 0.5927 MB / 373.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1062, allocations: 3.938 kB / 373.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001603/0.1078, allocations: 391.3 kB / 373.9 MB, free: 4.133 MB / 334.1 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.0006628/0.1085, allocations: 371.7 kB / 374.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.1129, allocations: 2.086 MB / 376.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1129, allocations: 0 / 376.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.1151, allocations: 1.102 MB / 377.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005264/0.1204, allocations: 1.081 MB / 378.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/0.1272, allocations: 2.935 MB / 381.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.1284, allocations: 0.7236 MB / 382.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.009716/0.1381, allocations: 3.37 MB / 385.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003356/0.1415, allocations: 0.9592 MB / 386.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1415, allocations: 0 / 386.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of Templates: time 0.07259/0.2141, allocations: 42.02 MB / 428.5 MB, free: 12.81 MB / 398.1 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.415845397859812]