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.0008872/0.0008872, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.004939/0.004939, allocations: 164 kB / 24.7 MB, free: 9.414 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.8529/0.8529, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.673e-06/1.673e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.831e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003042/0.00306, allocations: 2.383 MB / 300.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1328/0.1358, allocations: 1.223 MB / 302 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.1361, allocations: 9.75 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.1363, allocations: 69.38 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1365, allocations: 78.81 kB / 302.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.1372, allocations: 252.3 kB / 302.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.1386, allocations: 2.132 MB / 304.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005805/0.1392, allocations: 0.5408 MB / 305.1 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.1412, allocations: 2.472 MB / 307.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.1424, allocations: 1.17 MB / 308.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004718/0.1429, allocations: 216.9 kB / 309 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.1432, allocations: 217 kB / 309.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.1437, allocations: 0.6459 MB / 309.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005203/0.1442, allocations: 0.6092 MB / 310.4 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.147, allocations: 4.594 MB / 315 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.147, allocations: 0 / 315 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.147, allocations: 0 / 315 MB, free: 8.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.147, allocations: 0 / 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.002935/0.15, allocations: 2.296 MB / 317.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.15, allocations: 13.14 kB / 317.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003011/0.1503, allocations: 204.4 kB / 317.5 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.1507, allocations: 177.2 kB / 317.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1521, allocations: 1.025 MB / 318.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/0.1522, allocations: 104.2 kB / 318.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.1525, allocations: 125.1 kB / 319 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.1552, allocations: 2.335 MB / 321.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1552, allocations: 4.172 kB / 321.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.1554, allocations: 62.84 kB / 321.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.1554, allocations: 33.84 kB / 321.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.158, allocations: 2.031 MB / 323.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005093/0.1631, allocations: 4.408 MB / 327.8 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.1653, allocations: 1.844 MB / 329.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008552/0.1662, allocations: 0.7637 MB / 330.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.1663, allocations: 15.38 kB / 330.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.1677, allocations: 1.408 MB / 331.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 2.735e-06/0.1677, allocations: 0 / 331.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.003397/0.1711, allocations: 2.782 MB / 334.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1711, allocations: 94.42 kB / 334.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.1719, allocations: 0.9451 MB / 335.7 MB, free: 9.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.172, allocations: 105.7 kB / 335.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.1722, allocations: 474.1 kB / 336.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.1725, allocations: 327.5 kB / 336.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006489/0.1732, allocations: 0.6869 MB / 337.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1733, allocations: 410.7 kB / 337.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009588/0.1743, allocations: 0.9034 MB / 338.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.1753, allocations: 1.077 MB / 339.6 MB, free: 5.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.1773, allocations: 1.983 MB / 341.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1773, allocations: 3.938 kB / 341.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002474/0.1798, allocations: 2.479 MB / 344.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.1798, allocations: 29.7 kB / 344.1 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1799, allocations: 4 kB / 344.1 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1799, allocations: 10.86 kB / 344.1 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.1802, allocations: 244.2 kB / 344.4 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.1802, allocations: 8.625 kB / 344.4 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.1805, allocations: 87.7 kB / 344.5 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000698/0.1812, allocations: 1.112 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.0008372/0.182, allocations: 0.9192 MB / 346.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.1822, allocations: 111.3 kB / 346.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.1824, allocations: 130.3 kB / 346.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.1824, allocations: 15.98 kB / 346.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1824, allocations: 3.562 kB / 346.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1824, allocations: 3.984 kB / 346.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1839, allocations: 1.527 MB / 348.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1839, allocations: 0 / 348.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.1841, allocations: 215.7 kB / 348.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1841, allocations: 4 kB / 348.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.1843, allocations: 187.9 kB / 348.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1843, allocations: 4 kB / 348.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1843, allocations: 0 / 348.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.1865, allocations: 2.118 MB / 350.8 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006944/0.1872, allocations: 0.6024 MB / 351.4 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.1875, allocations: 123.9 kB / 351.5 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1877, allocations: 59.91 kB / 351.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/0.1882, allocations: 340.9 kB / 351.9 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006251/0.1888, allocations: 1.093 MB / 353 MB, free: 7.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004504/0.1892, allocations: 0.5927 MB / 353.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1892, allocations: 0 / 353.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007394/0.19, allocations: 391.3 kB / 354 MB, free: 6.523 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.002939/0.1929, allocations: 2.924 MB / 356.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.195, allocations: 2.084 MB / 359 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.195, allocations: 0 / 359 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.1961, allocations: 1.102 MB / 360.1 MB, free: 340 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.1981, allocations: 1.074 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.01282/0.2109, allocations: 12.03 MB / 373.2 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.2116, allocations: 0.7276 MB / 373.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.005594/0.2172, 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.002229/0.2194, allocations: 1.272 MB / 378.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.193e-06/0.2194, allocations: 0 / 378.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05616/0.2756, allocations: 52.94 MB / 431.5 MB, free: 7.535 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.285, allocations: 3.984 kB / 431.5 MB, free: 7.531 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/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] "Error: Could not read variable Counter.FF[1].RS1.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS1.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[1].RS2.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS2.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS1.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS1.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS2.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS2.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS1.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS1.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS2.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS2.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS1.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS1.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS2.TD1.x in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS2.TD1.x from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.063339089043438]