Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002439/0.002439, allocations: 187.1 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 51.92 kB / 370.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2419, allocations: 52.19 MB / 422.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004982/0.2469, allocations: 2.371 MB / 424.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.251, allocations: 1.197 MB / 426.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.2512, allocations: 11.88 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.2515, allocations: 67.36 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.2518, allocations: 71.31 kB / 426.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/0.2527, allocations: 247.7 kB / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.2556, allocations: 2.116 MB / 428.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.2569, allocations: 0.5401 MB / 429.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.2603, allocations: 2.137 MB / 431.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.2628, allocations: 1.242 MB / 432.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007871/0.2636, allocations: 216 kB / 432.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007285/0.2644, allocations: 216 kB / 433 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.2654, allocations: 0.6386 MB / 433.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.2669, allocations: 0.7152 MB / 434.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006476/0.2734, allocations: 4.419 MB / 438.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2734, allocations: 0 / 438.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2734, allocations: 4 kB / 438.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.389e-05/0.2735, allocations: 3.938 kB / 438.8 MB, free: 14.27 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.006448/0.2799, allocations: 2.275 MB / 441 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.28, allocations: 8.031 kB / 441.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006157/0.2806, allocations: 202.2 kB / 441.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000679/0.2813, allocations: 175.9 kB / 441.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.2844, allocations: 1.016 MB / 442.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.2846, allocations: 94.91 kB / 442.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005582/0.2852, allocations: 124.4 kB / 442.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007137/0.2923, allocations: 2.318 MB / 445 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.2923, allocations: 0 / 445 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.2927, allocations: 48 kB / 445 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.2927, allocations: 32 kB / 445 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007031/0.2998, allocations: 2.006 MB / 447.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.3145, allocations: 4.354 MB / 451.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006763/0.3213, allocations: 1.819 MB / 453.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.324, allocations: 0.7442 MB / 454 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.3243, allocations: 17.31 kB / 454 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004066/0.3283, allocations: 1.388 MB / 455.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 6.052e-06/0.3283, allocations: 0 / 455.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.009707/0.338, allocations: 2.728 MB / 458.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.3382, allocations: 98.3 kB / 458.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.3407, allocations: 0.9527 MB / 459.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004368/0.3411, allocations: 97.66 kB / 459.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006691/0.3418, allocations: 470.2 kB / 459.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007704/0.3425, allocations: 329.7 kB / 460 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/0.3443, allocations: 0.6673 MB / 460.7 MB, free: 8.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003859/0.3447, allocations: 406.7 kB / 461.1 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003089/0.3478, allocations: 0.8878 MB / 462 MB, free: 6.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.3507, allocations: 1.068 MB / 463.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005992/0.3567, allocations: 1.953 MB / 465 MB, free: 3.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.3567, allocations: 0 / 465 MB, free: 3.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.007385/0.3641, allocations: 2.433 MB / 467.4 MB, free: 1.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/0.3642, allocations: 33.69 kB / 467.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3642, allocations: 4 kB / 467.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/0.3642, allocations: 8 kB / 467.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.365, allocations: 231.6 kB / 467.7 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.365, allocations: 11.94 kB / 467.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.3661, allocations: 87.62 kB / 467.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/0.3674, allocations: 1.089 MB / 468.9 MB, free: 15.69 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.001576/0.369, allocations: 0.8963 MB / 469.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.3693, allocations: 111.3 kB / 469.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.3696, allocations: 126.3 kB / 470 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.3696, allocations: 16 kB / 470 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.3696, allocations: 4 kB / 470 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.3696, allocations: 11.91 kB / 470.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.3723, allocations: 1.508 MB / 471.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/0.3723, allocations: 0 / 471.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.3727, allocations: 207.7 kB / 471.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.3727, allocations: 4 kB / 471.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/0.3731, allocations: 179.8 kB / 471.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.3731, allocations: 8 kB / 472 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3731, allocations: 0 / 472 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.377, allocations: 2.071 MB / 474 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/0.3785, allocations: 0.6102 MB / 474.6 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/0.3789, allocations: 119.9 kB / 474.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.3794, allocations: 43.98 kB / 474.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006583/0.38, allocations: 340.8 kB / 475.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001137/0.3812, allocations: 1.085 MB / 476.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008984/0.3821, allocations: 0.5966 MB / 476.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3821, allocations: 0 / 476.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001339/0.3834, allocations: 387.3 kB / 477.2 MB, free: 7.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004792/0.3882, allocations: 2.87 MB / 480.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.3921, allocations: 2.043 MB / 482.1 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3921, allocations: 0 / 482.1 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.394, allocations: 1.078 MB / 483.2 MB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/0.3978, allocations: 1.076 MB / 484.3 MB, free: 228 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/0.4186, allocations: 11.84 MB / 496.1 MB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.4198, allocations: 0.7275 MB / 496.8 MB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007229/0.427, allocations: 3.378 MB / 0.4885 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003698/0.4307, allocations: 1.239 MB / 0.4897 GB, free: 14.73 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4307, allocations: 0 / 0.4897 GB, free: 14.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.269/0.6998, allocations: 52.98 MB / 0.5414 GB, free: 112.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.94, allocations: 9.719 kB / 0.5414 GB, free: 112.2 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Counter.FF[1].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[1].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.524821863975376]