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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 102.9 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009794/0.0009794, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.136/1.136, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 56.14 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06986/0.07111, allocations: 46.64 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003104/0.07424, allocations: 2.582 MB / 330 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.07636, allocations: 1.287 MB / 331.3 MB, free: 492 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.07647, allocations: 7.938 kB / 331.3 MB, free: 484 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.07664, allocations: 67.38 kB / 331.3 MB, free: 416 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.07679, allocations: 75.23 kB / 331.4 MB, free: 340 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.07724, allocations: 231.7 kB / 331.6 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.07876, allocations: 2.061 MB / 333.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009249/0.07969, allocations: 0.9477 MB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.08142, allocations: 2.109 MB / 336.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009966/0.08243, allocations: 1.051 MB / 337.8 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.08285, allocations: 216 kB / 338 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.08328, allocations: 220 kB / 338.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006135/0.0839, allocations: 0.6153 MB / 338.8 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008692/0.08477, allocations: 0.9018 MB / 339.7 MB, free: 7.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.08759, allocations: 4.355 MB / 344.1 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.0876, allocations: 0 / 344.1 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08761, allocations: 0 / 344.1 MB, free: 3.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.08764, allocations: 0 / 344.1 MB, free: 3.594 MB / 286.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.002973/0.09062, allocations: 2.301 MB / 346.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.09066, allocations: 8.031 kB / 346.4 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003251/0.09099, allocations: 202.2 kB / 346.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.09135, allocations: 175 kB / 346.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.09278, allocations: 1.058 MB / 347.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.09286, allocations: 94.91 kB / 347.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/0.09316, allocations: 120.4 kB / 348 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.09649, allocations: 2.289 MB / 350.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.09652, allocations: 3.984 kB / 350.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.09676, allocations: 52 kB / 350.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.09678, allocations: 32 kB / 350.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/0.1, allocations: 1.985 MB / 352.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006676/0.1067, allocations: 4.871 MB / 357.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.11, allocations: 1.855 MB / 359.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.1113, allocations: 0.762 MB / 359.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.1115, allocations: 17.3 kB / 359.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/0.1133, allocations: 1.348 MB / 361.2 MB, free: 2.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.798e-06/0.1133, allocations: 0 / 361.2 MB, free: 2.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004723/0.118, allocations: 2.677 MB / 363.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.1181, allocations: 90.42 kB / 364 MB, free: 15.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.1194, allocations: 0.9407 MB / 365 MB, free: 14.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002826/0.1197, allocations: 97.66 kB / 365.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000575/0.1202, allocations: 469.1 kB / 365.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006134/0.1209, allocations: 312.2 kB / 365.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00177/0.1226, allocations: 0.6672 MB / 366.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003711/0.123, allocations: 406.7 kB / 366.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.1253, allocations: 0.8627 MB / 367.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.1272, allocations: 1.039 MB / 368.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.1307, allocations: 1.966 MB / 370.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1307, allocations: 0 / 370.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004398/0.1351, allocations: 2.401 MB / 373.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.1352, allocations: 33.7 kB / 373.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.1352, allocations: 4 kB / 373.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/0.1352, allocations: 8 kB / 373.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.1358, allocations: 223.6 kB / 373.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.023e-05/0.1359, allocations: 19.92 kB / 373.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/0.1367, allocations: 83.64 kB / 373.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.1378, allocations: 1.093 MB / 374.6 MB, free: 4.645 MB / 318.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.001445/0.1392, allocations: 0.8885 MB / 375.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.1397, allocations: 106.8 kB / 375.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.14, allocations: 134.3 kB / 375.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.14, allocations: 12 kB / 375.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.14, allocations: 0 / 375.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.14, allocations: 7.922 kB / 375.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.1425, allocations: 1.774 MB / 377.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1426, allocations: 0 / 377.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.143, allocations: 203.7 kB / 377.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.143, allocations: 8 kB / 377.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/0.1433, allocations: 175.9 kB / 377.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.1433, allocations: 8 kB / 377.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1433, allocations: 4 kB / 377.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1218/0.2651, allocations: 2.023 MB / 379.9 MB, free: 51.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.2664, allocations: 0.6443 MB / 380.6 MB, free: 51.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/0.2671, allocations: 116.3 kB / 380.7 MB, free: 51.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.2677, allocations: 49.94 kB / 380.7 MB, free: 51.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007916/0.2685, allocations: 337.8 kB / 381.1 MB, free: 51.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009229/0.2694, allocations: 1.083 MB / 382.2 MB, free: 51.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006874/0.2701, allocations: 0.5935 MB / 382.7 MB, free: 51.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2701, allocations: 0 / 382.7 MB, free: 51.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001282/0.2714, allocations: 378.5 kB / 383.1 MB, free: 51.15 MB / 318.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.003926/0.2753, allocations: 2.839 MB / 386 MB, free: 50.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005674/0.281, allocations: 3.283 MB / 389.2 MB, free: 49.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.281, allocations: 0 / 389.2 MB, free: 49.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.2829, allocations: 1.108 MB / 390.3 MB, free: 49.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.2865, allocations: 1.069 MB / 391.4 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.3021, allocations: 12.04 MB / 403.5 MB, free: 39.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.303, allocations: 1.32 MB / 404.8 MB, free: 37.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.005028/0.308, allocations: 3.367 MB / 408.1 MB, free: 34.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002854/0.3109, allocations: 1.251 MB / 409.4 MB, free: 33.07 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3109, allocations: 0 / 409.4 MB, free: 33.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/0.4584, allocations: 49.53 MB / 458.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.71, allocations: 14.94 kB / 458.9 MB, free: 14.44 MB / 350.1 MB (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 --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) 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) Reference file matches