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.001438/0.001438, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001408/0.001408, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.453/1.453, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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 0.001593/0.001593, allocations: 39.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2958, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004761/0.3005, allocations: 2.627 MB / 425.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.3034, allocations: 1.243 MB / 427 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3035, allocations: 11.88 kB / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.3038, allocations: 67.36 kB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.3039, allocations: 75.3 kB / 427.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.3046, allocations: 239.7 kB / 427.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.3067, allocations: 2.112 MB / 429.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008176/0.3076, allocations: 0.503 MB / 430 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.3101, allocations: 2.129 MB / 432.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.3118, allocations: 1.121 MB / 433.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006877/0.3125, allocations: 220 kB / 433.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000521/0.313, allocations: 216 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009002/0.3139, allocations: 0.6308 MB / 434.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.3153, allocations: 0.8941 MB / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.3195, allocations: 4.417 MB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3195, allocations: 0 / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3195, allocations: 0 / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.777e-05/0.3195, allocations: 4 kB / 439.6 MB, free: 14.1 MB / 350.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.004429/0.3239, allocations: 2.272 MB / 441.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.324, allocations: 8.031 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.3245, allocations: 175.9 kB / 442.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.3267, allocations: 1.016 MB / 443.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3269, allocations: 94.91 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.3272, allocations: 120.4 kB / 443.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/0.3318, allocations: 2.293 MB / 445.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.3319, allocations: 0 / 445.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/0.3321, allocations: 55.94 kB / 445.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.3322, allocations: 32 kB / 445.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004127/0.3363, allocations: 1.977 MB / 447.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009127/0.3454, allocations: 4.78 MB / 452.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.3495, allocations: 1.789 MB / 454.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.351, allocations: 0.7269 MB / 454.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.3512, allocations: 17.3 kB / 455 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002378/0.3536, allocations: 1.356 MB / 456.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.849e-06/0.3536, allocations: 0 / 456.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005651/0.3592, allocations: 2.67 MB / 459 MB, free: 10.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.3593, allocations: 90.42 kB / 459.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.3612, allocations: 0.949 MB / 460 MB, free: 9.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003155/0.3615, allocations: 97.66 kB / 460.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.3621, allocations: 474.2 kB / 460.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005416/0.3627, allocations: 325.7 kB / 460.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.3639, allocations: 0.6673 MB / 461.6 MB, free: 7.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003126/0.3642, allocations: 410.6 kB / 462 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.3662, allocations: 0.8627 MB / 462.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.3681, allocations: 1.039 MB / 463.9 MB, free: 5.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/0.3721, allocations: 1.957 MB / 465.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3721, allocations: 0 / 465.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00506/0.3771, allocations: 2.4 MB / 468.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.3772, allocations: 33.69 kB / 468.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3772, allocations: 4 kB / 468.3 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/0.3772, allocations: 16 kB / 468.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.3778, allocations: 231.6 kB / 468.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.3778, allocations: 11.94 kB / 468.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.3786, allocations: 79.66 kB / 468.6 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/0.3797, allocations: 1.096 MB / 469.7 MB, free: 15.62 MB / 382.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.001665/0.3814, allocations: 0.8963 MB / 470.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.3818, allocations: 111.3 kB / 470.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.3821, allocations: 130.3 kB / 470.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.3821, allocations: 12 kB / 470.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.3821, allocations: 4 kB / 470.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3821, allocations: 11.91 kB / 470.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.3847, allocations: 1.723 MB / 472.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3847, allocations: 0 / 472.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.3852, allocations: 211.7 kB / 472.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.3852, allocations: 4 kB / 472.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002953/0.3855, allocations: 175.9 kB / 473 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/0.3856, allocations: 11.88 kB / 473 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3856, allocations: 0 / 473 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/0.3898, allocations: 2.05 MB / 475 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/0.3914, allocations: 0.6024 MB / 475.6 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004961/0.3919, allocations: 119.9 kB / 475.7 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.3924, allocations: 43.98 kB / 475.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/0.3931, allocations: 336.9 kB / 476.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001142/0.3943, allocations: 1.092 MB / 477.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008712/0.3951, allocations: 0.5927 MB / 477.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3951, allocations: 0 / 477.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001468/0.3966, allocations: 383.4 kB / 478.2 MB, free: 7.047 MB / 382.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.0005983/0.3972, allocations: 359.7 kB / 478.5 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00421/0.4014, allocations: 1.998 MB / 480.5 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4014, allocations: 0 / 480.5 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.4035, allocations: 1.057 MB / 481.6 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/0.408, allocations: 1.058 MB / 482.6 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.4137, allocations: 2.9 MB / 485.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.4151, allocations: 1.32 MB / 486.8 MB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007625/0.4227, allocations: 3.37 MB / 490.2 MB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003174/0.4259, allocations: 0.9269 MB / 491.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4259, allocations: 4 kB / 491.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of Templates: time 0.06654/0.4924, allocations: 41.27 MB / 0.5199 GB, free: 15.98 MB / 446.1 MB " [Timeout remaining time 659] 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.511554251424968]