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.001999/0.001999, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002116/0.002116, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.54/1.54, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002034/0.002034, allocations: 59.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2762, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004027/0.2802, allocations: 2.621 MB / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.2829, allocations: 1.282 MB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.283, allocations: 11.88 kB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.2833, allocations: 71.36 kB / 435.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.2835, allocations: 75.25 kB / 435.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.2843, allocations: 251.6 kB / 435.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002215/0.2865, allocations: 2.1 MB / 437.6 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/0.2873, allocations: 0.503 MB / 438.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.2898, allocations: 2.129 MB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.2917, allocations: 1.117 MB / 441.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000598/0.2923, allocations: 216 kB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.2928, allocations: 216 kB / 441.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007704/0.2936, allocations: 0.6425 MB / 442.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.2948, allocations: 0.8902 MB / 443.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.2992, allocations: 4.42 MB / 447.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2992, allocations: 4 kB / 447.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2992, allocations: 0 / 447.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.078e-05/0.2993, allocations: 0 / 447.7 MB, free: 6.074 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.005041/0.3043, allocations: 2.272 MB / 450 MB, free: 3.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.3044, allocations: 8.031 kB / 450 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/0.3048, allocations: 202.2 kB / 450.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.3052, allocations: 175.8 kB / 450.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.3073, allocations: 1.012 MB / 451.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3074, allocations: 106.9 kB / 451.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.3077, allocations: 120.4 kB / 451.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/0.312, allocations: 2.285 MB / 453.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.3121, allocations: 0 / 453.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.3123, allocations: 52 kB / 453.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.3123, allocations: 28 kB / 454 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/0.3161, allocations: 1.989 MB / 455.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009108/0.3252, allocations: 4.763 MB / 460.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.329, allocations: 1.797 MB / 462.5 MB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.3304, allocations: 0.723 MB / 463.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.3307, allocations: 17.3 kB / 463.2 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/0.3329, allocations: 1.356 MB / 464.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.333, allocations: 0 / 464.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005428/0.3384, allocations: 2.674 MB / 467.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.3385, allocations: 94.41 kB / 467.4 MB, free: 2.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.34, allocations: 0.9489 MB / 468.3 MB, free: 1.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.3403, allocations: 97.66 kB / 468.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005088/0.3408, allocations: 470.2 kB / 468.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.3413, allocations: 321.7 kB / 469.2 MB, free: 336 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.3424, allocations: 0.6673 MB / 469.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.3426, allocations: 410.7 kB / 470.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.3444, allocations: 0.8666 MB / 471.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.3463, allocations: 1.047 MB / 472.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.3499, allocations: 1.961 MB / 474.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3499, allocations: 0 / 474.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004672/0.3545, allocations: 2.404 MB / 476.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.3546, allocations: 37.73 kB / 476.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3546, allocations: 4 kB / 476.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.3546, allocations: 8 kB / 476.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.3552, allocations: 223.6 kB / 476.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.3552, allocations: 15.94 kB / 476.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.3559, allocations: 83.69 kB / 476.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/0.3571, allocations: 1.089 MB / 478 MB, free: 7.402 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.001989/0.3591, allocations: 0.9001 MB / 478.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.3595, allocations: 111.3 kB / 479 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.3598, allocations: 130.3 kB / 479.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.3598, allocations: 12 kB / 479.1 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.3598, allocations: 0 / 479.1 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.3598, allocations: 7.922 kB / 479.1 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.3624, allocations: 1.734 MB / 480.9 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3624, allocations: 0 / 480.9 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.3629, allocations: 211.7 kB / 481.1 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.3629, allocations: 4 kB / 481.1 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/0.3632, allocations: 175.9 kB / 481.3 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.3632, allocations: 7.938 kB / 481.3 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3632, allocations: 4 kB / 481.3 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/0.3671, allocations: 2.038 MB / 483.3 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.3686, allocations: 0.6024 MB / 483.9 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/0.3691, allocations: 115.9 kB / 484 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.3695, allocations: 47.97 kB / 484.1 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007911/0.3703, allocations: 340.8 kB / 484.4 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/0.3714, allocations: 1.085 MB / 485.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009166/0.3724, allocations: 0.5966 MB / 486.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3724, allocations: 0 / 486.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001223/0.3736, allocations: 383.4 kB / 486.5 MB, free: 14.82 MB / 398.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.004623/0.3782, allocations: 2.837 MB / 489.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003978/0.3822, allocations: 2.002 MB / 491.3 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3822, allocations: 0 / 491.3 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.3841, allocations: 1.053 MB / 492.4 MB, free: 8.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.3877, allocations: 1.077 MB / 493.4 MB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/0.408, allocations: 11.71 MB / 0.4933 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.4094, allocations: 1.316 MB / 0.4946 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007068/0.4165, allocations: 3.367 MB / 0.4979 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003553/0.42, allocations: 1.247 MB / 0.4991 GB, free: 5.949 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.42, allocations: 0 / 0.4991 GB, free: 5.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3067/0.7267, allocations: 50.77 MB / 0.5487 GB, free: 100.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.23, allocations: 7.938 kB / 0.5487 GB, free: 100.1 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 16.09551156195812]