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.0008397/0.0008397, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008187/0.0008187, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9372/0.9372, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.865e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00256/0.002579, allocations: 2.368 MB / 320.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.004548, allocations: 1.189 MB / 322 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.004683, allocations: 11.88 kB / 322 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.004863, allocations: 71.36 kB / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.005005, allocations: 75.25 kB / 322.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.005557, allocations: 255.5 kB / 322.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.006896, allocations: 2.135 MB / 324.5 MB, free: 244 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.007535, allocations: 0.5498 MB / 325.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.009541, allocations: 2.469 MB / 327.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.01076, allocations: 1.169 MB / 328.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003877/0.01115, allocations: 220 kB / 328.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.01143, allocations: 216 kB / 329.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.01185, allocations: 0.6424 MB / 329.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.01248, allocations: 0.6075 MB / 330.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.01524, allocations: 4.592 MB / 335 MB, free: 5.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01524, allocations: 0 / 335 MB, free: 5.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01525, allocations: 0 / 335 MB, free: 5.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.408e-05/0.01531, allocations: 4 kB / 335 MB, free: 5.734 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.00321/0.01852, allocations: 2.295 MB / 337.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.01856, allocations: 12.92 kB / 337.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.01884, allocations: 202.2 kB / 337.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.01913, allocations: 179.9 kB / 337.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.02022, allocations: 1.015 MB / 338.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/0.0203, allocations: 98.91 kB / 338.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.0205, allocations: 124.4 kB / 338.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.02307, allocations: 2.346 MB / 341.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.02309, allocations: 4.125 kB / 341.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.02324, allocations: 60.12 kB / 341.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.02326, allocations: 28 kB / 341.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.02553, allocations: 2.034 MB / 343.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.03034, allocations: 4.404 MB / 347.8 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.03253, allocations: 1.839 MB / 349.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008695/0.03339, allocations: 0.7675 MB / 350.4 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.03353, allocations: 13.31 kB / 350.4 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/0.035, allocations: 1.404 MB / 351.8 MB, free: 4.672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.016e-06/0.03501, allocations: 0 / 351.8 MB, free: 4.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.003283/0.03829, allocations: 2.786 MB / 354.6 MB, free: 1.863 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.03836, allocations: 94.42 kB / 354.7 MB, free: 1.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/0.03928, allocations: 0.9489 MB / 355.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.03943, allocations: 105.7 kB / 355.7 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.03972, allocations: 466.2 kB / 356.2 MB, free: 224 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.04001, allocations: 333.7 kB / 356.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006699/0.04068, allocations: 0.683 MB / 357.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.04084, allocations: 414.7 kB / 357.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.04182, allocations: 0.8995 MB / 358.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.04288, allocations: 1.087 MB / 359.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.04509, allocations: 1.988 MB / 361.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.0451, allocations: 3.938 kB / 361.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002622/0.04772, allocations: 2.468 MB / 364 MB, free: 8.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.04777, allocations: 33.7 kB / 364.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.04778, allocations: 4.156 kB / 364.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.0478, allocations: 11.98 kB / 364.1 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.04809, allocations: 243.5 kB / 364.3 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.0481, allocations: 15.97 kB / 364.4 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.04849, allocations: 83.77 kB / 364.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007842/0.04927, allocations: 1.093 MB / 365.5 MB, free: 6.727 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009278/0.0502, allocations: 0.9235 MB / 366.4 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.05037, allocations: 111.3 kB / 366.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.0505, allocations: 130.3 kB / 366.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.0505, allocations: 12 kB / 366.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.05051, allocations: 4 kB / 366.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.05052, allocations: 11.97 kB / 366.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.05186, allocations: 1.52 MB / 368.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.05187, allocations: 0 / 368.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.0521, allocations: 223.6 kB / 368.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.0521, allocations: 4 kB / 368.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.05225, allocations: 183.9 kB / 368.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.05225, allocations: 4 kB / 368.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.05225, allocations: 0 / 368.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.0544, allocations: 2.118 MB / 370.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/0.05507, allocations: 0.6102 MB / 371.4 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.05529, allocations: 119.9 kB / 371.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.05553, allocations: 55.97 kB / 371.5 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/0.05593, allocations: 348.9 kB / 371.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006245/0.05655, allocations: 1.093 MB / 373 MB, free: 15.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007095/0.05726, allocations: 0.5927 MB / 373.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05726, allocations: 0 / 373.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007027/0.05797, allocations: 391.4 kB / 373.9 MB, free: 14.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002535/0.0605, allocations: 2.921 MB / 376.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.06273, allocations: 2.079 MB / 378.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.06273, allocations: 0 / 378.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.0638, allocations: 1.109 MB / 380.1 MB, free: 8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.06573, allocations: 1.074 MB / 381.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.07777, allocations: 12.03 MB / 393.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.07838, allocations: 0.7198 MB / 393.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004005/0.08239, allocations: 3.37 MB / 397.2 MB, free: 6.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/0.08443, allocations: 1.279 MB / 398.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.08443, allocations: 0 / 398.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/0.2808, allocations: 52.94 MB / 451.5 MB, free: 125.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.059, allocations: 9.375 kB / 451.5 MB, free: 125.5 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.004847925156355]