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.001068/0.001068, allocations: 115.6 kB / 21.19 MB, free: 4.406 MB / 13.93 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.00111/0.00111, allocations: 230 kB / 24.48 MB, free: 1.402 MB / 13.93 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.8892/0.8892, allocations: 207.7 MB / 235.3 MB, free: 4.59 MB / 186.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 60.44 kB / 348.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1708, allocations: 49.17 MB / 397.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002466/0.1732, allocations: 2.386 MB / 400.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1749, allocations: 1.236 MB / 401.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.175, allocations: 7.938 kB / 401.5 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.1752, allocations: 67.36 kB / 401.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1753, allocations: 71.31 kB / 401.7 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.1758, allocations: 251.6 kB / 401.9 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.1771, allocations: 2.112 MB / 404 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.1776, allocations: 0.5421 MB / 404.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.1789, allocations: 2.14 MB / 406.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/0.1798, allocations: 1.242 MB / 407.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.18, allocations: 216 kB / 408.2 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.1803, allocations: 216 kB / 408.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.1807, allocations: 0.6385 MB / 409 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.1812, allocations: 0.7113 MB / 409.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.1834, allocations: 4.426 MB / 414.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1834, allocations: 0 / 414.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1834, allocations: 4 kB / 414.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.1834, allocations: 0 / 414.1 MB, free: 13.22 MB / 330.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.002108/0.1855, allocations: 2.268 MB / 416.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1856, allocations: 15.98 kB / 416.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002309/0.1858, allocations: 198.2 kB / 416.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.186, allocations: 179.9 kB / 416.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.1873, allocations: 1.008 MB / 417.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.1874, allocations: 94.91 kB / 417.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.1875, allocations: 128.4 kB / 418 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.1903, allocations: 2.314 MB / 420.3 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1903, allocations: 0 / 420.3 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.1905, allocations: 52 kB / 420.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.1906, allocations: 28 kB / 420.4 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.1937, allocations: 2.014 MB / 422.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006598/0.2003, allocations: 4.358 MB / 426.8 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.2032, allocations: 1.807 MB / 428.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.2044, allocations: 0.7481 MB / 429.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.2046, allocations: 17.31 kB / 429.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.2064, allocations: 1.388 MB / 430.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.427e-06/0.2064, allocations: 3.938 kB / 430.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=128): time 0.004681/0.2111, allocations: 2.724 MB / 433.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2111, allocations: 94.42 kB / 433.6 MB, free: 9.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.2121, allocations: 0.9411 MB / 434.5 MB, free: 8.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.2123, allocations: 101.7 kB / 434.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.2126, allocations: 474.1 kB / 435.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.2129, allocations: 321.7 kB / 435.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008973/0.2138, allocations: 0.6673 MB / 436.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.214, allocations: 406.7 kB / 436.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.2154, allocations: 0.8878 MB / 437.3 MB, free: 5.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.217, allocations: 1.076 MB / 438.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.2199, allocations: 1.953 MB / 440.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2199, allocations: 0 / 440.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003778/0.2236, allocations: 2.425 MB / 442.8 MB, free: 124 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.2237, allocations: 37.69 kB / 442.8 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2237, allocations: 80 / 442.8 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2237, allocations: 12 kB / 442.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.2241, allocations: 231.5 kB / 443.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.2241, allocations: 11.98 kB / 443.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.2246, allocations: 91.58 kB / 443.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008436/0.2254, allocations: 1.093 MB / 444.3 MB, free: 14.64 MB / 362.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.00108/0.2265, allocations: 0.9041 MB / 445.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.2268, allocations: 107.3 kB / 445.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.227, allocations: 130.3 kB / 445.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.227, allocations: 16 kB / 445.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.227, allocations: 0 / 445.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.227, allocations: 11.91 kB / 445.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.2292, allocations: 1.524 MB / 446.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.2292, allocations: 0 / 446.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.2296, allocations: 203.7 kB / 447.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.2296, allocations: 4 kB / 447.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/0.2298, allocations: 175.9 kB / 447.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.2298, allocations: 8 kB / 447.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2298, allocations: 0 / 447.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.2329, allocations: 2.079 MB / 449.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007066/0.24, allocations: 0.6024 MB / 450 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.2403, allocations: 115.9 kB / 450.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.2407, allocations: 43.98 kB / 450.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006059/0.2413, allocations: 340.8 kB / 450.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006844/0.2481, allocations: 1.085 MB / 451.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006101/0.2488, allocations: 0.5927 MB / 452.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2488, allocations: 4 kB / 452.2 MB, free: 6.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009242/0.2497, allocations: 391.3 kB / 452.6 MB, free: 6.23 MB / 362.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.009768/0.2595, allocations: 2.859 MB / 455.4 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005932/0.2654, allocations: 2.039 MB / 457.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2654, allocations: 0 / 457.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.2668, allocations: 1.09 MB / 458.6 MB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.2693, allocations: 1.076 MB / 459.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.2844, allocations: 11.84 MB / 471.5 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007981/0.2852, allocations: 0.7237 MB / 472.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005475/0.2907, allocations: 3.374 MB / 475.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/0.2932, allocations: 1.243 MB / 476.8 MB, free: 13.6 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2932, allocations: 0 / 476.8 MB, free: 13.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/0.4052, allocations: 53.08 MB / 0.5175 GB, free: 7.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.032, allocations: 11.91 kB / 0.5175 GB, free: 7.398 MB / 442.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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --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 252.0] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv --output-variables 'Counter.FF[1].RS1.TD1.x' 'Counter.FF[1].RS2.TD1.x' 'Counter.FF[2].RS1.TD1.x' 'Counter.FF[2].RS2.TD1.x' 'Counter.FF[3].RS1.TD1.x' 'Counter.FF[3].RS2.TD1.x' 'Counter.FF[4].RS1.TD1.x' 'Counter.FF[4].RS2.TD1.x' --start-time 0 --stop-time 100 --timeout 240 --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_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy_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","",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.917801490053535]