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.0009729/0.0009729, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9197/0.9197, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.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 1.443e-06/1.443e-06, allocations: 0 / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.848e-05, allocations: 2.281 kB / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002489/0.002507, allocations: 2.4 MB / 328.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.004611, allocations: 1.235 MB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.004769, allocations: 7.938 kB / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.004941, allocations: 63.38 kB / 329.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.005084, allocations: 79.25 kB / 329.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.005664, allocations: 247.6 kB / 330.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.007106, allocations: 2.135 MB / 332.3 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006819/0.007788, allocations: 0.542 MB / 332.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.009863, allocations: 2.473 MB / 335.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.0111, allocations: 1.165 MB / 336.5 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005083/0.01161, allocations: 220 kB / 336.7 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.01194, allocations: 216 kB / 336.9 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004782/0.01242, allocations: 0.6463 MB / 337.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.01318, allocations: 0.6113 MB / 338.2 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.01595, allocations: 4.604 MB / 342.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01596, allocations: 4 kB / 342.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01596, allocations: 0 / 342.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.01608, allocations: 0 / 342.8 MB, free: 14.4 MB / 314.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.003768/0.01985, allocations: 2.29 MB / 345 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.0199, allocations: 12.02 kB / 345.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003114/0.02021, allocations: 206.2 kB / 345.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.02053, allocations: 175.9 kB / 345.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.02158, allocations: 1.012 MB / 346.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.02165, allocations: 94.91 kB / 346.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.02184, allocations: 136.4 kB / 346.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.02447, allocations: 2.334 MB / 349 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.02449, allocations: 192 / 349 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.02464, allocations: 60.12 kB / 349.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.02466, allocations: 32 kB / 349.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.02697, allocations: 2.037 MB / 351.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/0.03175, allocations: 4.401 MB / 355.5 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.03399, allocations: 1.854 MB / 357.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/0.03484, allocations: 0.7598 MB / 358.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.035, allocations: 21.3 kB / 358.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.03628, allocations: 1.396 MB / 359.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.766e-06/0.03628, allocations: 0 / 359.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003187/0.03947, allocations: 2.794 MB / 362.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.03952, allocations: 94.36 kB / 362.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/0.04044, allocations: 0.9529 MB / 363.4 MB, free: 9.465 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.04059, allocations: 97.66 kB / 363.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.04085, allocations: 470.2 kB / 364 MB, free: 8.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.04114, allocations: 329.6 kB / 364.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006921/0.04183, allocations: 0.6908 MB / 365 MB, free: 7.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.04197, allocations: 406.7 kB / 365.4 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.043, allocations: 0.9034 MB / 366.3 MB, free: 6.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.04409, allocations: 1.084 MB / 367.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.04602, allocations: 1.973 MB / 369.3 MB, free: 3.398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.04603, allocations: 4 kB / 369.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00274/0.04877, allocations: 2.483 MB / 371.8 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.04882, allocations: 33.69 kB / 371.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.04883, allocations: 4 kB / 371.9 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.04886, allocations: 12 kB / 371.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.04916, allocations: 235.6 kB / 372.1 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.04917, allocations: 15.94 kB / 372.1 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.04959, allocations: 87.73 kB / 372.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/0.05025, allocations: 1.1 MB / 373.3 MB, free: 15.4 MB / 346.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.00105/0.0513, allocations: 0.9118 MB / 374.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.05151, allocations: 111.3 kB / 374.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.05166, allocations: 134.3 kB / 374.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.05167, allocations: 12 kB / 374.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.05167, allocations: 0 / 374.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.05168, allocations: 7.969 kB / 374.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.05315, allocations: 1.524 MB / 376 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.05315, allocations: 0 / 376 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.0534, allocations: 219.6 kB / 376.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.05341, allocations: 4 kB / 376.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.05356, allocations: 187.9 kB / 376.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.05356, allocations: 4 kB / 376.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.05357, allocations: 0 / 376.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.05602, allocations: 2.118 MB / 378.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/0.05669, allocations: 0.5985 MB / 379.1 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.05694, allocations: 127.9 kB / 379.2 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.05721, allocations: 51.98 kB / 379.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/0.05759, allocations: 344.9 kB / 379.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006404/0.05823, allocations: 1.096 MB / 380.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.05875, allocations: 0.5966 MB / 381.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.05875, allocations: 0 / 381.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009684/0.05972, allocations: 391.4 kB / 381.7 MB, free: 6.887 MB / 346.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.00285/0.06257, allocations: 2.929 MB / 384.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.06546, allocations: 2.087 MB / 386.7 MB, free: 1.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.06546, allocations: 4.062 kB / 386.7 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.06662, allocations: 1.102 MB / 387.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.06881, allocations: 1.068 MB / 388.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.08297, allocations: 12.03 MB / 400.9 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/0.08379, allocations: 0.7198 MB / 401.6 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004985/0.08877, allocations: 3.371 MB / 405 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/0.09117, allocations: 1.272 MB / 406.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.003e-06/0.09117, allocations: 0 / 406.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2622/0.3534, allocations: 53.06 MB / 459.3 MB, free: 116.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.104, allocations: 7.406 kB / 459.3 MB, free: 116.3 MB / 410.7 MB " [Timeout remaining time 652] (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: 11.066453097388148]