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.00171/0.00171, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002112/0.002112, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.001943/0.001943, allocations: 68.08 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2597, allocations: 53.41 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004361/0.264, allocations: 2.384 MB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.2669, allocations: 1.224 MB / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.2672, allocations: 7.938 kB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.2674, allocations: 71.36 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.2677, allocations: 75.31 kB / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.2685, allocations: 247.6 kB / 435.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.2709, allocations: 2.108 MB / 437.2 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.272, allocations: 0.5437 MB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.2745, allocations: 2.137 MB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.2766, allocations: 1.238 MB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008248/0.2774, allocations: 216 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007976/0.2782, allocations: 216 kB / 441.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.2793, allocations: 0.6425 MB / 442.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.2807, allocations: 0.7113 MB / 442.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.2851, allocations: 4.431 MB / 447.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2851, allocations: 0 / 447.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2851, allocations: 0 / 447.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.956e-05/0.2852, allocations: 0 / 447.4 MB, free: 6.117 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.005505/0.2907, allocations: 2.268 MB / 449.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.2907, allocations: 19.92 kB / 449.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004543/0.2912, allocations: 202.2 kB / 449.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.2917, allocations: 171.9 kB / 450 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.2942, allocations: 1.016 MB / 451 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2943, allocations: 102.9 kB / 451.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.2947, allocations: 124.4 kB / 451.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.299, allocations: 2.318 MB / 453.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.2991, allocations: 4 kB / 453.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/0.2993, allocations: 52 kB / 453.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.2993, allocations: 28 kB / 453.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/0.3032, allocations: 2.014 MB / 455.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007996/0.3112, allocations: 4.342 MB / 460 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.3147, allocations: 1.826 MB / 461.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.3161, allocations: 0.752 MB / 462.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.3163, allocations: 13.31 kB / 462.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002171/0.3184, allocations: 1.377 MB / 464 MB, free: 5.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.567e-06/0.3184, allocations: 0 / 464 MB, free: 5.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005185/0.3236, allocations: 2.732 MB / 466.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.3237, allocations: 90.42 kB / 466.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.3251, allocations: 0.9411 MB / 467.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.3253, allocations: 101.7 kB / 467.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.3257, allocations: 474.2 kB / 468.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.3262, allocations: 325.6 kB / 468.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.3272, allocations: 0.6751 MB / 469.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.3274, allocations: 402.7 kB / 469.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.329, allocations: 0.8956 MB / 470.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.3308, allocations: 1.064 MB / 471.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/0.3342, allocations: 1.949 MB / 473.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.3342, allocations: 4 kB / 473.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004376/0.3385, allocations: 2.428 MB / 476 MB, free: 9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.3386, allocations: 37.69 kB / 476.1 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3386, allocations: 8.562 kB / 476.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3386, allocations: 8 kB / 476.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.3391, allocations: 227.6 kB / 476.3 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/0.3392, allocations: 11.94 kB / 476.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/0.3398, allocations: 83.69 kB / 476.4 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.3409, allocations: 1.093 MB / 477.5 MB, free: 7.531 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.001493/0.3424, allocations: 0.8924 MB / 478.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.3427, allocations: 115.3 kB / 478.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.343, allocations: 130.3 kB / 478.6 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.343, allocations: 15.98 kB / 478.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/0.343, allocations: 0 / 478.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.343, allocations: 11.91 kB / 478.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.3453, allocations: 1.516 MB / 480.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3453, allocations: 7.938 kB / 480.2 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.3457, allocations: 203.7 kB / 480.4 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.3457, allocations: 4 kB / 480.4 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/0.346, allocations: 175.9 kB / 480.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.346, allocations: 7.938 kB / 480.6 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.346, allocations: 8 kB / 480.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/0.35, allocations: 2.063 MB / 482.6 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/0.3517, allocations: 0.5985 MB / 483.2 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/0.3521, allocations: 115.9 kB / 483.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.3526, allocations: 43.98 kB / 483.4 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007105/0.3533, allocations: 340.8 kB / 483.7 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00112/0.3544, allocations: 1.089 MB / 484.8 MB, free: 112 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000835/0.3553, allocations: 0.5966 MB / 485.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3553, allocations: 0 / 485.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001285/0.3565, allocations: 383.4 kB / 485.8 MB, free: 15.13 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.004626/0.3612, allocations: 2.874 MB / 488.7 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.3649, allocations: 2.047 MB / 490.7 MB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3649, allocations: 0 / 490.7 MB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.3668, allocations: 1.082 MB / 491.8 MB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/0.3704, allocations: 1.065 MB / 492.9 MB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.3895, allocations: 11.84 MB / 0.4929 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009792/0.3905, allocations: 0.7237 MB / 0.4936 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007167/0.3977, allocations: 3.37 MB / 0.4969 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003691/0.4014, allocations: 1.247 MB / 0.4981 GB, free: 6.562 MB / 414.1 MB Notification: Performance of SimCode: time 1.954e-06/0.4014, allocations: 0 / 0.4981 GB, free: 6.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2797/0.681, allocations: 52.96 MB / 0.5498 GB, free: 99.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.82, allocations: 0 / 0.5498 GB, free: 99.59 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 & 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/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] "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: 15.478352974168956]