Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004684/0.004684, allocations: 166.4 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7863/0.7863, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 300 MB, free: 1.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.201e-05, allocations: 2.281 kB / 300 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.1071/0.1071, allocations: 2.362 MB / 302.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1089, allocations: 1.239 MB / 303.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.109, allocations: 12.5 kB / 303.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.1092, allocations: 68.81 kB / 303.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.1093, allocations: 72.17 kB / 303.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.1098, allocations: 252.9 kB / 304 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1111, allocations: 2.136 MB / 306.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.1117, allocations: 0.5357 MB / 306.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.1138, allocations: 2.476 MB / 309.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.115, allocations: 1.166 MB / 310.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004332/0.1155, allocations: 217 kB / 310.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.1158, allocations: 217.8 kB / 310.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.1162, allocations: 0.6495 MB / 311.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.1168, allocations: 0.6035 MB / 312 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.1198, allocations: 4.592 MB / 316.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1198, allocations: 4 kB / 316.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1198, allocations: 0 / 316.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.954e-05/0.1198, allocations: 0 / 316.6 MB, free: 8.559 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.002974/0.1228, allocations: 2.295 MB / 318.9 MB, free: 7.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1228, allocations: 14.08 kB / 318.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002733/0.1231, allocations: 205.7 kB / 319.1 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.1234, allocations: 177.7 kB / 319.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1245, allocations: 1.024 MB / 320.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/0.1246, allocations: 99.78 kB / 320.4 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.1248, allocations: 129.4 kB / 320.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.1274, allocations: 2.341 MB / 322.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1275, allocations: 1.281 kB / 322.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.1276, allocations: 61.59 kB / 322.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1277, allocations: 31.12 kB / 323 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.13, allocations: 2.034 MB / 325 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004763/0.1348, allocations: 4.393 MB / 329.4 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.137, allocations: 1.863 MB / 331.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.1379, allocations: 0.7598 MB / 332 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.1381, allocations: 17.31 kB / 332 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.1394, allocations: 1.404 MB / 333.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.386e-06/0.1394, allocations: 1.781 kB / 333.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.003427/0.1429, allocations: 2.786 MB / 336.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1429, allocations: 98.36 kB / 336.3 MB, free: 9.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1439, allocations: 0.945 MB / 337.3 MB, free: 8.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.1441, allocations: 101.7 kB / 337.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1443, allocations: 470.2 kB / 337.8 MB, free: 7.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.1446, allocations: 321.7 kB / 338.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007329/0.1454, allocations: 0.6908 MB / 338.8 MB, free: 6.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1455, allocations: 410.7 kB / 339.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.1465, allocations: 0.9001 MB / 340.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.1478, allocations: 1.095 MB / 341.2 MB, free: 4.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.1498, allocations: 1.98 MB / 343.2 MB, free: 2.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1498, allocations: 0 / 343.2 MB, free: 2.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002627/0.1525, allocations: 2.472 MB / 345.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.1525, allocations: 29.7 kB / 345.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1525, allocations: 15.67 kB / 345.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.1525, allocations: 8 kB / 345.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1528, allocations: 235.6 kB / 346 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.1529, allocations: 16.12 kB / 346 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.1533, allocations: 101.3 kB / 346.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006845/0.154, allocations: 1.108 MB / 347.2 MB, free: 14.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,Clock.t_i,$PRE.Clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001201/0.1552, allocations: 0.903 MB / 348.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.1554, allocations: 111.3 kB / 348.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1555, allocations: 138.3 kB / 348.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.1555, allocations: 15.98 kB / 348.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.1555, allocations: 0 / 348.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.1556, allocations: 7.969 kB / 348.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.157, allocations: 1.524 MB / 349.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.157, allocations: 0 / 349.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.1573, allocations: 217 kB / 350.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1573, allocations: 4 kB / 350.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.1574, allocations: 187.9 kB / 350.3 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1574, allocations: 4 kB / 350.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1574, allocations: 0 / 350.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.1598, allocations: 2.122 MB / 352.4 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/0.1605, allocations: 0.5985 MB / 353 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.1607, allocations: 123.9 kB / 353.1 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.161, allocations: 55.97 kB / 353.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/0.1614, allocations: 344.9 kB / 353.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007026/0.1621, allocations: 1.097 MB / 354.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007301/0.1629, allocations: 0.5966 MB / 355.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1629, allocations: 0 / 355.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009985/0.1639, allocations: 387.3 kB / 355.6 MB, free: 5.656 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002802/0.1667, allocations: 2.917 MB / 358.5 MB, free: 2.699 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.169, allocations: 2.087 MB / 360.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.169, allocations: 4.062 kB / 360.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.1702, allocations: 1.109 MB / 361.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.1725, allocations: 1.064 MB / 362.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.1866, allocations: 12.03 MB / 374.8 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.1873, allocations: 0.7198 MB / 375.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.005634/0.1929, allocations: 3.374 MB / 378.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/0.1953, allocations: 1.279 MB / 380.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.824e-06/0.1953, allocations: 0 / 380.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/0.3206, allocations: 53.03 MB / 433.2 MB, free: 6.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.435, allocations: 11.98 kB / 433.2 MB, free: 6.559 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv --output-variables 'Counter.FF[1].RS1.TD1.x' 'Counter.FF[1].RS2.TD1.x' 'Counter.FF[2].RS1.TD1.x' 'Counter.FF[2].RS2.TD1.x' 'Counter.FF[3].RS1.TD1.x' 'Counter.FF[3].RS2.TD1.x' 'Counter.FF[4].RS1.TD1.x' 'Counter.FF[4].RS2.TD1.x' --start-time 0 --stop-time 100 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0178603 ../Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.077745603397489]