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.002181/0.002181, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002282/0.002282, allocations: 186.2 kB / 23.72 MB, free: 4.684 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.43/1.43, 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.001586/0.001586, allocations: 55.91 kB / 370.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2693, 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.004577/0.2738, allocations: 2.619 MB / 425.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.2771, allocations: 1.243 MB / 426.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.2772, allocations: 15.88 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.2774, allocations: 63.38 kB / 426.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.2776, allocations: 75.3 kB / 426.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.2783, allocations: 243.6 kB / 426.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.2806, allocations: 2.104 MB / 429 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008332/0.2814, allocations: 0.503 MB / 429.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.2842, allocations: 2.137 MB / 431.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.286, allocations: 1.117 MB / 432.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005039/0.2865, allocations: 216 kB / 433 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.287, allocations: 219.9 kB / 433.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008738/0.2879, allocations: 0.6425 MB / 433.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.2892, allocations: 0.8979 MB / 434.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004497/0.2937, allocations: 4.404 MB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2937, allocations: 0 / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2937, allocations: 4 kB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.976e-05/0.2938, 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.004588/0.2984, allocations: 2.275 MB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.2984, allocations: 8.031 kB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003885/0.2988, allocations: 202.2 kB / 441.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.2993, allocations: 179.9 kB / 441.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.3015, allocations: 1.012 MB / 442.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3016, allocations: 98.84 kB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.3019, allocations: 124.4 kB / 443 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004629/0.3065, allocations: 2.289 MB / 445.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.3065, allocations: 7.984 kB / 445.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.3068, allocations: 48 kB / 445.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.3068, allocations: 32 kB / 445.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.3106, allocations: 1.977 MB / 447.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/0.3194, allocations: 4.767 MB / 452.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.3231, allocations: 1.801 MB / 453.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3245, allocations: 0.7229 MB / 454.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.3248, allocations: 13.31 kB / 454.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002243/0.327, allocations: 1.348 MB / 456 MB, free: 12.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.327, allocations: 4 kB / 456 MB, free: 12.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.00536/0.3324, allocations: 2.674 MB / 458.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.3325, allocations: 90.42 kB / 458.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.334, allocations: 0.9489 MB / 459.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002981/0.3343, allocations: 101.7 kB / 459.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.3348, allocations: 470.2 kB / 460.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/0.3352, allocations: 329.7 kB / 460.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.3363, allocations: 0.6673 MB / 461.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.3366, allocations: 402.7 kB / 461.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.3382, allocations: 0.8588 MB / 462.5 MB, free: 6.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.34, allocations: 1.043 MB / 463.6 MB, free: 5.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.3434, allocations: 1.945 MB / 465.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3434, allocations: 4 kB / 465.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004954/0.3484, allocations: 2.403 MB / 467.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.3484, allocations: 33.7 kB / 468 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3485, allocations: 3.984 kB / 468 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.3485, allocations: 12 kB / 468 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.349, allocations: 223.6 kB / 468.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.3491, allocations: 23.89 kB / 468.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/0.3498, allocations: 83.59 kB / 468.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/0.351, allocations: 1.096 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.001702/0.3527, allocations: 0.8963 MB / 470.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/0.3531, allocations: 107.3 kB / 470.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.3534, allocations: 134.3 kB / 470.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.3534, allocations: 15.94 kB / 470.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3534, allocations: 0 / 470.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.3534, allocations: 11.91 kB / 470.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.3563, allocations: 1.73 MB / 472.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.3564, allocations: 7.984 kB / 472.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.3568, allocations: 203.7 kB / 472.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.3568, allocations: 8 kB / 472.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002963/0.3571, allocations: 175.9 kB / 472.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.3572, allocations: 4 kB / 472.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3572, allocations: 0 / 472.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.3611, allocations: 2.042 MB / 474.7 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.3627, allocations: 0.5985 MB / 475.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004327/0.3632, allocations: 119.9 kB / 475.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.3636, allocations: 47.98 kB / 475.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006863/0.3643, allocations: 340.8 kB / 475.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001103/0.3654, allocations: 1.081 MB / 476.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008519/0.3662, allocations: 0.5966 MB / 477.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3662, allocations: 0 / 477.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001337/0.3675, allocations: 383.3 kB / 477.9 MB, free: 6.785 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.004606/0.3722, allocations: 2.845 MB / 480.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.3762, allocations: 1.999 MB / 482.7 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3763, allocations: 4.062 kB / 482.7 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.3783, allocations: 1.049 MB / 483.8 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.003724/0.382, allocations: 1.071 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.02279/0.4048, allocations: 11.73 MB / 496.6 MB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.4062, allocations: 1.324 MB / 497.9 MB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007646/0.4138, allocations: 3.359 MB / 0.4895 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003402/0.4172, allocations: 1.251 MB / 0.4907 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4172, allocations: 0 / 0.4907 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2949/0.7122, allocations: 50.77 MB / 0.5403 GB, free: 113.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.03, allocations: 6.094 kB / 0.5403 GB, free: 113.2 MB / 446.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/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] "Error: Could not read variable Counter.FF[1].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[1].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.685350226001901]