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.001585/0.001585, allocations: 116.5 kB / 20.44 MB, free: 4.594 MB / 13.93 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.00174/0.00174, allocations: 213.3 kB / 23.73 MB, free: 2.125 MB / 13.93 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.044/1.044, allocations: 231.1 MB / 258 MB, free: 8.914 MB / 202.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 380.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2568, allocations: 53.56 MB / 433.8 MB, free: 2.434 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002178/0.259, allocations: 2.386 MB / 436.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2608, allocations: 1.217 MB / 437.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.2609, allocations: 12.59 kB / 437.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.261, allocations: 67.73 kB / 437.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2612, allocations: 79.02 kB / 437.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.2617, allocations: 244.2 kB / 437.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.263, allocations: 2.11 MB / 439.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.2636, allocations: 0.5372 MB / 440.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.2653, allocations: 2.142 MB / 442.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.2665, allocations: 1.241 MB / 443.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.2668, allocations: 216 kB / 444 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.2671, allocations: 216 kB / 444.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.2675, allocations: 0.6424 MB / 444.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.2681, allocations: 0.7152 MB / 445.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.2704, allocations: 4.423 MB / 450 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2704, allocations: 0 / 450 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2704, allocations: 0 / 450 MB, free: 5.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.2704, allocations: 0 / 450 MB, free: 5.598 MB / 346.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.002428/0.2728, allocations: 2.279 MB / 452.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2729, allocations: 12.03 kB / 452.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.2731, allocations: 198.2 kB / 452.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.2734, allocations: 175.9 kB / 452.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2745, allocations: 1.012 MB / 453.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.2745, allocations: 94.91 kB / 453.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.2747, allocations: 128.4 kB / 453.9 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.2771, allocations: 2.314 MB / 456.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2772, allocations: 0 / 456.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.2773, allocations: 60 kB / 456.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.2775, allocations: 31.94 kB / 456.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.2797, allocations: 2.006 MB / 458.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.2843, allocations: 4.346 MB / 462.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.2865, allocations: 1.826 MB / 464.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.2873, allocations: 0.7481 MB / 465.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.2874, allocations: 17.25 kB / 465.2 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.2887, allocations: 1.381 MB / 466.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 2.665e-06/0.2887, allocations: 4 kB / 466.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=128): time 0.003015/0.2917, allocations: 2.716 MB / 469.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.2918, allocations: 98.42 kB / 469.4 MB, free: 1.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/0.2925, allocations: 0.9411 MB / 470.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.2926, allocations: 109.5 kB / 470.5 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.2929, allocations: 470.2 kB / 470.9 MB, free: 356 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.2932, allocations: 329.6 kB / 471.3 MB, free: 24 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006464/0.2938, allocations: 0.6673 MB / 471.9 MB, free: 15.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.294, allocations: 406.7 kB / 472.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009339/0.2949, allocations: 0.8878 MB / 473.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2959, allocations: 1.076 MB / 474.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.2978, allocations: 1.945 MB / 476.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2978, allocations: 3.938 kB / 476.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002536/0.3003, allocations: 2.428 MB / 478.7 MB, free: 8.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.3004, allocations: 44.38 kB / 478.7 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3004, allocations: 0 / 478.7 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3004, allocations: 12 kB / 478.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3007, allocations: 231.5 kB / 478.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3007, allocations: 8 kB / 479 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.301, allocations: 83.64 kB / 479 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005998/0.3016, allocations: 1.089 MB / 480.1 MB, free: 7.012 MB / 378.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.0007862/0.3024, allocations: 0.9079 MB / 481 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.3025, allocations: 107.3 kB / 481.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.3026, allocations: 130.3 kB / 481.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3026, allocations: 12 kB / 481.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.3027, allocations: 3.984 kB / 481.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.3027, allocations: 11.91 kB / 481.3 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3039, allocations: 1.508 MB / 482.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3039, allocations: 8 kB / 482.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.3042, allocations: 203.7 kB / 483 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3042, allocations: 4 kB / 483 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.3043, allocations: 175.9 kB / 483.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3043, allocations: 4 kB / 483.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3043, allocations: 0 / 483.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.3066, allocations: 2.071 MB / 485.3 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006746/0.3073, allocations: 0.6024 MB / 485.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.3075, allocations: 119.9 kB / 486 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.3077, allocations: 43.98 kB / 486 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/0.3081, allocations: 340.8 kB / 486.3 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005861/0.3087, allocations: 1.085 MB / 487.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004394/0.3092, allocations: 0.5927 MB / 488 MB, free: 15 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3092, allocations: 0 / 488 MB, free: 15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005835/0.3097, allocations: 383.4 kB / 488.4 MB, free: 14.62 MB / 394.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.002594/0.3123, allocations: 2.87 MB / 491.3 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.3146, allocations: 2.056 MB / 493.3 MB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.3146, allocations: 0 / 493.3 MB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3157, allocations: 1.086 MB / 494.4 MB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.3175, allocations: 1.066 MB / 495.5 MB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.3287, allocations: 11.84 MB / 0.4954 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/0.3293, allocations: 0.7237 MB / 0.4961 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003658/0.333, allocations: 3.367 MB / 0.4994 GB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/0.3356, allocations: 1.247 MB / 0.5006 GB, free: 6.035 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3356, allocations: 3.938 kB / 0.5006 GB, free: 6.031 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/0.458, allocations: 53.06 MB / 0.5525 GB, free: 260 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.45, allocations: 11.02 kB / 0.5525 GB, free: 252 kB / 458.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv --output-variables 'Counter.FF[1].RS1.TD1.x' 'Counter.FF[1].RS2.TD1.x' 'Counter.FF[2].RS1.TD1.x' 'Counter.FF[2].RS2.TD1.x' 'Counter.FF[3].RS1.TD1.x' 'Counter.FF[3].RS2.TD1.x' 'Counter.FF[4].RS1.TD1.x' 'Counter.FF[4].RS2.TD1.x' --start-time 0 --stop-time 100 --timeout 240 --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_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.539210418239236]