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.001315/0.001315, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001473/0.001473, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.91 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2766, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004317/0.2809, allocations: 2.376 MB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.2836, allocations: 1.232 MB / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2838, allocations: 7.938 kB / 434.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.284, allocations: 67.36 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.2841, allocations: 67.33 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.2848, allocations: 251.6 kB / 435.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.2868, allocations: 2.108 MB / 437.2 MB, free: 340 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008863/0.2877, allocations: 0.5476 MB / 437.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.2903, allocations: 2.144 MB / 439.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.2922, allocations: 1.234 MB / 441.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004951/0.2927, allocations: 219.9 kB / 441.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.2931, allocations: 216 kB / 441.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007057/0.2938, allocations: 0.6385 MB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.295, allocations: 0.7113 MB / 442.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.299, allocations: 4.423 MB / 447.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.299, allocations: 4 kB / 447.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.299, allocations: 0 / 447.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.809e-05/0.2991, allocations: 4 kB / 447.4 MB, free: 6.145 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.00445/0.3035, allocations: 2.275 MB / 449.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3036, allocations: 15.98 kB / 449.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003714/0.304, allocations: 198.2 kB / 449.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.3044, allocations: 175.9 kB / 450 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.3068, allocations: 1.012 MB / 451 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3069, allocations: 94.91 kB / 451.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.3073, allocations: 124.4 kB / 451.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/0.3115, allocations: 2.318 MB / 453.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.3115, allocations: 0 / 453.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.3118, allocations: 52 kB / 453.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.3118, allocations: 28 kB / 453.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.3158, allocations: 2.006 MB / 455.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009414/0.3253, allocations: 4.358 MB / 460 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.3292, allocations: 1.819 MB / 461.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.3308, allocations: 0.748 MB / 462.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.331, allocations: 17.31 kB / 462.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002478/0.3335, allocations: 1.388 MB / 464 MB, free: 5.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.819e-06/0.3335, allocations: 0 / 464 MB, free: 5.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.0057/0.3392, allocations: 2.716 MB / 466.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3393, allocations: 102.4 kB / 466.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.3411, allocations: 0.945 MB / 467.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005257/0.3417, allocations: 101.7 kB / 467.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006516/0.3423, allocations: 470.1 kB / 468.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/0.343, allocations: 333.6 kB / 468.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.3441, allocations: 0.6634 MB / 469.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.3444, allocations: 410.7 kB / 469.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.3462, allocations: 0.8878 MB / 470.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.3481, allocations: 1.072 MB / 471.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/0.3519, allocations: 1.949 MB / 473.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.3519, allocations: 0 / 473.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00468/0.3565, allocations: 2.433 MB / 476 MB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.3566, allocations: 37.64 kB / 476.1 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3566, allocations: 0 / 476.1 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/0.3566, allocations: 15.98 kB / 476.1 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.3572, allocations: 231.5 kB / 476.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.3572, allocations: 11.98 kB / 476.3 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.3579, allocations: 79.66 kB / 476.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/0.3591, allocations: 1.093 MB / 477.5 MB, free: 7.559 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.001588/0.3606, allocations: 0.904 MB / 478.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.361, allocations: 107.3 kB / 478.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.3612, allocations: 134.3 kB / 478.6 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.3613, allocations: 12 kB / 478.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3613, allocations: 4 kB / 478.7 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.3613, allocations: 11.91 kB / 478.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.3637, allocations: 1.508 MB / 480.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.3637, allocations: 3.984 kB / 480.2 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.3642, allocations: 203.7 kB / 480.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.3642, allocations: 4 kB / 480.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/0.3645, allocations: 179.9 kB / 480.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.3645, allocations: 4 kB / 480.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3645, allocations: 0 / 480.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00402/0.3685, allocations: 2.067 MB / 482.6 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/0.3703, allocations: 0.5985 MB / 483.2 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000489/0.3708, allocations: 119.9 kB / 483.3 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.3712, allocations: 47.97 kB / 483.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000695/0.3719, allocations: 340.8 kB / 483.7 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001141/0.3731, allocations: 1.085 MB / 484.8 MB, free: 144 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009065/0.374, allocations: 0.5966 MB / 485.4 MB, free: 15.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.374, allocations: 0 / 485.4 MB, free: 15.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001469/0.3754, allocations: 387.4 kB / 485.8 MB, free: 15.16 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.00466/0.3801, allocations: 2.87 MB / 488.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004033/0.3841, allocations: 2.048 MB / 490.7 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3841, allocations: 0 / 490.7 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.3861, allocations: 1.086 MB / 491.8 MB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/0.3898, allocations: 1.076 MB / 492.9 MB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.4098, allocations: 11.84 MB / 0.4929 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.4108, allocations: 0.7198 MB / 0.4936 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007127/0.418, allocations: 3.37 MB / 0.4969 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003801/0.4218, allocations: 1.251 MB / 0.4981 GB, free: 6.586 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4218, allocations: 0 / 0.4981 GB, free: 6.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3151/0.7368, allocations: 52.96 MB / 0.5498 GB, free: 99.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.13, allocations: 4 kB / 0.5498 GB, free: 99.7 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/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_trunk_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: 15.934492943808436]