Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 55.92 kB / 377.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2672, allocations: 53.36 MB / 431.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003847/0.271, allocations: 2.627 MB / 433.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.2736, allocations: 1.286 MB / 435 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.2738, allocations: 11.88 kB / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.274, allocations: 71.36 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2742, allocations: 75.31 kB / 435.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.2749, allocations: 239.6 kB / 435.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.2768, allocations: 2.108 MB / 437.5 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/0.2776, allocations: 0.4991 MB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.28, allocations: 2.136 MB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.2815, allocations: 1.113 MB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004231/0.282, allocations: 216 kB / 441.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.2824, allocations: 220 kB / 441.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000965/0.2833, allocations: 0.6347 MB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.2844, allocations: 0.8979 MB / 443.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.2884, allocations: 4.412 MB / 447.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2884, allocations: 0 / 447.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2884, allocations: 4 kB / 447.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-05/0.2885, allocations: 0 / 447.7 MB, free: 6.285 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.003843/0.2923, allocations: 2.272 MB / 449.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2924, allocations: 8.031 kB / 449.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003441/0.2927, allocations: 198.2 kB / 450.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.2931, allocations: 179.9 kB / 450.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.2952, allocations: 1.016 MB / 451.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.2953, allocations: 94.91 kB / 451.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.2956, allocations: 128.3 kB / 451.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/0.2996, allocations: 2.285 MB / 453.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.2996, allocations: 0 / 453.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.2999, allocations: 60.06 kB / 453.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.2999, allocations: 32 kB / 453.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003866/0.3038, allocations: 1.985 MB / 455.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008813/0.3126, allocations: 4.767 MB / 460.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.3161, allocations: 1.789 MB / 462.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.3174, allocations: 0.723 MB / 463.2 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.3177, allocations: 17.3 kB / 463.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.3198, allocations: 1.355 MB / 464.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.3198, allocations: 0 / 464.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.004936/0.3247, allocations: 2.666 MB / 467.2 MB, free: 2.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.3248, allocations: 98.42 kB / 467.3 MB, free: 2.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3262, allocations: 0.9489 MB / 468.3 MB, free: 1.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.3264, allocations: 97.66 kB / 468.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.3268, allocations: 474.1 kB / 468.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000425/0.3273, allocations: 329.7 kB / 469.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009889/0.3283, allocations: 0.6673 MB / 469.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.3285, allocations: 402.7 kB / 470.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.3301, allocations: 0.8705 MB / 471.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.3317, allocations: 1.043 MB / 472.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.3349, allocations: 1.949 MB / 474.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.3349, allocations: 3.938 kB / 474.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00422/0.3391, allocations: 2.4 MB / 476.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.3392, allocations: 33.7 kB / 476.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3392, allocations: 8.031 kB / 476.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.3392, allocations: 8 kB / 476.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.3397, allocations: 231.5 kB / 476.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.3397, allocations: 8.625 kB / 476.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.3404, allocations: 83.69 kB / 476.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.3414, allocations: 1.085 MB / 477.9 MB, free: 7.621 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.001456/0.3429, allocations: 0.9079 MB / 478.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.3432, allocations: 111.3 kB / 478.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.3434, allocations: 130.3 kB / 479.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.3434, allocations: 12 kB / 479.1 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3434, allocations: 7.938 kB / 479.1 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.3435, allocations: 7.922 kB / 479.1 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.3458, allocations: 1.734 MB / 480.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3458, allocations: 7.984 kB / 480.8 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.3462, allocations: 207.7 kB / 481 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.3463, allocations: 4 kB / 481.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/0.3465, allocations: 175.9 kB / 481.2 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3465, allocations: 4 kB / 481.2 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3465, allocations: 0 / 481.2 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.3501, allocations: 2.038 MB / 483.3 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.3515, allocations: 0.6024 MB / 483.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/0.3519, allocations: 115.9 kB / 484 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.3523, allocations: 51.91 kB / 484 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/0.3529, allocations: 340.8 kB / 484.4 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001017/0.354, allocations: 1.085 MB / 485.4 MB, free: 0 / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007771/0.3547, allocations: 0.5966 MB / 486 MB, free: 15.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3547, allocations: 0 / 486 MB, free: 15.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001213/0.356, allocations: 383.4 kB / 486.4 MB, free: 15.03 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.004257/0.3602, allocations: 2.838 MB / 489.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003567/0.3638, allocations: 1.993 MB / 491.2 MB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3638, allocations: 3.938 kB / 491.3 MB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.3656, allocations: 1.053 MB / 492.3 MB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.369, allocations: 1.073 MB / 493.4 MB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.3879, allocations: 11.71 MB / 0.4933 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.3892, allocations: 1.312 MB / 0.4945 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00655/0.3957, allocations: 3.37 MB / 0.4978 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003216/0.3989, allocations: 1.247 MB / 0.499 GB, free: 6.188 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3989, allocations: 4 kB / 0.4991 GB, free: 6.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2842/0.6831, allocations: 50.78 MB / 0.5486 GB, free: 101.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.91, allocations: 9.484 kB / 0.5486 GB, free: 101.7 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[1].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS1.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS1.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS1.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.532492189999175]