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.001481/0.001481, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 62.66 kB / 306.5 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09588, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003649/0.09957, allocations: 2.647 MB / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1019, allocations: 1.247 MB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1021, allocations: 7.938 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1023, allocations: 51.62 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1025, allocations: 47.52 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.103, allocations: 219.8 kB / 361.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1047, allocations: 2.061 MB / 363.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.1057, allocations: 0.9555 MB / 364.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.1079, allocations: 2.148 MB / 366.5 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.1091, allocations: 1.094 MB / 367.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003866/0.1095, allocations: 216 kB / 367.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.1099, allocations: 220 kB / 368 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000631/0.1105, allocations: 0.6192 MB / 368.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.1116, allocations: 0.9057 MB / 369.5 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1721/0.2837, allocations: 4.346 MB / 373.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2837, allocations: 0.6562 kB / 373.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2837, allocations: 4.391 kB / 373.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.843e-05/0.2838, allocations: 0 / 373.9 MB, free: 14.32 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.005842/0.2897, allocations: 2.308 MB / 376.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2897, allocations: 10.56 kB / 376.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004677/0.2902, allocations: 198.7 kB / 376.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.2907, allocations: 172.4 kB / 376.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.2927, allocations: 1.055 MB / 377.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.293, allocations: 125.6 kB / 377.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.2935, allocations: 122.1 kB / 377.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/0.2981, allocations: 2.291 MB / 380.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.2982, allocations: 0 / 380.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.2985, allocations: 50.88 kB / 380.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.2985, allocations: 32.27 kB / 380.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.3024, allocations: 1.981 MB / 382.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007588/0.31, allocations: 4.781 MB / 387 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.3134, allocations: 1.857 MB / 388.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.3148, allocations: 0.76 MB / 389.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.3151, allocations: 20.58 kB / 389.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/0.3171, allocations: 1.346 MB / 391 MB, free: 7.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.526e-06/0.3171, allocations: 1.312 kB / 391 MB, free: 7.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004832/0.322, allocations: 2.675 MB / 393.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.322, allocations: 90.14 kB / 393.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3231, allocations: 0.9436 MB / 394.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.3233, allocations: 100.5 kB / 394.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.3236, allocations: 459.7 kB / 395.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.3239, allocations: 312.8 kB / 395.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009688/0.3249, allocations: 0.6674 MB / 396.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.325, allocations: 405.2 kB / 396.6 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.3264, allocations: 0.865 MB / 397.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.3278, allocations: 1.039 MB / 398.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.3305, allocations: 1.95 MB / 400.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3305, allocations: 0 / 400.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004179/0.3347, allocations: 2.407 MB / 402.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.3347, allocations: 31.67 kB / 402.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3348, allocations: 4 kB / 402.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3348, allocations: 8 kB / 402.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.3354, allocations: 234 kB / 403.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.3354, allocations: 8 kB / 403.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.3368, allocations: 189.4 kB / 403.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.3378, allocations: 1.093 MB / 404.4 MB, free: 13.11 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.00157/0.3394, allocations: 0.8956 MB / 405.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.3398, allocations: 102.8 kB / 405.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.3401, allocations: 137.3 kB / 405.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3401, allocations: 16 kB / 405.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3401, allocations: 0 / 405.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3401, allocations: 7.922 kB / 405.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.3428, allocations: 1.762 MB / 407.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3428, allocations: 0 / 407.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.3433, allocations: 201.7 kB / 407.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.3433, allocations: 4 kB / 407.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/0.3436, allocations: 178.5 kB / 407.7 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.3436, allocations: 7.281 kB / 407.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3436, allocations: 4 kB / 407.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/0.3475, allocations: 2.038 MB / 409.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.3488, allocations: 0.644 MB / 410.4 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005094/0.3494, allocations: 119.9 kB / 410.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009765/0.3504, allocations: 135.6 kB / 410.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007323/0.3511, allocations: 340.9 kB / 411 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001134/0.3522, allocations: 1.081 MB / 412 MB, free: 5.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008137/0.3531, allocations: 0.5927 MB / 412.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3531, allocations: 0 / 412.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001594/0.3547, allocations: 383.1 kB / 413 MB, free: 4.43 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.005091/0.3598, allocations: 2.831 MB / 415.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006834/0.3666, allocations: 3.286 MB / 419.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.3667, allocations: 4 kB / 419.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.3686, allocations: 1.096 MB / 420.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/0.373, allocations: 1.076 MB / 421.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/0.3983, allocations: 12.42 MB / 433.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.3997, allocations: 1.323 MB / 435 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.01394/0.4137, allocations: 3.39 MB / 438.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009878/0.4236, allocations: 1.243 MB / 439.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4237, allocations: 0 / 439.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07716/0.5008, allocations: 49.16 MB / 488.8 MB, free: 7.488 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.5011, allocations: 198.8 kB / 489 MB, free: 7.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.189, allocations: 0 / 489 MB, free: 7.23 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