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.0008667/0.0008668, allocations: 92.5 kB / 17.3 MB, free: 6.387 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.001005/0.001005, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.63/1.63, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004856/0.0004856, allocations: 10.97 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 47.59 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003186/0.1069, allocations: 2.261 MB / 331.3 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.1097, allocations: 1.252 MB / 332.6 MB, free: 136 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.1102, allocations: 7.938 kB / 332.6 MB, free: 128 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1105, allocations: 51.62 kB / 332.6 MB, free: 76 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.1109, allocations: 55.5 kB / 332.7 MB, free: 20 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.1116, allocations: 211.8 kB / 332.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002205/0.1138, allocations: 1.846 MB / 334.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.1151, allocations: 0.9048 MB / 335.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.1174, allocations: 1.797 MB / 337.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.1186, allocations: 0.8127 MB / 338.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.119, allocations: 40 kB / 338.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.1193, allocations: 40 kB / 338.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005621/0.1199, allocations: 426 kB / 338.7 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.121, allocations: 0.6887 MB / 339.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004016/0.1251, allocations: 4.163 MB / 343.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.1251, allocations: 0 / 343.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1251, allocations: 0 / 343.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.925e-05/0.1252, allocations: 0 / 343.6 MB, free: 5.051 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.00432/0.1295, allocations: 1.689 MB / 345.3 MB, free: 3.297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1296, allocations: 8.031 kB / 345.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008448/0.1305, allocations: 202.2 kB / 345.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000577/0.1311, allocations: 167 kB / 345.7 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.1328, allocations: 1.069 MB / 346.7 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/0.1329, allocations: 98.91 kB / 346.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.1333, allocations: 124.3 kB / 346.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004413/0.1377, allocations: 2.301 MB / 349.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.1378, allocations: 4 kB / 349.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.138, allocations: 48 kB / 349.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.1381, allocations: 32 kB / 349.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/0.1422, allocations: 2.001 MB / 351.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008989/0.1512, allocations: 4.789 MB / 356.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/0.1554, allocations: 1.914 MB / 358 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.157, allocations: 0.7737 MB / 358.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.1573, allocations: 21.3 kB / 358.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002697/0.16, allocations: 1.359 MB / 360.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.639e-06/0.16, allocations: 0 / 360.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.006045/0.1661, allocations: 2.7 MB / 362.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.1662, allocations: 98.42 kB / 363 MB, free: 1.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.1684, allocations: 0.9484 MB / 363.9 MB, free: 444 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006545/0.1691, allocations: 101.7 kB / 364 MB, free: 336 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.1698, allocations: 453.2 kB / 364.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.1708, allocations: 312.3 kB / 364.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.1719, allocations: 237.7 kB / 365 MB, free: 15.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.1722, allocations: 406.7 kB / 365.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.1743, allocations: 0.8744 MB / 366.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.1765, allocations: 1.051 MB / 367.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.1807, allocations: 1.977 MB / 369.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.1807, allocations: 0 / 369.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005721/0.1865, allocations: 2.424 MB / 371.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.1866, allocations: 29.7 kB / 371.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.1866, allocations: 4 kB / 371.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.427e-05/0.1867, allocations: 16.03 kB / 371.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.1875, allocations: 227.6 kB / 372 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.422e-05/0.1875, allocations: 15.88 kB / 372 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.1893, allocations: 191.2 kB / 372.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/0.1905, allocations: 1.097 MB / 373.3 MB, free: 6.906 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.002051/0.1925, allocations: 0.8963 MB / 374.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/0.1932, allocations: 106.8 kB / 374.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.1936, allocations: 130.3 kB / 374.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.1937, allocations: 12 kB / 374.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.1937, allocations: 3.938 kB / 374.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.1937, allocations: 11.97 kB / 374.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.1972, allocations: 1.751 MB / 376.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/0.1972, allocations: 7.938 kB / 376.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.1978, allocations: 211.6 kB / 376.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/0.1978, allocations: 4 kB / 376.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003293/0.1982, allocations: 179.8 kB / 376.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.1982, allocations: 4 kB / 376.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1982, allocations: 3.938 kB / 376.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.2028, allocations: 2.057 MB / 378.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.2043, allocations: 0.644 MB / 379.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005691/0.2049, allocations: 115.9 kB / 379.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.206, allocations: 143.6 kB / 379.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/0.2068, allocations: 340.9 kB / 379.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1804/0.3871, allocations: 1.072 MB / 381 MB, free: 51.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.3882, allocations: 0.5953 MB / 381.6 MB, free: 50.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3882, allocations: 3.094 kB / 381.6 MB, free: 50.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001719/0.3899, allocations: 380.3 kB / 381.9 MB, free: 50.92 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.004582/0.3945, allocations: 2.858 MB / 384.8 MB, free: 50.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.3983, allocations: 2.056 MB / 386.9 MB, free: 49.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3983, allocations: 0 / 386.9 MB, free: 49.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.4001, allocations: 1.114 MB / 388 MB, free: 49.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/0.4041, allocations: 0.9733 MB / 388.9 MB, free: 49.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/0.4237, allocations: 12.49 MB / 401.4 MB, free: 41.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/0.4247, allocations: 1.318 MB / 402.7 MB, free: 40.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.006066/0.4307, allocations: 3.382 MB / 406.1 MB, free: 36.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002841/0.4336, allocations: 1.243 MB / 407.4 MB, free: 35.58 MB / 318.1 MB Notification: Performance of SimCode: time 2.204e-06/0.4336, allocations: 0.75 kB / 407.4 MB, free: 35.58 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06282/0.4964, allocations: 47.87 MB / 455.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004078/0.497, allocations: 199.1 kB / 455.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.137, allocations: 4 kB / 455.4 MB, free: 2.426 MB / 334.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