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.001135/0.001135, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.002783, allocations: 449.7 kB / 10.33 MB, free: 372 kB / 10.45 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.0008186/0.0008186, allocations: 153.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001923, allocations: 467.6 kB / 11.67 MB, free: 2.5 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 158.6 MB / 171 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.134/1.163, allocations: 49.49 MB / 220.5 MB, free: 1.449 MB / 218.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+3.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+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 221.7 MB, free: 224 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.799e-05, allocations: 6.312 kB / 221.8 MB, free: 216 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002467/0.002485, allocations: 2.474 MB / 224.2 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.00407, allocations: 1.291 MB / 225.5 MB, free: 12.42 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.004157, allocations: 7.938 kB / 225.5 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.004278, allocations: 71.3 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.004384, allocations: 71.27 kB / 225.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.004878, allocations: 243.6 kB / 225.9 MB, free: 12.03 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.006329, allocations: 2.132 MB / 228 MB, free: 9.895 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.006908, allocations: 0.5614 MB / 228.6 MB, free: 9.309 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.009515, allocations: 2.589 MB / 231.2 MB, free: 6.715 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.01079, allocations: 1.177 MB / 232.4 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.01112, allocations: 219.9 kB / 232.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.01144, allocations: 220 kB / 232.8 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.0119, allocations: 474.9 kB / 233.3 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005697/0.01247, allocations: 443.1 kB / 233.7 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.01467, allocations: 2.926 MB / 236.6 MB, free: 1.273 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-05/0.01469, allocations: 7.922 kB / 236.6 MB, free: 1.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01469, allocations: 0 / 236.6 MB, free: 1.266 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.01473, allocations: 0 / 236.6 MB, free: 1.266 MB / 234.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.002992/0.01772, allocations: 2.258 MB / 238.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.01776, allocations: 8.031 kB / 238.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003034/0.01806, allocations: 198 kB / 239.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/0.01856, allocations: 216.8 kB / 239.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.01962, allocations: 0.7513 MB / 240 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.0197, allocations: 94.91 kB / 240.1 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.01998, allocations: 124.4 kB / 240.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007983/0.02797, allocations: 1.05 MB / 241.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.02799, allocations: 192 / 241.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.0282, allocations: 56.12 kB / 241.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.02823, allocations: 28 kB / 241.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007102/0.03533, allocations: 411 kB / 241.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.04618, allocations: 2.74 MB / 244.5 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/0.05363, allocations: 0.6563 MB / 245.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.05414, allocations: 218.3 kB / 245.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.05431, allocations: 21.31 kB / 245.4 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009839/0.0553, allocations: 0.6308 MB / 246.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=128): time 4.188e-06/0.0553, allocations: 0 / 246.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=128): time 0.007966/0.06327, allocations: 0.7645 MB / 246.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.06332, allocations: 90.42 kB / 246.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.064, allocations: 0.6516 MB / 247.6 MB, free: 6.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.0642, allocations: 97.66 kB / 247.7 MB, free: 5.945 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.06444, allocations: 399.4 kB / 248 MB, free: 5.547 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/0.06477, allocations: 313.6 kB / 248.3 MB, free: 5.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006771/0.07155, allocations: 435.1 kB / 248.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.07169, allocations: 406.5 kB / 249.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.0722, allocations: 197.5 kB / 249.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.0728, allocations: 373.8 kB / 249.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007322/0.08012, allocations: 0.7376 MB / 250.5 MB, free: 3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.08013, allocations: 0 / 250.5 MB, free: 3 MB / 250.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001636/0.08176, allocations: 0.7398 MB / 251.2 MB, free: 2.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.08181, allocations: 29.7 kB / 251.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.08183, allocations: 4 kB / 251.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.08184, allocations: 12 kB / 251.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.08238, allocations: 175.5 kB / 251.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.08239, allocations: 11.94 kB / 251.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.08493, allocations: 83.75 kB / 251.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009906/0.08592, allocations: 0.9715 MB / 252.5 MB, free: 0.9531 MB / 250.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.0009551/0.08688, allocations: 405 kB / 252.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.08732, allocations: 115.9 kB / 253 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.0875, allocations: 114.3 kB / 253.1 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.08751, allocations: 12 kB / 253.1 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.08751, allocations: 3.938 kB / 253.1 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.08753, allocations: 7.969 kB / 253.1 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.08903, allocations: 0.8727 MB / 254 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.08903, allocations: 0 / 254 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.08959, allocations: 147.6 kB / 254.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008033/0.09039, allocations: 367 kB / 254.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.0904, allocations: 4 kB / 254.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/0.09062, allocations: 63.89 kB / 254.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.09063, allocations: 8 kB / 254.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.09063, allocations: 0 / 254.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.0924, allocations: 0.6504 MB / 255.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/0.09278, allocations: 111.9 kB / 255.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.09321, allocations: 47.98 kB / 255.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005345/0.09374, allocations: 153 kB / 255.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00101/0.09476, allocations: 0.9598 MB / 256.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003449/0.0951, allocations: 256.5 kB / 256.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.0951, allocations: 4 kB / 256.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001287/0.09639, allocations: 387.4 kB / 257.1 MB, free: 12.21 MB / 266.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.0006836/0.09707, allocations: 0.7392 MB / 257.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.09893, allocations: 0.7365 MB / 258.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.09894, allocations: 8 kB / 258.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009811/0.09992, allocations: 456.2 kB / 259.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/0.1031, allocations: 1.247 MB / 260.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008998/0.1121, allocations: 4.768 MB / 265.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1123, allocations: 242.5 kB / 265.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.006482/0.1188, allocations: 2.883 MB / 268.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004859/0.1237, allocations: 1.575 MB / 269.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1237, allocations: 0 / 269.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FMU documentation: time 0.1673/0.2909, allocations: 61 MB / 330.8 MB, free: 16.82 MB / 282.7 MB Notification: FMU-only work: backend 0.0001309, simCode 0.004117, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08048/0.3714, allocations: 1.326 MB / 332.1 MB, free: 15.46 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.477/3.849, allocations: 27.62 kB / 332.1 MB, free: 15.43 MB / 282.7 MB " [Timeout remaining time 656] (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 (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode_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 CoSimulation --output-interval 0.0178603 ../Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmpy-fmi3-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode_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: 6.828798543661833]