Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 60.12 kB / 306.3 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.0946, allocations: 50.54 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003664/0.09829, allocations: 2.632 MB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1007, allocations: 1.263 MB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.101, allocations: 7.938 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1012, allocations: 47.64 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1014, allocations: 59.5 kB / 360.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.102, allocations: 211.8 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.1036, allocations: 1.846 MB / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.1047, allocations: 0.9282 MB / 363.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.1066, allocations: 1.883 MB / 365.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1078, allocations: 0.9375 MB / 366.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004611/0.1082, allocations: 72 kB / 366.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1087, allocations: 72 kB / 366.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006908/0.1094, allocations: 477.9 kB / 367.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.1108, allocations: 0.73 MB / 368 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1745/0.2853, allocations: 4.24 MB / 372.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.2854, allocations: 0.6094 kB / 372.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.2854, allocations: 0 / 372.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001441/0.2856, allocations: 1.531 kB / 372.3 MB, free: 12.61 MB / 302.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.01064/0.2962, allocations: 2.313 MB / 374.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.2963, allocations: 8.844 kB / 374.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001377/0.2977, allocations: 203 kB / 374.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.2991, allocations: 168.4 kB / 375 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.3016, allocations: 1.062 MB / 376 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.3019, allocations: 122.5 kB / 376.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.3024, allocations: 124.6 kB / 376.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004962/0.3073, allocations: 2.286 MB / 378.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3074, allocations: 0.625 kB / 378.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.3076, allocations: 49.09 kB / 378.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.3077, allocations: 33.03 kB / 378.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003819/0.3115, allocations: 1.98 MB / 380.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007512/0.319, allocations: 4.785 MB / 385.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00353/0.3226, allocations: 1.863 MB / 387.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.3239, allocations: 0.7598 MB / 388 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.3241, allocations: 18.89 kB / 388 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00208/0.3262, allocations: 1.349 MB / 389.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.686e-06/0.3262, allocations: 4 kB / 389.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004946/0.3312, allocations: 2.664 MB / 392.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3312, allocations: 90.08 kB / 392.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.3323, allocations: 0.9429 MB / 393.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.3325, allocations: 105.4 kB / 393.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.3328, allocations: 460.2 kB / 393.6 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.3331, allocations: 312.9 kB / 393.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008862/0.334, allocations: 0.6654 MB / 394.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3341, allocations: 405.5 kB / 395 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3355, allocations: 0.861 MB / 395.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.3371, allocations: 1.04 MB / 396.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3397, allocations: 1.951 MB / 398.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.3397, allocations: 7.938 kB / 398.9 MB, free: 1.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004016/0.3437, allocations: 2.401 MB / 401.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.3438, allocations: 29.7 kB / 401.3 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3438, allocations: 4 kB / 401.3 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.3439, allocations: 11.98 kB / 401.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.3444, allocations: 227.9 kB / 401.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/0.3445, allocations: 21.73 kB / 401.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3459, allocations: 188.8 kB / 401.7 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.3469, allocations: 1.093 MB / 402.8 MB, free: 13.12 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.00156/0.3485, allocations: 0.8943 MB / 403.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.3489, allocations: 109.2 kB / 403.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.3491, allocations: 130.3 kB / 404 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3492, allocations: 12 kB / 404 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.3492, allocations: 0 / 404 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.3492, allocations: 11.91 kB / 404 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.3519, allocations: 1.761 MB / 405.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.352, allocations: 0 / 405.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.3524, allocations: 199.4 kB / 405.9 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.3524, allocations: 8 kB / 405.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/0.3527, allocations: 175.9 kB / 406.1 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.3527, allocations: 8 kB / 406.1 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3527, allocations: 3.938 kB / 406.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/0.3564, allocations: 2.034 MB / 408.2 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.3576, allocations: 0.644 MB / 408.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/0.358, allocations: 123.9 kB / 408.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/0.3588, allocations: 135.6 kB / 409.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006795/0.3595, allocations: 335.5 kB / 409.4 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009647/0.3605, allocations: 1.081 MB / 410.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007054/0.3612, allocations: 0.5927 MB / 411.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3612, allocations: 0 / 411.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001296/0.3625, allocations: 379.1 kB / 411.4 MB, free: 4.449 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.00426/0.3668, allocations: 2.842 MB / 414.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003627/0.3704, allocations: 2.028 MB / 416.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3704, allocations: 4 kB / 416.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.3722, allocations: 1.096 MB / 417.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.3756, allocations: 0.9722 MB / 418.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.3964, allocations: 12.42 MB / 430.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.3975, allocations: 1.324 MB / 432.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.007733/0.4053, allocations: 3.382 MB / 435.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003348/0.4086, allocations: 1.235 MB / 436.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4086, allocations: 0 / 436.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07137/0.48, allocations: 48.24 MB / 485 MB, free: 9.734 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.4802, allocations: 195.3 kB / 485.2 MB, free: 9.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.905, allocations: 0 / 485.2 MB, free: 9.477 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches