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.001232/0.001232, allocations: 111.8 kB / 20.43 MB, free: 4.598 MB / 13.93 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.001114/0.001114, allocations: 193.3 kB / 23.71 MB, free: 2.148 MB / 13.93 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 0.9121/0.9121, allocations: 225.7 MB / 252.5 MB, free: 14.41 MB / 202.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 51.92 kB / 372 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2075, allocations: 52.19 MB / 424.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002305/0.2098, allocations: 2.377 MB / 426.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2115, allocations: 1.185 MB / 427.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2116, allocations: 8.062 kB / 427.7 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.2118, allocations: 73.8 kB / 427.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2119, allocations: 66.95 kB / 427.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.2124, allocations: 247.5 kB / 428.1 MB, free: 5.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2136, allocations: 2.115 MB / 430.2 MB, free: 3.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005059/0.2141, allocations: 0.5423 MB / 430.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.2154, allocations: 2.146 MB / 432.9 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008619/0.2163, allocations: 1.237 MB / 434.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003137/0.2166, allocations: 220.8 kB / 434.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.2169, allocations: 217.1 kB / 434.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.2173, allocations: 0.641 MB / 435.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.2177, allocations: 0.7029 MB / 435.9 MB, free: 1.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.2198, allocations: 4.426 MB / 440.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2198, allocations: 0.9375 kB / 440.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2198, allocations: 0 / 440.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.2198, allocations: 3.938 kB / 440.3 MB, free: 13.61 MB / 346.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.002439/0.2223, allocations: 2.276 MB / 442.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2223, allocations: 12.03 kB / 442.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/0.2225, allocations: 198.2 kB / 442.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.2228, allocations: 179.8 kB / 443 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.2239, allocations: 1.024 MB / 444 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.224, allocations: 94.91 kB / 444.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.2242, allocations: 120.4 kB / 444.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.2266, allocations: 2.314 MB / 446.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2267, allocations: 0 / 446.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.2268, allocations: 55.98 kB / 446.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2268, allocations: 36 kB / 446.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.2292, allocations: 2.006 MB / 448.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/0.2339, allocations: 4.342 MB / 453 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.2361, allocations: 1.822 MB / 454.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/0.2369, allocations: 0.748 MB / 455.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.2371, allocations: 17.31 kB / 455.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.2383, allocations: 1.377 MB / 456.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 2.655e-06/0.2383, allocations: 0 / 456.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=128): time 0.003074/0.2414, allocations: 2.728 MB / 459.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2415, allocations: 90.42 kB / 459.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.2422, allocations: 0.9605 MB / 460.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.2423, allocations: 97.66 kB / 460.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.2426, allocations: 478.1 kB / 461.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.2428, allocations: 325.7 kB / 461.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007944/0.2436, allocations: 0.6673 MB / 462.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2438, allocations: 402.7 kB / 462.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009789/0.2447, allocations: 0.8878 MB / 463.5 MB, free: 6.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.2458, allocations: 1.068 MB / 464.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.2477, allocations: 1.953 MB / 466.6 MB, free: 3.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2477, allocations: 0 / 466.6 MB, free: 3.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002646/0.2503, allocations: 2.421 MB / 469 MB, free: 1.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.2504, allocations: 37.7 kB / 469 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2504, allocations: 12.03 kB / 469 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2504, allocations: 8 kB / 469 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.2507, allocations: 227.5 kB / 469.3 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2507, allocations: 12 kB / 469.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.2511, allocations: 87.62 kB / 469.4 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006284/0.2517, allocations: 1.089 MB / 470.5 MB, free: 15.79 MB / 378.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.000831/0.2525, allocations: 0.8963 MB / 471.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.2527, allocations: 111.3 kB / 471.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2528, allocations: 130.3 kB / 471.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.2528, allocations: 12 kB / 471.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2528, allocations: 0 / 471.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2529, allocations: 7.922 kB / 471.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2542, allocations: 1.52 MB / 473.1 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2542, allocations: 0 / 473.1 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.2545, allocations: 215.6 kB / 473.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2545, allocations: 7.984 kB / 473.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.2546, allocations: 175.9 kB / 473.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.2546, allocations: 4 kB / 473.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2546, allocations: 3.984 kB / 473.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.2569, allocations: 2.063 MB / 475.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008262/0.2577, allocations: 0.6024 MB / 476.2 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.2579, allocations: 119.9 kB / 476.3 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.2582, allocations: 51.97 kB / 476.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/0.2586, allocations: 348.8 kB / 476.7 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006129/0.2592, allocations: 1.085 MB / 477.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004545/0.2597, allocations: 0.5927 MB / 478.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2597, allocations: 0 / 478.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007141/0.2604, allocations: 383.3 kB / 478.7 MB, free: 7.387 MB / 378.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.002604/0.263, allocations: 2.867 MB / 481.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.2652, allocations: 2.044 MB / 483.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2652, allocations: 4 kB / 483.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.2663, allocations: 1.074 MB / 484.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.2681, allocations: 1.07 MB / 485.8 MB, free: 316 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.2795, allocations: 11.86 MB / 497.7 MB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.2801, allocations: 0.7274 MB / 498.4 MB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004108/0.2842, allocations: 3.367 MB / 0.49 GB, free: 60 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/0.2862, allocations: 1.247 MB / 0.4912 GB, free: 14.8 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2862, allocations: 0 / 0.4912 GB, free: 14.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/0.3975, allocations: 53.09 MB / 0.5431 GB, free: 9.195 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.939, allocations: 4.047 kB / 0.5431 GB, free: 9.191 MB / 458.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.8197634909302]