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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008848/0.0008848, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8734/0.8734, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.723e-05, allocations: 6.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002635/0.002652, allocations: 2.392 MB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.004589, allocations: 1.228 MB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.004712, allocations: 15.88 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.004973, allocations: 67.36 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.005101, allocations: 75.27 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.005611, allocations: 259.5 kB / 328.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.006886, allocations: 2.135 MB / 330.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.007457, allocations: 0.542 MB / 331.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.009477, allocations: 2.461 MB / 333.7 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/0.01033, allocations: 1.169 MB / 334.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.01056, allocations: 220 kB / 335.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.01082, allocations: 216 kB / 335.3 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.01122, allocations: 0.6502 MB / 335.9 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.01169, allocations: 0.5997 MB / 336.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.01421, allocations: 4.6 MB / 341.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01422, allocations: 0 / 341.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01422, allocations: 0 / 341.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.01424, allocations: 0 / 341.1 MB, free: 15.2 MB / 314.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.002318/0.01656, allocations: 2.295 MB / 343.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.0166, allocations: 11.98 kB / 343.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002577/0.01685, allocations: 210.2 kB / 343.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.01712, allocations: 175.9 kB / 343.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.01822, allocations: 1.012 MB / 344.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.01828, allocations: 98.91 kB / 344.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.01849, allocations: 128.4 kB / 345 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.02115, allocations: 2.338 MB / 347.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.02117, allocations: 4.188 kB / 347.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.02152, allocations: 56.12 kB / 347.4 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.02154, allocations: 32 kB / 347.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/0.02495, allocations: 2.037 MB / 349.5 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.03088, allocations: 4.408 MB / 353.9 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.03327, allocations: 1.842 MB / 355.8 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009061/0.03418, allocations: 0.7715 MB / 356.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.03433, allocations: 13.31 kB / 356.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.03579, allocations: 1.4 MB / 357.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.838e-06/0.03579, allocations: 0 / 357.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003461/0.03926, allocations: 2.79 MB / 360.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.03931, allocations: 90.42 kB / 360.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009861/0.04029, allocations: 0.9451 MB / 361.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.04045, allocations: 101.7 kB / 361.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.04073, allocations: 482.1 kB / 362.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.04103, allocations: 325.7 kB / 362.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007108/0.04174, allocations: 0.6947 MB / 363.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.04188, allocations: 406.7 kB / 363.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.04293, allocations: 0.9112 MB / 364.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.04404, allocations: 1.076 MB / 365.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.04611, allocations: 1.981 MB / 367.7 MB, free: 4.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.04612, allocations: 4 kB / 367.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002704/0.04882, allocations: 2.48 MB / 370.2 MB, free: 1.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.04887, allocations: 29.7 kB / 370.2 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.04888, allocations: 4 kB / 370.2 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.0489, allocations: 8 kB / 370.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.0492, allocations: 243.5 kB / 370.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.04921, allocations: 8 kB / 370.5 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.04965, allocations: 91.73 kB / 370.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/0.0503, allocations: 1.104 MB / 371.7 MB, free: 188 kB / 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.001107/0.05141, allocations: 0.9079 MB / 372.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.05162, allocations: 115.3 kB / 372.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.05176, allocations: 134.3 kB / 372.8 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.05177, allocations: 12 kB / 372.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.05178, allocations: 0 / 372.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.05179, allocations: 3.984 kB / 372.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.05336, allocations: 1.532 MB / 374.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.05337, allocations: 0 / 374.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.05361, allocations: 215.7 kB / 374.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.05362, allocations: 4 kB / 374.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.05378, allocations: 187.9 kB / 374.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.05379, allocations: 4 kB / 374.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.05379, allocations: 4 kB / 374.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.05616, allocations: 2.114 MB / 376.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007184/0.05688, allocations: 0.6024 MB / 377.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.05713, allocations: 127.9 kB / 377.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.05738, allocations: 55.97 kB / 377.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004162/0.0578, allocations: 348.9 kB / 378 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007279/0.05853, allocations: 1.097 MB / 379.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005417/0.05907, allocations: 0.5927 MB / 379.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.05907, allocations: 0 / 379.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001008/0.06008, allocations: 391.4 kB / 380.1 MB, free: 7.656 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.002747/0.06283, allocations: 2.917 MB / 383 MB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.06526, allocations: 2.083 MB / 385.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.06526, allocations: 0 / 385.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.06638, allocations: 1.102 MB / 386.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.0685, allocations: 1.085 MB / 387.3 MB, free: 460 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.08186, allocations: 12.02 MB / 399.3 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.08256, allocations: 0.7237 MB / 400 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005027/0.08759, allocations: 3.374 MB / 403.4 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/0.09013, allocations: 1.272 MB / 404.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.09013, allocations: 4 kB / 404.7 MB, free: 14.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/0.2718, allocations: 52.9 MB / 457.6 MB, free: 115.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.318, allocations: 21.5 kB / 457.6 MB, free: 115.8 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0178603 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable Counter.FF[1].RS1.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS1.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[1].RS2.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS2.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS1.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS1.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS2.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS2.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS1.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS1.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS2.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS2.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS1.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS1.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS2.TD1.x in file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS2.TD1.x from file Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.11317066848278]