Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 87.67 kB / 21.43 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003998/0.003998, allocations: 153.1 kB / 24.69 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9327/0.9327, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.25e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002729/0.002751, allocations: 2.379 MB / 300.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1491/0.1518, allocations: 1.222 MB / 302 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.1522, allocations: 12.53 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1524, allocations: 67.12 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1526, allocations: 78.36 kB / 302.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.1533, allocations: 255.5 kB / 302.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.1549, allocations: 2.131 MB / 304.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008838/0.1558, allocations: 0.5405 MB / 305.1 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.1588, allocations: 2.469 MB / 307.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.1606, allocations: 1.172 MB / 308.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000634/0.1612, allocations: 216.6 kB / 309 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.1617, allocations: 220.7 kB / 309.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005318/0.1622, allocations: 0.6478 MB / 309.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.1632, allocations: 0.6016 MB / 310.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.1675, allocations: 4.594 MB / 315 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1675, allocations: 0 / 315 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1675, allocations: 0 / 315 MB, free: 8.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001241/0.1676, allocations: 1.031 kB / 315 MB, free: 8.645 MB / 282.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.005978/0.1736, allocations: 2.298 MB / 317.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1736, allocations: 16.2 kB / 317.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004921/0.1741, allocations: 200.5 kB / 317.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.1747, allocations: 179.2 kB / 317.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.1763, allocations: 1.021 MB / 318.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.1764, allocations: 105.5 kB / 318.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.1767, allocations: 124.8 kB / 319 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.1803, allocations: 2.335 MB / 321.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.1803, allocations: 3.719 kB / 321.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.1805, allocations: 62.08 kB / 321.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.1806, allocations: 35.56 kB / 321.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.1838, allocations: 2.03 MB / 323.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006945/0.1908, allocations: 4.409 MB / 327.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.1934, allocations: 1.848 MB / 329.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.1944, allocations: 0.7637 MB / 330.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.1946, allocations: 13.31 kB / 330.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.1961, allocations: 1.404 MB / 331.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 4.498e-06/0.1961, allocations: 1.969 kB / 331.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.003542/0.1997, allocations: 2.782 MB / 334.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.1998, allocations: 98.42 kB / 334.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.2009, allocations: 0.9451 MB / 335.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.2012, allocations: 105.7 kB / 335.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.2016, allocations: 466.2 kB / 336.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.2019, allocations: 331.7 kB / 336.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007895/0.2027, allocations: 0.683 MB / 337.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2029, allocations: 410.7 kB / 337.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.204, allocations: 0.9112 MB / 338.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.2052, allocations: 1.08 MB / 339.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.2073, allocations: 1.981 MB / 341.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.2073, allocations: 0 / 341.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003084/0.2104, allocations: 2.479 MB / 344.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.2105, allocations: 33.7 kB / 344.1 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2105, allocations: 4.078 kB / 344.1 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.2105, allocations: 8 kB / 344.1 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.2108, allocations: 243.1 kB / 344.4 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.2108, allocations: 15.92 kB / 344.4 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.2114, allocations: 87.7 kB / 344.5 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008226/0.2123, allocations: 1.1 MB / 345.6 MB, free: 15 MB / 314.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.001499/0.2138, allocations: 0.9231 MB / 346.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.2141, allocations: 111.3 kB / 346.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.2145, allocations: 126.3 kB / 346.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2145, allocations: 12 kB / 346.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.2145, allocations: 7.562 kB / 346.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2145, allocations: 15.91 kB / 346.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.2164, allocations: 1.521 MB / 348.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.2164, allocations: 0 / 348.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.2167, allocations: 215.7 kB / 348.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.2167, allocations: 4 kB / 348.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.2169, allocations: 183.9 kB / 348.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2169, allocations: 4 kB / 348.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2169, allocations: 3.938 kB / 348.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.2198, allocations: 2.122 MB / 350.8 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/0.2207, allocations: 0.5985 MB / 351.4 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.2211, allocations: 123.9 kB / 351.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.2216, allocations: 55.97 kB / 351.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/0.2221, allocations: 344.9 kB / 351.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008086/0.2229, allocations: 1.089 MB / 353 MB, free: 7.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000682/0.2236, allocations: 0.5927 MB / 353.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2236, allocations: 0 / 353.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001592/0.2252, allocations: 387.4 kB / 354 MB, free: 6.527 MB / 314.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.003487/0.2287, allocations: 2.932 MB / 356.9 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.2318, allocations: 2.081 MB / 359 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.2318, allocations: 0 / 359 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.2333, allocations: 1.105 MB / 360.1 MB, free: 336 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/0.2361, allocations: 1.075 MB / 361.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.2541, allocations: 12.03 MB / 373.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.2549, allocations: 0.7198 MB / 373.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.01085/0.2657, allocations: 3.367 MB / 377.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008019/0.2737, allocations: 1.279 MB / 378.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.784e-06/0.2737, allocations: 4 kB / 378.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07369/0.3474, allocations: 52.94 MB / 431.5 MB, free: 7.527 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.48, allocations: 0 / 431.5 MB, free: 7.527 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.332336072809994]