Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001786/0.001786, allocations: 114.9 kB / 20.44 MB, free: 4.598 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.002311/0.002311, allocations: 217.5 kB / 23.74 MB, free: 2.152 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.146/1.146, allocations: 230.6 MB / 257.5 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 55.91 kB / 379.3 MB, free: 472 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.308, allocations: 53.37 MB / 432.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002967/0.311, allocations: 2.391 MB / 435 MB, free: 1.367 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3131, allocations: 1.216 MB / 436.2 MB, free: 452 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.3133, allocations: 12.47 kB / 436.3 MB, free: 444 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3135, allocations: 71.89 kB / 436.3 MB, free: 376 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.3136, allocations: 71.3 kB / 436.4 MB, free: 312 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.3141, allocations: 244.3 kB / 436.6 MB, free: 104 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.3158, allocations: 2.118 MB / 438.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000659/0.3165, allocations: 0.5386 MB / 439.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.3186, allocations: 2.136 MB / 441.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.3202, allocations: 1.243 MB / 442.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004465/0.3207, allocations: 216.2 kB / 442.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.3211, allocations: 219.4 kB / 443.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.3215, allocations: 0.6348 MB / 443.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006518/0.3222, allocations: 0.7152 MB / 444.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.325, allocations: 4.423 MB / 448.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.325, allocations: 4 kB / 448.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.325, allocations: 4 kB / 448.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.325e-05/0.3251, allocations: 4 kB / 448.9 MB, free: 6.746 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.003151/0.3282, allocations: 2.268 MB / 451.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3283, allocations: 8.031 kB / 451.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002725/0.3285, allocations: 206.2 kB / 451.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.3289, allocations: 175.9 kB / 451.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3301, allocations: 1.012 MB / 452.5 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.3302, allocations: 94.91 kB / 452.6 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.3304, allocations: 124.4 kB / 452.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.3334, allocations: 2.322 MB / 455.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.3334, allocations: 0 / 455.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.3335, allocations: 48 kB / 455.1 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.3336, allocations: 32 kB / 455.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.3361, allocations: 2.006 MB / 457.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006056/0.3422, allocations: 4.354 MB / 461.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.3444, allocations: 1.818 MB / 463.3 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008813/0.3453, allocations: 0.7481 MB / 464.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.3455, allocations: 13.31 kB / 464.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.3469, allocations: 1.388 MB / 465.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 5.73e-06/0.3469, allocations: 0 / 465.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=128): time 0.003543/0.3505, allocations: 2.724 MB / 468.2 MB, free: 3.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3505, allocations: 94.42 kB / 468.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3516, allocations: 0.945 MB / 469.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.3518, allocations: 97.66 kB / 469.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.3521, allocations: 478.1 kB / 469.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.3524, allocations: 321.7 kB / 470.1 MB, free: 1.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008224/0.3533, allocations: 0.6712 MB / 470.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3534, allocations: 402.7 kB / 471.2 MB, free: 108 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.3545, allocations: 0.8917 MB / 472.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3557, allocations: 1.08 MB / 473.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.358, allocations: 1.953 MB / 475.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.358, allocations: 0 / 475.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002907/0.3609, allocations: 2.437 MB / 477.6 MB, free: 9.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.3609, allocations: 33.69 kB / 477.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.361, allocations: 4 kB / 477.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.361, allocations: 12 kB / 477.6 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.3613, allocations: 223.6 kB / 477.8 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.3613, allocations: 8 kB / 477.8 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.3619, allocations: 91.58 kB / 477.9 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007337/0.3626, allocations: 1.093 MB / 479 MB, free: 8.156 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.001297/0.3639, allocations: 0.9001 MB / 479.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.3642, allocations: 107.3 kB / 480 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.3644, allocations: 126.3 kB / 480.1 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.3645, allocations: 20 kB / 480.2 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.3645, allocations: 0 / 480.2 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.3645, allocations: 11.91 kB / 480.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.3661, allocations: 1.508 MB / 481.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3661, allocations: 0 / 481.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.3664, allocations: 207.7 kB / 481.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.3664, allocations: 4 kB / 481.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/0.3668, allocations: 179.8 kB / 482.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.3668, allocations: 4 kB / 482.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3668, allocations: 0 / 482.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.3692, allocations: 2.079 MB / 484.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/0.37, allocations: 0.5946 MB / 484.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.3702, allocations: 119.9 kB / 484.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.3705, allocations: 43.98 kB / 484.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/0.3709, allocations: 340.8 kB / 485.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007438/0.3717, allocations: 1.085 MB / 486.3 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005124/0.3722, allocations: 0.5927 MB / 486.9 MB, free: 152 kB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3722, allocations: 4 kB / 486.9 MB, free: 148 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001001/0.3732, allocations: 383.4 kB / 487.3 MB, free: 15.77 MB / 394.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.002954/0.3761, allocations: 2.874 MB / 490.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.3786, allocations: 2.043 MB / 492.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3786, allocations: 3.938 kB / 492.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.3798, allocations: 1.082 MB / 493.3 MB, free: 9.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.382, allocations: 1.071 MB / 494.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.3962, allocations: 11.84 MB / 0.4943 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.3969, allocations: 0.7237 MB / 0.495 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004865/0.4017, allocations: 3.378 MB / 0.4983 GB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/0.4042, allocations: 1.239 MB / 0.4996 GB, free: 7.199 MB / 410.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4042, allocations: 4 kB / 0.4996 GB, free: 7.195 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/0.5328, allocations: 53.08 MB / 0.5514 GB, free: 1.582 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.204, allocations: 4.625 kB / 0.5514 GB, free: 1.578 MB / 458.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 12.58047884516418]