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.001156/0.001156, allocations: 113.1 kB / 17.28 MB, free: 6.219 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.001168/0.001168, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.348/1.348, allocations: 205.1 MB / 224 MB, free: 12.46 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.001115/0.001115, allocations: 47.92 kB / 280.2 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08666, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003655/0.09035, allocations: 2.631 MB / 329.5 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.0928, allocations: 1.264 MB / 330.8 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.09305, allocations: 7.938 kB / 330.8 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.09332, allocations: 47.64 kB / 330.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.09355, allocations: 59.48 kB / 330.9 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.09414, allocations: 211.9 kB / 331.1 MB, free: 464 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.09598, allocations: 2.065 MB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.09708, allocations: 0.9477 MB / 334.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.09939, allocations: 2.148 MB / 336.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.1007, allocations: 1.086 MB / 337.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.1011, allocations: 216 kB / 337.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.1015, allocations: 216 kB / 337.8 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006078/0.1021, allocations: 0.627 MB / 338.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.1031, allocations: 0.9018 MB / 339.3 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.1063, allocations: 4.359 MB / 343.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1064, allocations: 0 / 343.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1064, allocations: 3.938 kB / 343.7 MB, free: 3.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.371e-05/0.1064, allocations: 4 kB / 343.7 MB, free: 3.84 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.003967/0.1104, allocations: 2.294 MB / 345.9 MB, free: 1.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1105, allocations: 12.02 kB / 346 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003685/0.1108, allocations: 202.2 kB / 346.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/0.1113, allocations: 171 kB / 346.3 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.1128, allocations: 1.062 MB / 347.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.1129, allocations: 94.91 kB / 347.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.1132, allocations: 128.4 kB / 347.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.1171, allocations: 2.285 MB / 349.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.1171, allocations: 4 kB / 349.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.1174, allocations: 48 kB / 349.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.1174, allocations: 32 kB / 350 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/0.121, allocations: 1.989 MB / 352 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007715/0.1287, allocations: 4.785 MB / 356.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.1322, allocations: 1.867 MB / 358.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.1336, allocations: 0.7542 MB / 359.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.1339, allocations: 17.31 kB / 359.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/0.1359, allocations: 1.359 MB / 360.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.1359, allocations: 0 / 360.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.00515/0.1411, allocations: 2.665 MB / 363.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1412, allocations: 98.41 kB / 363.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.1424, allocations: 0.9368 MB / 364.4 MB, free: 14.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002626/0.1427, allocations: 101.7 kB / 364.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.1431, allocations: 461.1 kB / 365 MB, free: 14.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.1435, allocations: 312.3 kB / 365.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.1446, allocations: 0.6672 MB / 366 MB, free: 13.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.1448, allocations: 410.7 kB / 366.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.1465, allocations: 0.8627 MB / 367.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.1481, allocations: 1.035 MB / 368.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.1513, allocations: 1.954 MB / 370.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.1513, allocations: 11.94 kB / 370.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004164/0.1555, allocations: 2.397 MB / 372.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.1555, allocations: 33.7 kB / 372.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.1555, allocations: 4 kB / 372.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.1556, allocations: 8 kB / 372.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.1561, allocations: 227.5 kB / 372.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.1561, allocations: 8 kB / 372.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.1574, allocations: 191.2 kB / 373.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009994/0.1584, allocations: 1.093 MB / 374.2 MB, free: 4.875 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.001685/0.1601, allocations: 0.9002 MB / 375.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/0.1605, allocations: 102.8 kB / 375.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.1609, allocations: 134.3 kB / 375.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.1609, allocations: 12 kB / 375.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.1609, allocations: 4 kB / 375.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.1609, allocations: 11.91 kB / 375.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.1637, allocations: 1.759 MB / 377.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.1638, allocations: 7.938 kB / 377.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.1643, allocations: 203.7 kB / 377.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.1643, allocations: 4 kB / 377.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003168/0.1646, allocations: 175.9 kB / 377.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.1646, allocations: 4 kB / 377.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1646, allocations: 0 / 377.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1455/0.3101, allocations: 2.033 MB / 379.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.3119, allocations: 0.6393 MB / 380.2 MB, free: 51.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000885/0.3128, allocations: 121 kB / 380.3 MB, free: 51.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.3142, allocations: 138.7 kB / 380.4 MB, free: 51.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/0.3152, allocations: 339 kB / 380.7 MB, free: 51.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001286/0.3165, allocations: 1.084 MB / 381.8 MB, free: 51.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009058/0.3175, allocations: 0.5917 MB / 382.4 MB, free: 51.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3175, allocations: 3.844 kB / 382.4 MB, free: 51.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001827/0.3193, allocations: 379.6 kB / 382.8 MB, free: 51.05 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.005098/0.3244, allocations: 2.838 MB / 385.6 MB, free: 50.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006259/0.3307, allocations: 3.287 MB / 388.9 MB, free: 49.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3307, allocations: 0 / 388.9 MB, free: 49.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.3326, allocations: 1.098 MB / 390 MB, free: 49.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/0.3365, allocations: 1.075 MB / 391.1 MB, free: 49.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.355, allocations: 12.44 MB / 403.5 MB, free: 38.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009185/0.3559, allocations: 1.324 MB / 404.8 MB, free: 37.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00557/0.3615, allocations: 3.363 MB / 408.2 MB, free: 34.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003191/0.3647, allocations: 1.251 MB / 409.5 MB, free: 32.81 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3648, allocations: 0 / 409.5 MB, free: 32.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05489/0.4197, allocations: 49.17 MB / 458.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/0.42, allocations: 203.9 kB / 458.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.013, allocations: 0 / 458.8 MB, free: 14.34 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","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches