Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 107.1 kB / 20.44 MB, free: 1.172 MB / 14.72 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.00232/0.00232, allocations: 207.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 55.91 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2974, allocations: 53.36 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004082/0.3014, allocations: 2.38 MB / 433.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.3043, allocations: 1.235 MB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3045, allocations: 7.938 kB / 434.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.3047, allocations: 71.36 kB / 434.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.3049, allocations: 63.33 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.3055, allocations: 255.6 kB / 435.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.3078, allocations: 2.096 MB / 437.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007636/0.3086, allocations: 0.5047 MB / 437.7 MB, free: 20 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.3114, allocations: 2.144 MB / 439.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.3133, allocations: 1.109 MB / 440.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005028/0.3138, allocations: 216 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.3143, allocations: 216 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008874/0.3152, allocations: 0.6386 MB / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.3163, allocations: 0.7113 MB / 442.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0046/0.3209, allocations: 4.427 MB / 447.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3209, allocations: 0 / 447.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.321, allocations: 0 / 447.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.66e-05/0.321, allocations: 0 / 447.1 MB, free: 6.539 MB / 350.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.005361/0.3264, allocations: 2.279 MB / 449.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3264, allocations: 8.031 kB / 449.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004072/0.3268, allocations: 202.2 kB / 449.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.3273, allocations: 171.9 kB / 449.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.3297, allocations: 1.012 MB / 450.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.3298, allocations: 102.9 kB / 450.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/0.3302, allocations: 120.4 kB / 451 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.3347, allocations: 2.31 MB / 453.3 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.3347, allocations: 4 kB / 453.3 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.335, allocations: 59.98 kB / 453.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.335, allocations: 28 kB / 453.4 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.3391, allocations: 2.01 MB / 455.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009725/0.3489, allocations: 4.35 MB / 459.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.3528, allocations: 1.819 MB / 461.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.3544, allocations: 0.752 MB / 462.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.3546, allocations: 13.31 kB / 462.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.357, allocations: 1.385 MB / 463.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.927e-06/0.357, allocations: 0 / 463.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.006026/0.363, allocations: 2.724 MB / 466.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.3631, allocations: 94.41 kB / 466.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.3649, allocations: 0.945 MB / 467.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003325/0.3652, allocations: 101.7 kB / 467.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.3657, allocations: 482.1 kB / 468.1 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/0.3662, allocations: 321.7 kB / 468.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.3676, allocations: 0.6673 MB / 469.1 MB, free: 300 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002706/0.3679, allocations: 406.7 kB / 469.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.3697, allocations: 0.8878 MB / 470.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.3717, allocations: 1.068 MB / 471.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.3753, allocations: 1.953 MB / 473.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.3753, allocations: 7.938 kB / 473.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005239/0.3805, allocations: 2.425 MB / 475.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.3806, allocations: 33.7 kB / 475.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3806, allocations: 7.984 kB / 475.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.3806, allocations: 8 kB / 475.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.3812, allocations: 227.6 kB / 476.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.3812, allocations: 11.98 kB / 476.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.382, allocations: 87.66 kB / 476.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/0.3832, allocations: 1.085 MB / 477.3 MB, free: 7.961 MB / 382.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.001752/0.3849, allocations: 0.9079 MB / 478.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/0.3853, allocations: 107.3 kB / 478.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.3856, allocations: 134.3 kB / 478.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3856, allocations: 12 kB / 478.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3856, allocations: 0 / 478.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.3857, allocations: 11.91 kB / 478.4 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.3882, allocations: 1.516 MB / 479.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3882, allocations: 0 / 479.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.3887, allocations: 203.7 kB / 480.1 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.3887, allocations: 11.98 kB / 480.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/0.389, allocations: 171.9 kB / 480.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.389, allocations: 8 kB / 480.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.389, allocations: 0 / 480.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/0.3933, allocations: 2.071 MB / 482.4 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/0.3952, allocations: 0.5985 MB / 483 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004789/0.3956, allocations: 115.9 kB / 483.1 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.3962, allocations: 51.91 kB / 483.2 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006808/0.3969, allocations: 340.8 kB / 483.5 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001145/0.3981, allocations: 1.085 MB / 484.6 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008906/0.399, allocations: 0.5927 MB / 485.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.399, allocations: 0 / 485.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001461/0.4004, allocations: 387.4 kB / 485.5 MB, free: 15.56 MB / 398.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.005061/0.4055, allocations: 2.87 MB / 488.4 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003992/0.4095, allocations: 2.04 MB / 490.5 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4095, allocations: 3.938 kB / 490.5 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.4115, allocations: 1.082 MB / 491.5 MB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/0.4152, allocations: 1.073 MB / 492.6 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/0.4374, allocations: 11.85 MB / 0.4926 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.4384, allocations: 0.7198 MB / 0.4933 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007454/0.4459, allocations: 3.367 MB / 0.4966 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004425/0.4503, allocations: 1.247 MB / 0.4978 GB, free: 7.012 MB / 414.1 MB Notification: Performance of SimCode: time 1.704e-06/0.4503, allocations: 0 / 0.4978 GB, free: 7.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3317/0.7821, allocations: 53.04 MB / 0.5496 GB, free: 100.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13, allocations: 5.75 kB / 0.5497 GB, free: 100.3 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 15.847600146982586]