Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009435/0.0009436, allocations: 104.3 kB / 17.01 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001105, allocations: 197.7 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.7 MB / 246.4 MB, free: 9.781 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002554, allocations: 8 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1278, allocations: 51.53 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002383/0.1303, allocations: 2.151 MB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1326, allocations: 1.213 MB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1328, allocations: 11.94 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.133, allocations: 43.62 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.1332, allocations: 59.42 kB / 362.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.1337, allocations: 147.7 kB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.1352, allocations: 1.702 MB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/0.1361, allocations: 0.7233 MB / 364.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.1381, allocations: 1.443 MB / 366.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1392, allocations: 0.9627 MB / 367.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.1395, allocations: 40 kB / 367.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.1397, allocations: 40 kB / 367.2 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005445/0.1402, allocations: 450.8 kB / 367.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.1405, allocations: 280.9 kB / 367.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.1435, allocations: 3.78 MB / 371.7 MB, free: 340 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.1435, allocations: 8 kB / 371.7 MB, free: 332 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1435, allocations: 0 / 371.7 MB, free: 332 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.094e-05/0.1436, allocations: 0 / 371.7 MB, free: 332 kB / 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.256/0.3996, allocations: 1.693 MB / 373.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.066e-05/0.3997, allocations: 10.47 kB / 373.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.4014, allocations: 168 kB / 373.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.4042, allocations: 1.029 MB / 374.6 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.4046, allocations: 136.1 kB / 374.7 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.405, allocations: 119.7 kB / 374.8 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006518/0.4115, allocations: 2.291 MB / 377.1 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.4116, allocations: 3.938 kB / 377.1 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.4118, allocations: 52.19 kB / 377.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.4119, allocations: 31.12 kB / 377.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.4171, allocations: 1.994 MB / 379.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.4281, allocations: 4.778 MB / 384 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.4323, allocations: 1.911 MB / 385.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.4339, allocations: 0.7692 MB / 386.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.4342, allocations: 13.66 kB / 386.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002394/0.4366, allocations: 1.358 MB / 388 MB, free: 11.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.586e-06/0.4366, allocations: 4 kB / 388 MB, free: 11.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.00597/0.4426, allocations: 2.68 MB / 390.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.4427, allocations: 99.97 kB / 390.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.4443, allocations: 0.9392 MB / 391.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.4446, allocations: 101.4 kB / 391.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.4449, allocations: 410.9 kB / 392.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/0.4453, allocations: 307.4 kB / 392.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.4455, allocations: 32.31 kB / 392.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4457, allocations: 404.6 kB / 393 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.4471, allocations: 0.8726 MB / 393.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.4486, allocations: 1.048 MB / 394.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.4501, allocations: 1.029 MB / 395.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4501, allocations: 4 kB / 395.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003873/0.454, allocations: 2.411 MB / 398.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.454, allocations: 33.7 kB / 398.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4541, allocations: 4 kB / 398.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.4541, allocations: 8 kB / 398.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.4546, allocations: 239.6 kB / 398.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.113e-05/0.4546, allocations: 8 kB / 398.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.4564, allocations: 191.2 kB / 398.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007926/0.4572, allocations: 1.089 MB / 399.9 MB, free: 1.816 MB / 302.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,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,Enable.y,$PRE.clock.t_i,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,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,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,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,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,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,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,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,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].Not1.auxiliary) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001503/0.4587, allocations: 0.9105 MB / 400.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/0.4592, allocations: 106.7 kB / 400.9 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.4595, allocations: 130.3 kB / 401 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.4595, allocations: 16 kB / 401 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/0.4596, allocations: 0 / 401 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4596, allocations: 3.984 kB / 401 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.4632, allocations: 1.754 MB / 402.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.4632, allocations: 0 / 402.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.4638, allocations: 207.7 kB / 403 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/0.4639, allocations: 4 kB / 403 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/0.4642, allocations: 175.9 kB / 403.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.4642, allocations: 7.984 kB / 403.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4642, allocations: 0 / 403.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/0.4691, allocations: 2.045 MB / 405.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/0.4712, allocations: 0.6595 MB / 405.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/0.4719, allocations: 115.9 kB / 406 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.4733, allocations: 143.6 kB / 406.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/0.474, allocations: 321 kB / 406.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001469/0.4755, allocations: 1.086 MB / 407.5 MB, free: 10.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.4768, allocations: 0.5887 MB / 408.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4769, allocations: 4 kB / 408.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003089/0.48, allocations: 383.1 kB / 408.5 MB, free: 9.094 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000999/0.481, allocations: 353.1 kB / 408.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004998/0.486, allocations: 2.052 MB / 410.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.486, allocations: 0 / 410.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.4888, allocations: 1.088 MB / 412 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/0.4942, allocations: 0.9289 MB / 412.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/0.5023, allocations: 3.175 MB / 416.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.5043, allocations: 1.316 MB / 417.4 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01069/0.515, allocations: 3.382 MB / 420.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004814/0.5199, allocations: 0.9269 MB / 421.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.615e-06/0.5199, allocations: 0 / 421.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of Templates: time 0.0649/0.5849, allocations: 38.12 MB / 459.8 MB, free: 4.828 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches