Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.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.FullAdder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2579, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005439/0.2634, allocations: 4.934 MB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.2675, allocations: 2.187 MB / 415.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006669/0.2682, allocations: 19.88 kB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.2688, allocations: 194.2 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.2696, allocations: 194.4 kB / 416.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.2712, allocations: 0.7141 MB / 417 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00233/0.2735, allocations: 2.127 MB / 419.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2747, allocations: 0.819 MB / 419.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.2772, allocations: 2.593 MB / 422.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.2786, allocations: 1.062 MB / 423.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005973/0.2792, allocations: 232 kB / 423.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005696/0.2798, allocations: 240 kB / 424 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000888/0.2807, allocations: 0.728 MB / 424.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.2824, allocations: 1.158 MB / 425.9 MB, free: 288 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.2874, allocations: 5.157 MB / 431.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2875, allocations: 0 / 431.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2875, allocations: 0 / 431.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001276/0.2876, allocations: 0 / 431.1 MB, free: 11.11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007746/0.2954, allocations: 3.184 MB / 434.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.2954, allocations: 12.03 kB / 434.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009025/0.2963, allocations: 194.3 kB / 434.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.2974, allocations: 267.3 kB / 434.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.2998, allocations: 1.179 MB / 435.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.2999, allocations: 98.77 kB / 436 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/0.3005, allocations: 128.4 kB / 436.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/0.3046, allocations: 1.824 MB / 438 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.3047, allocations: 3.984 kB / 438 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003221/0.305, allocations: 60 kB / 438 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.3051, allocations: 28 kB / 438 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.3083, allocations: 1.434 MB / 439.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008773/0.3171, allocations: 4.616 MB / 444.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.3201, allocations: 1.448 MB / 445.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3215, allocations: 0.6877 MB / 446.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.3217, allocations: 13 kB / 446.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002131/0.3238, allocations: 1.484 MB / 447.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=138): time 3.427e-06/0.3238, allocations: 0 / 447.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.005371/0.3292, allocations: 2.791 MB / 450.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.3293, allocations: 224.9 kB / 450.7 MB, free: 7.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/0.3331, allocations: 2.311 MB / 453.1 MB, free: 4.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002828/0.3334, allocations: 73.7 kB / 453.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.3338, allocations: 460.7 kB / 453.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/0.3344, allocations: 333.6 kB / 453.9 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/0.3358, allocations: 0.8027 MB / 454.7 MB, free: 3.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3359, allocations: 341.9 kB / 455 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.3376, allocations: 0.667 MB / 455.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3393, allocations: 0.8561 MB / 456.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.3424, allocations: 1.825 MB / 458.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.3424, allocations: 4 kB / 458.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00445/0.3469, allocations: 2.353 MB / 460.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.347, allocations: 184.4 kB / 460.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.347, allocations: 4.078 kB / 460.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.3471, allocations: 15.98 kB / 460.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.3475, allocations: 195.8 kB / 461.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.3476, allocations: 16.05 kB / 461.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.3485, allocations: 99.62 kB / 461.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009645/0.3495, allocations: 1.061 MB / 462.3 MB, free: 11.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 177 ($PRE.Adder1.Adder1.XOR.G2.y,$PRE.Adder1.Adder1.AND.G2.y,$PRE.Adder1.Adder2.XOR.G2.y,$PRE.Adder1.Adder2.AND.G2.y,$whenCondition1,Adder1.OR.auxiliary_n,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G1.auxiliary_n,$whenCondition9,$whenCondition8,$whenCondition5,$whenCondition4,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G1.auxiliary_n,$whenCondition7,$whenCondition6,c_out.x[1],$PRE.Adder1.OR.auxiliary_n,$PRE.Counter.FF1.And2.auxiliary_n,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.x[1],$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.x[1],$PRE.Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.x[2],$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.y,Counter.FF1.RS2.TD1.x,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.And2.auxiliary_n,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.x[1],$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.x[1],$PRE.Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.x[2],$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.y,Counter.FF2.RS2.TD1.x,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.And2.auxiliary_n,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.x[1],$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.x[1],$PRE.Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.x[2],$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.y,Counter.FF3.RS2.TD1.x,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],CLK.t_i,$PRE.CLK.t_i,Enable.y,Counter.FF3.Not1.auxiliary,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.y,Counter.FF3.And2.auxiliary_n,Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.x[1],Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.auxiliary[2],Counter.FF3.RS1.TD1.x,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF2.Not1.auxiliary,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.y,Counter.FF2.And2.auxiliary_n,Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.x[1],Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.auxiliary[2],Counter.FF2.RS1.TD1.x,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF1.Not1.auxiliary,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.y,Counter.FF1.And2.auxiliary_n,Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.x[1],Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.auxiliary[2],Counter.FF1.RS1.TD1.x,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.count,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.x,$PRE.Adder1.Adder1.XOR.G2.x,Adder1.Adder1.XOR.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 5 * 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.002455/0.352, allocations: 1.29 MB / 463.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/0.3526, allocations: 206.7 kB / 463.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.3535, allocations: 311 kB / 464.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3535, allocations: 8 kB / 464.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.3535, allocations: 3.984 kB / 464.1 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.3535, allocations: 19.91 kB / 464.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.3573, allocations: 2.122 MB / 466.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.3574, allocations: 0 / 466.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.3578, allocations: 175.8 kB / 466.4 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.3579, allocations: 4 kB / 466.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/0.3582, allocations: 179.9 kB / 466.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.3582, allocations: 4 kB / 466.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3582, allocations: 0 / 466.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/0.3627, allocations: 2.397 MB / 469 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/0.3655, allocations: 1.467 MB / 470.5 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/0.3661, allocations: 88.09 kB / 470.6 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/0.3669, allocations: 63.91 kB / 470.6 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/0.3675, allocations: 264.7 kB / 470.9 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008917/0.3684, allocations: 1.057 MB / 471.9 MB, free: 1.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002963/0.3713, allocations: 1.598 MB / 473.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3713, allocations: 0 / 473.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001578/0.3729, allocations: 407.4 kB / 473.9 MB, free: 15.41 MB / 398.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: 130 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder1.AND.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.t_next,Adder1.OR.auxiliary_n,c_out.x[1],Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.And1.y,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.And1.y,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.And1.y,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,Counter.FF3.Not1.auxiliary,Enable.y,CLK.t_i) * Number of discrete states: 75 (Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And3.auxiliary_n,Counter.FF3.And2.auxiliary_n,Counter.FF3.And1.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And3.auxiliary_n,Counter.FF2.And2.auxiliary_n,Counter.FF2.And1.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And3.auxiliary_n,Counter.FF1.And2.auxiliary_n,Counter.FF1.And1.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,Adder1.OR.auxiliary_n,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,Enable.y,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,$whenCondition3,$whenCondition2,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,$whenCondition5,$whenCondition4,Adder1.Adder1.AND.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,$whenCondition7,$whenCondition6,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,$whenCondition9,$whenCondition8,Adder1.Adder2.AND.G2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 5 * 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.0053/0.3782, allocations: 3.178 MB / 477.1 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003832/0.3821, allocations: 2.238 MB / 479.3 MB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3821, allocations: 4.25 kB / 479.4 MB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.3841, allocations: 1.491 MB / 480.8 MB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/0.388, allocations: 1.027 MB / 481.9 MB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/0.4098, allocations: 13.22 MB / 495.1 MB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.4117, allocations: 1.603 MB / 496.7 MB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005039/0.4167, allocations: 2.579 MB / 499.3 MB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/0.4199, allocations: 1.134 MB / 0.4887 GB, free: 4.484 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4199, allocations: 0 / 0.4887 GB, free: 4.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/0.4935, allocations: 48.05 MB / 0.5356 GB, free: 3.738 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.056/9.549, allocations: 8.375 kB / 0.5356 GB, free: 3.734 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches