Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 47.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.0977, allocations: 52.15 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004086/0.1018, allocations: 2.613 MB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.1043, allocations: 1.243 MB / 421.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1045, allocations: 8 kB / 421.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1047, allocations: 71.31 kB / 421.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1048, allocations: 71.3 kB / 421.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.1054, allocations: 235.7 kB / 422 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1073, allocations: 2.077 MB / 424.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.1082, allocations: 0.7252 MB / 424.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.1104, allocations: 2.117 MB / 426.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.1117, allocations: 1.113 MB / 428 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.1121, allocations: 216 kB / 428.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.1125, allocations: 216 kB / 428.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00067/0.1132, allocations: 0.6386 MB / 429.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.1142, allocations: 0.894 MB / 430 MB, free: 352 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.118, allocations: 4.412 MB / 434.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.118, allocations: 0 / 434.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.118, allocations: 0 / 434.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.327e-05/0.118, allocations: 4 kB / 434.4 MB, free: 11.91 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.003788/0.1218, allocations: 2.343 MB / 436.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1218, allocations: 15.97 kB / 436.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003778/0.1222, allocations: 198.2 kB / 437 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.1226, allocations: 179.8 kB / 437.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.125, allocations: 1.058 MB / 438.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.996e-05/0.1251, allocations: 102.9 kB / 438.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.1254, allocations: 120.4 kB / 438.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.1295, allocations: 2.293 MB / 440.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.1296, allocations: 0 / 440.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.1298, allocations: 52 kB / 440.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.1298, allocations: 31.98 kB / 440.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003696/0.1335, allocations: 1.985 MB / 442.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1878/0.3213, allocations: 4.806 MB / 447.6 MB, free: 25.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.3244, allocations: 1.79 MB / 449.4 MB, free: 25.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.3257, allocations: 0.7213 MB / 450.1 MB, free: 25.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.3259, allocations: 15.08 kB / 450.1 MB, free: 25.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002336/0.3282, allocations: 1.358 MB / 451.5 MB, free: 25.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.408e-06/0.3282, allocations: 0 / 451.5 MB, free: 25.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005406/0.3336, allocations: 2.673 MB / 454.1 MB, free: 25.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.3337, allocations: 91.36 kB / 454.2 MB, free: 25.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.335, allocations: 0.9516 MB / 455.2 MB, free: 25.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.3353, allocations: 100.9 kB / 455.3 MB, free: 25.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.3357, allocations: 473.2 kB / 455.7 MB, free: 24.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.336, allocations: 323.5 kB / 456.1 MB, free: 24.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3371, allocations: 0.6637 MB / 456.7 MB, free: 24.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3373, allocations: 407.3 kB / 457.1 MB, free: 24.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.3389, allocations: 0.8714 MB / 458 MB, free: 23.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.3405, allocations: 1.035 MB / 459 MB, free: 23.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.3435, allocations: 1.952 MB / 461 MB, free: 22.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.3435, allocations: 0.5625 kB / 461 MB, free: 22.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004132/0.3476, allocations: 2.408 MB / 463.4 MB, free: 22.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.3477, allocations: 46.7 kB / 463.4 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3477, allocations: 2.562 kB / 463.4 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.3477, allocations: 8.969 kB / 463.4 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.3482, allocations: 227.5 kB / 463.7 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.3482, allocations: 9.953 kB / 463.7 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.3489, allocations: 82.08 kB / 463.8 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009771/0.3498, allocations: 1.084 MB / 464.8 MB, free: 21.98 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.001443/0.3513, allocations: 0.9072 MB / 465.7 MB, free: 21.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3516, allocations: 112.8 kB / 465.9 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.3518, allocations: 129.9 kB / 466 MB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3518, allocations: 13.55 kB / 466 MB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.3518, allocations: 7.219 kB / 466 MB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.3518, allocations: 10.14 kB / 466 MB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.3538, allocations: 1.76 MB / 467.8 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3538, allocations: 0 / 467.8 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.3542, allocations: 211.6 kB / 468 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3542, allocations: 6.719 kB / 468 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.3545, allocations: 178.5 kB / 468.2 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.3545, allocations: 4.359 kB / 468.2 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3545, allocations: 3.688 kB / 468.2 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.3575, allocations: 2.034 MB / 470.2 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.359, allocations: 0.6542 MB / 470.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/0.3593, allocations: 120.9 kB / 471 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.3597, allocations: 51.69 kB / 471 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/0.3602, allocations: 329.3 kB / 471.3 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006154/0.3608, allocations: 1.088 MB / 472.4 MB, free: 19.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000538/0.3614, allocations: 0.5937 MB / 473 MB, free: 18.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3614, allocations: 0 / 473 MB, free: 18.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00109/0.3625, allocations: 378.3 kB / 473.4 MB, free: 18.91 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.003206/0.3657, allocations: 2.844 MB / 476.2 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.3684, allocations: 1.991 MB / 478.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3684, allocations: 0 / 478.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.3698, allocations: 1.054 MB / 479.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.3726, allocations: 1.071 MB / 480.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.3864, allocations: 11.75 MB / 492.1 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.3875, allocations: 1.32 MB / 493.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00644/0.3939, allocations: 3.374 MB / 496.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003317/0.3972, allocations: 1.243 MB / 498 MB, free: 10.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3972, allocations: 0 / 498 MB, free: 10.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08364/0.4809, allocations: 49.77 MB / 0.535 GB, free: 7.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.263/9.744, allocations: 8.609 kB / 0.535 GB, free: 7.793 MB / 430.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.406960217282176]