Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 63.91 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1177, allocations: 53.32 MB / 426.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004225/0.122, allocations: 2.618 MB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.1249, allocations: 1.278 MB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1252, allocations: 11.94 kB / 430.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1254, allocations: 67.36 kB / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.1257, allocations: 71.31 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.1265, allocations: 231.7 kB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.1286, allocations: 2.069 MB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.1296, allocations: 0.7291 MB / 433.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.1322, allocations: 2.121 MB / 435.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.1338, allocations: 1.113 MB / 437 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004886/0.1343, allocations: 216 kB / 437.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.1347, allocations: 216 kB / 437.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008841/0.1356, allocations: 0.6308 MB / 438 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.1369, allocations: 0.8941 MB / 438.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.1411, allocations: 4.415 MB / 443.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1412, allocations: 0 / 443.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1412, allocations: 0 / 443.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.2e-05/0.1412, allocations: 0 / 443.3 MB, free: 4.277 MB / 366.1 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.005049/0.1463, allocations: 2.347 MB / 445.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1463, allocations: 12.03 kB / 445.7 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003871/0.1467, allocations: 206.2 kB / 445.9 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.1471, allocations: 175.9 kB / 446.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.1497, allocations: 1.066 MB / 447.1 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1498, allocations: 98.91 kB / 447.2 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.1502, allocations: 124.4 kB / 447.3 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2111/0.3612, allocations: 2.281 MB / 449.6 MB, free: 21.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.3613, allocations: 1 kB / 449.6 MB, free: 21.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.3615, allocations: 52.62 kB / 449.7 MB, free: 21.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.3616, allocations: 30.84 kB / 449.7 MB, free: 21.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004424/0.366, allocations: 1.98 MB / 451.7 MB, free: 21.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.3766, allocations: 4.812 MB / 456.5 MB, free: 19.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/0.3805, allocations: 1.793 MB / 458.3 MB, free: 19.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.382, allocations: 0.7235 MB / 459 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.3822, allocations: 15.5 kB / 459 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/0.3848, allocations: 1.357 MB / 460.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.178e-06/0.3848, allocations: 0.625 kB / 460.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005261/0.39, allocations: 2.67 MB / 463.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.3901, allocations: 97.67 kB / 463.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.3916, allocations: 0.9555 MB / 464.1 MB, free: 17.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.3919, allocations: 95.22 kB / 464.2 MB, free: 17.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.3922, allocations: 477.1 kB / 464.7 MB, free: 17.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.3926, allocations: 325.6 kB / 465 MB, free: 17.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.3937, allocations: 0.6656 MB / 465.7 MB, free: 16.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3939, allocations: 401.8 kB / 466 MB, free: 16.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.3954, allocations: 0.8723 MB / 466.9 MB, free: 16.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.3971, allocations: 1.036 MB / 468 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.4002, allocations: 1.952 MB / 469.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4002, allocations: 5.125 kB / 469.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004231/0.4044, allocations: 2.404 MB / 472.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.4045, allocations: 32.58 kB / 472.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4045, allocations: 3.281 kB / 472.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.4045, allocations: 9.188 kB / 472.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.405, allocations: 236.5 kB / 472.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.405, allocations: 18.41 kB / 472.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007131/0.4057, allocations: 78.11 kB / 472.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009632/0.4067, allocations: 1.089 MB / 473.8 MB, free: 13.21 MB / 366.1 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.001512/0.4082, allocations: 0.9052 MB / 474.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.4086, allocations: 108.9 kB / 474.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.4088, allocations: 131.7 kB / 474.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.4088, allocations: 17.28 kB / 474.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.4088, allocations: 1.406 kB / 474.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.4088, allocations: 3.984 kB / 474.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.4109, allocations: 1.759 MB / 476.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.411, allocations: 0 / 476.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.4113, allocations: 207.5 kB / 476.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.4113, allocations: 8 kB / 476.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.4115, allocations: 175.9 kB / 477.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4116, allocations: 11.92 kB / 477.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4116, allocations: 4 kB / 477.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.4144, allocations: 2.03 MB / 479.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.4158, allocations: 0.6524 MB / 479.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/0.4162, allocations: 121.5 kB / 479.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.4165, allocations: 51.91 kB / 479.9 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/0.417, allocations: 332.9 kB / 480.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006536/0.4177, allocations: 1.085 MB / 481.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005708/0.4183, allocations: 0.5927 MB / 481.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4183, allocations: 0 / 481.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4194, allocations: 380.3 kB / 482.3 MB, free: 5.754 MB / 366.1 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.003334/0.4228, allocations: 2.849 MB / 485.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.4257, allocations: 1.992 MB / 487.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4257, allocations: 4.062 kB / 487.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.4272, allocations: 1.057 MB / 488.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/0.4306, allocations: 1.06 MB / 489.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/0.4519, allocations: 11.75 MB / 0.4893 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.4534, allocations: 1.312 MB / 0.4906 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.007199/0.4606, allocations: 3.374 MB / 0.4939 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003379/0.464, allocations: 1.247 MB / 0.4951 GB, free: 12.87 MB / 398.1 MB Notification: Performance of SimCode: time 1.372e-06/0.464, allocations: 0 / 0.4951 GB, free: 12.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/0.5795, allocations: 49.72 MB / 0.5436 GB, free: 10.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.562/10.14, allocations: 21.25 kB / 0.5437 GB, free: 10.26 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.942016366869211]