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.0008418/0.0008418, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008456/0.0008456, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8747/0.8747, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 3.527e-06/3.527e-06, allocations: 3.984 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.305e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002095/0.002108, allocations: 2.395 MB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.003999, allocations: 1.235 MB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.004101, allocations: 7.938 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.004256, allocations: 71.36 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.004372, allocations: 67.27 kB / 328.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.004816, allocations: 251.6 kB / 328.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.005969, allocations: 2.143 MB / 330.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005391/0.006508, allocations: 0.5381 MB / 331.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.00813, allocations: 2.473 MB / 333.7 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.009324, allocations: 1.173 MB / 334.9 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.009617, allocations: 216 kB / 335.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.009883, allocations: 216 kB / 335.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.01029, allocations: 0.6463 MB / 336 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.01078, allocations: 0.6075 MB / 336.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.01329, allocations: 4.588 MB / 341.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.01329, allocations: 0 / 341.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01329, allocations: 4 kB / 341.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.921e-05/0.01335, allocations: 0 / 341.2 MB, free: 15.24 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.002914/0.01626, allocations: 2.302 MB / 343.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.0163, allocations: 12.03 kB / 343.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/0.01655, allocations: 202.2 kB / 343.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.01681, allocations: 175.9 kB / 343.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.01786, allocations: 1.012 MB / 344.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.01792, allocations: 102.9 kB / 345 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.01814, allocations: 124.4 kB / 345.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.0206, allocations: 2.346 MB / 347.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.02062, allocations: 192 / 347.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.02078, allocations: 56.12 kB / 347.5 MB, free: 8.801 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.0208, allocations: 32 kB / 347.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.02334, allocations: 2.03 MB / 349.6 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.02791, allocations: 4.416 MB / 354 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.02997, allocations: 1.846 MB / 355.8 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.03104, allocations: 0.7598 MB / 356.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.03116, allocations: 13.31 kB / 356.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.03238, allocations: 1.408 MB / 358 MB, free: 14.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.615e-06/0.03238, allocations: 0 / 358 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003019/0.0354, allocations: 2.786 MB / 360.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.03545, allocations: 94.42 kB / 360.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.03618, allocations: 0.9489 MB / 361.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.03632, allocations: 101.7 kB / 361.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.03654, allocations: 470.2 kB / 362.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.0368, allocations: 333.7 kB / 362.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008033/0.0376, allocations: 0.6907 MB / 363.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.03773, allocations: 410.7 kB / 363.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009646/0.03869, allocations: 0.9034 MB / 364.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.03977, allocations: 1.084 MB / 365.8 MB, free: 6.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.0417, allocations: 1.981 MB / 367.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.04171, allocations: 0 / 367.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002738/0.04444, allocations: 2.476 MB / 370.2 MB, free: 1.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.04448, allocations: 33.7 kB / 370.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.04449, allocations: 0 / 370.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.0445, allocations: 12 kB / 370.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.04477, allocations: 239.6 kB / 370.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.04478, allocations: 11.94 kB / 370.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.04511, allocations: 91.7 kB / 370.6 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006055/0.04572, allocations: 1.093 MB / 371.7 MB, free: 240 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007658/0.04648, allocations: 0.9158 MB / 372.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.04665, allocations: 111.3 kB / 372.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.04677, allocations: 134.3 kB / 372.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.04677, allocations: 16 kB / 372.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.04678, allocations: 0 / 372.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.04679, allocations: 3.984 kB / 372.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.0481, allocations: 1.524 MB / 374.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.0481, allocations: 0 / 374.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.04832, allocations: 215.7 kB / 374.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.04832, allocations: 8 kB / 374.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.04847, allocations: 183.9 kB / 374.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.04847, allocations: 7.938 kB / 374.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.04848, allocations: 0 / 374.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.05061, allocations: 2.118 MB / 376.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/0.05151, allocations: 0.6141 MB / 377.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.05173, allocations: 119.9 kB / 377.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.05199, allocations: 55.97 kB / 377.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/0.05237, allocations: 348.9 kB / 378.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000583/0.05296, allocations: 1.093 MB / 379.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004416/0.0534, allocations: 0.5927 MB / 379.8 MB, free: 8.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0534, allocations: 4 kB / 379.8 MB, free: 8.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006339/0.05403, allocations: 387.4 kB / 380.1 MB, free: 7.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002558/0.05659, allocations: 2.929 MB / 383.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.05893, allocations: 2.079 MB / 385.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.05893, allocations: 3.938 kB / 385.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.05996, allocations: 1.105 MB / 386.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.0618, allocations: 1.071 MB / 387.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.07368, allocations: 12.03 MB / 399.4 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.07429, allocations: 0.7237 MB / 400.1 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003669/0.07796, allocations: 3.367 MB / 403.5 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/0.07984, allocations: 1.272 MB / 404.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.07984, allocations: 0 / 404.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.177/0.2568, allocations: 52.95 MB / 457.7 MB, free: 115.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.259, allocations: 9.125 kB / 457.7 MB, free: 115.7 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_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: 10.061148817650974]