Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002371/0.002371, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 51.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2726, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004325/0.2769, allocations: 2.616 MB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.2799, allocations: 1.247 MB / 426.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.28, allocations: 11.88 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.2802, allocations: 71.36 kB / 426.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.2804, allocations: 71.31 kB / 426.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.281, allocations: 243.7 kB / 426.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.2832, allocations: 2.108 MB / 429 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008451/0.2841, allocations: 0.503 MB / 429.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.2869, allocations: 2.133 MB / 431.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.2887, allocations: 1.117 MB / 432.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005356/0.2892, allocations: 216 kB / 433 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.2897, allocations: 216 kB / 433.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000774/0.2904, allocations: 0.6348 MB / 433.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.2918, allocations: 0.8979 MB / 434.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004399/0.2962, allocations: 4.412 MB / 439.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.2962, allocations: 7.984 kB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2962, allocations: 0 / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.965e-05/0.2962, allocations: 0 / 439.1 MB, free: 14.03 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.005255/0.3015, allocations: 2.264 MB / 441.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.3015, allocations: 12.03 kB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004028/0.3019, allocations: 198.2 kB / 441.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.3024, allocations: 179.9 kB / 441.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.3048, allocations: 1.02 MB / 442.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.3049, allocations: 94.91 kB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004648/0.3054, allocations: 128.3 kB / 443 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004526/0.3099, allocations: 2.289 MB / 445.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.3099, allocations: 0 / 445.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.3101, allocations: 48 kB / 445.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.3102, allocations: 32 kB / 445.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/0.3142, allocations: 1.989 MB / 447.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009519/0.3237, allocations: 4.771 MB / 452.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/0.3278, allocations: 1.793 MB / 453.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.3294, allocations: 0.7191 MB / 454.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.3296, allocations: 13.31 kB / 454.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.3319, allocations: 1.352 MB / 456 MB, free: 12.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.597e-06/0.3319, allocations: 0 / 456 MB, free: 12.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005654/0.3376, allocations: 2.674 MB / 458.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.3377, allocations: 98.42 kB / 458.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.3395, allocations: 0.945 MB / 459.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002837/0.3397, allocations: 101.7 kB / 459.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.3403, allocations: 466.2 kB / 460.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005799/0.3409, allocations: 325.7 kB / 460.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.3423, allocations: 0.6634 MB / 461.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003323/0.3426, allocations: 410.7 kB / 461.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.3446, allocations: 0.8704 MB / 462.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.3464, allocations: 1.035 MB / 463.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/0.3501, allocations: 1.961 MB / 465.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.3501, allocations: 4 kB / 465.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004771/0.3549, allocations: 2.396 MB / 467.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.355, allocations: 41.7 kB / 468 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.355, allocations: 4 kB / 468 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.355, allocations: 11.98 kB / 468 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.3556, allocations: 223.6 kB / 468.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.416e-05/0.3556, allocations: 11.94 kB / 468.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007596/0.3564, allocations: 91.58 kB / 468.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/0.3575, allocations: 1.089 MB / 469.4 MB, free: 15.36 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.001651/0.3591, allocations: 0.9002 MB / 470.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.3595, allocations: 107.3 kB / 470.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3598, allocations: 130.3 kB / 470.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3598, allocations: 12 kB / 470.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3598, allocations: 3.984 kB / 470.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.3598, allocations: 11.92 kB / 470.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.3626, allocations: 1.734 MB / 472.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3626, allocations: 0 / 472.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.363, allocations: 211.6 kB / 472.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.3631, allocations: 4 kB / 472.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/0.3633, allocations: 175.9 kB / 472.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.3634, allocations: 4 kB / 472.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3634, allocations: 4 kB / 472.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.3673, allocations: 2.05 MB / 474.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/0.3689, allocations: 0.5985 MB / 475.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/0.3694, allocations: 119.9 kB / 475.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.3698, allocations: 47.97 kB / 475.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006768/0.3705, allocations: 336.9 kB / 475.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/0.3717, allocations: 1.089 MB / 476.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008996/0.3726, allocations: 0.5966 MB / 477.5 MB, free: 7.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3726, allocations: 0 / 477.5 MB, free: 7.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001512/0.3741, allocations: 383.3 kB / 477.9 MB, free: 6.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004963/0.3791, allocations: 2.834 MB / 480.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004292/0.3834, allocations: 1.995 MB / 482.7 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3834, allocations: 0 / 482.7 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.3856, allocations: 1.053 MB / 483.7 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/0.39, allocations: 1.077 MB / 484.8 MB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/0.4126, allocations: 11.72 MB / 496.5 MB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.4145, allocations: 1.324 MB / 497.9 MB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.008494/0.423, allocations: 3.37 MB / 0.4895 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004625/0.4276, allocations: 1.247 MB / 0.4907 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4276, allocations: 0 / 0.4907 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.33/0.7576, allocations: 50.78 MB / 0.5403 GB, free: 113.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.5, allocations: 4.266 kB / 0.5403 GB, free: 113.1 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.26017664396204]