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.001787/0.001787, allocations: 108.2 kB / 21.18 MB, free: 0.7188 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.00157/0.00157, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 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.482/1.482, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 47.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003608/0.2934, allocations: 2.618 MB / 399 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.296, allocations: 1.294 MB / 400.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.2962, allocations: 12.38 kB / 400.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2965, allocations: 72.97 kB / 400.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.2967, allocations: 71.09 kB / 400.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.2974, allocations: 251.4 kB / 400.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.2995, allocations: 2.098 MB / 402.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.3003, allocations: 0.5064 MB / 403.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.3032, allocations: 2.129 MB / 405.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.3051, allocations: 1.115 MB / 406.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005948/0.3057, allocations: 220.3 kB / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.3062, allocations: 216.8 kB / 406.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007229/0.3069, allocations: 0.6402 MB / 407.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.3081, allocations: 0.894 MB / 408.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.3123, allocations: 4.412 MB / 412.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3123, allocations: 1.75 kB / 412.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3123, allocations: 3.938 kB / 412.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.977e-05/0.3124, allocations: 0 / 412.9 MB, free: 15.49 MB / 334.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.005401/0.3178, allocations: 2.277 MB / 415.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3178, allocations: 13.48 kB / 415.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004767/0.3183, allocations: 200.9 kB / 415.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005516/0.3188, allocations: 173.8 kB / 415.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.3213, allocations: 1.018 MB / 416.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.3215, allocations: 95.72 kB / 416.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/0.3218, allocations: 121.5 kB / 416.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/0.3264, allocations: 2.293 MB / 419.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.3264, allocations: 5.781 kB / 419.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.3267, allocations: 49.91 kB / 419.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.3267, allocations: 34.78 kB / 419.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004921/0.3317, allocations: 1.981 MB / 421.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/0.3479, allocations: 4.759 MB / 425.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007122/0.355, allocations: 1.789 MB / 427.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/0.3578, allocations: 0.7269 MB / 428.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/0.3583, allocations: 17.3 kB / 428.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00426/0.3626, allocations: 1.356 MB / 429.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 5.049e-06/0.3626, allocations: 0 / 429.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.009332/0.3719, allocations: 2.674 MB / 432.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.372, allocations: 94.36 kB / 432.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.3745, allocations: 0.9489 MB / 433.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009349/0.3755, allocations: 97.66 kB / 433.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008884/0.3764, allocations: 482.1 kB / 434.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.3775, allocations: 313.8 kB / 434.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/0.3794, allocations: 0.6673 MB / 435 MB, free: 12.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0004124/0.3798, allocations: 402.7 kB / 435.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.3824, allocations: 0.8705 MB / 436.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/0.3853, allocations: 1.035 MB / 437.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005573/0.3909, allocations: 1.953 MB / 439.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.3909, allocations: 0 / 439.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.008468/0.3994, allocations: 2.411 MB / 441.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/0.3995, allocations: 33.7 kB / 441.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.3995, allocations: 7.938 kB / 441.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.668e-05/0.3995, allocations: 8 kB / 441.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4006, allocations: 227.6 kB / 442 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-05/0.4007, allocations: 12 kB / 442 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.4022, allocations: 95.61 kB / 442.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/0.4043, allocations: 1.089 MB / 443.2 MB, free: 4.086 MB / 350.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.003028/0.4073, allocations: 0.9001 MB / 444.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.408, allocations: 111.3 kB / 444.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.4085, allocations: 130.3 kB / 444.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.4085, allocations: 12 kB / 444.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.4085, allocations: 0 / 444.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/0.4085, allocations: 11.91 kB / 444.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/0.413, allocations: 1.727 MB / 446 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.413, allocations: 0 / 446 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.4138, allocations: 199.7 kB / 446.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.4138, allocations: 8 kB / 446.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004537/0.4143, allocations: 175.9 kB / 446.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/0.4143, allocations: 8 kB / 446.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4143, allocations: 0 / 446.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006642/0.4209, allocations: 2.046 MB / 448.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/0.4234, allocations: 0.6062 MB / 449.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008606/0.4242, allocations: 119.9 kB / 449.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/0.4252, allocations: 55.97 kB / 449.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/0.4263, allocations: 336.9 kB / 449.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001814/0.4281, allocations: 1.085 MB / 450.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.4296, allocations: 0.5927 MB / 451.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4296, allocations: 0 / 451.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002395/0.432, allocations: 383.4 kB / 451.6 MB, free: 11.51 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.007463/0.4394, allocations: 2.841 MB / 454.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006091/0.4455, allocations: 1.99 MB / 456.5 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4455, allocations: 0 / 456.5 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00306/0.4486, allocations: 1.065 MB / 457.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/0.4544, allocations: 1.067 MB / 458.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03393/0.4883, allocations: 11.7 MB / 470.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002721/0.491, allocations: 1.316 MB / 471.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.01319/0.5042, allocations: 3.37 MB / 475 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006302/0.5105, allocations: 1.243 MB / 476.2 MB, free: 2.586 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5105, allocations: 0 / 476.2 MB, free: 2.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/0.6409, allocations: 50.79 MB / 0.5147 GB, free: 14.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.65, allocations: 7.906 kB / 0.5147 GB, free: 14.71 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --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 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.522126784082502]