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.001116/0.001116, allocations: 121.1 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.001265/0.001265, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 50.53 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006986/0.2546, allocations: 4.934 MB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.2592, allocations: 2.187 MB / 415.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008978/0.2602, allocations: 19.88 kB / 415.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.2609, allocations: 194.2 kB / 416.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008496/0.2618, allocations: 198.4 kB / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.2634, allocations: 0.7136 MB / 417 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.2659, allocations: 2.127 MB / 419.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.2672, allocations: 0.819 MB / 419.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.2701, allocations: 2.596 MB / 422.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.272, allocations: 1.062 MB / 423.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008916/0.2729, allocations: 232 kB / 423.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006734/0.2735, allocations: 232 kB / 424 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000917/0.2745, allocations: 0.728 MB / 424.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.2763, allocations: 1.165 MB / 425.9 MB, free: 304 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.2804, allocations: 5.149 MB / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.2804, allocations: 0 / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2804, allocations: 0 / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.448e-05/0.2805, allocations: 0 / 431.1 MB, free: 11.13 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.00444/0.285, allocations: 3.191 MB / 434.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.285, allocations: 8.031 kB / 434.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002958/0.2853, allocations: 198.3 kB / 434.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.2858, allocations: 263.3 kB / 434.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.2872, allocations: 1.186 MB / 435.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.2873, allocations: 98.77 kB / 436 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.2876, allocations: 120.4 kB / 436.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.2906, allocations: 1.836 MB / 438 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.2907, allocations: 4 kB / 438 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.2909, allocations: 52 kB / 438 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.2909, allocations: 28 kB / 438.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.2936, allocations: 1.438 MB / 439.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007212/0.3009, allocations: 4.604 MB / 444.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.3037, allocations: 1.452 MB / 445.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.305, allocations: 0.6955 MB / 446.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.3052, allocations: 12.98 kB / 446.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002169/0.3074, allocations: 1.476 MB / 447.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=138): time 3.907e-06/0.3074, allocations: 3.938 kB / 447.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.005438/0.3128, allocations: 2.791 MB / 450.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.313, allocations: 224.9 kB / 450.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/0.3166, allocations: 2.307 MB / 453.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003579/0.317, allocations: 81.69 kB / 453.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.3174, allocations: 456.7 kB / 453.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.3179, allocations: 333.6 kB / 453.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.319, allocations: 0.8027 MB / 454.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3191, allocations: 337.9 kB / 455 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.3204, allocations: 0.667 MB / 455.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.3218, allocations: 0.8561 MB / 456.6 MB, free: 1.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/0.3247, allocations: 1.827 MB / 458.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3247, allocations: 0 / 458.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004125/0.3289, allocations: 2.357 MB / 460.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.329, allocations: 192.5 kB / 460.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.329, allocations: 8 kB / 460.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.3291, allocations: 8 kB / 461 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.3294, allocations: 199.6 kB / 461.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.3295, allocations: 11.98 kB / 461.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.3303, allocations: 95.64 kB / 461.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009035/0.3312, allocations: 1.057 MB / 462.3 MB, free: 11.23 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.001879/0.3331, allocations: 1.286 MB / 463.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.3335, allocations: 206.7 kB / 463.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005388/0.334, allocations: 319 kB / 464.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.334, allocations: 12 kB / 464.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3341, allocations: 0 / 464.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.3341, allocations: 11.91 kB / 464.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.3366, allocations: 2.126 MB / 466.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3366, allocations: 0 / 466.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.3369, allocations: 171.8 kB / 466.4 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.3369, allocations: 4 kB / 466.4 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/0.3372, allocations: 179.9 kB / 466.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.3372, allocations: 4 kB / 466.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3372, allocations: 0 / 466.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/0.3413, allocations: 2.397 MB / 469 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/0.3432, allocations: 1.471 MB / 470.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004093/0.3436, allocations: 88 kB / 470.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.3441, allocations: 55.97 kB / 470.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/0.3447, allocations: 272.7 kB / 470.9 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008868/0.3456, allocations: 1.061 MB / 471.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002192/0.3478, allocations: 1.59 MB / 473.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3478, allocations: 96 / 473.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001475/0.3493, allocations: 419.3 kB / 473.9 MB, free: 15.42 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.004816/0.3541, allocations: 3.178 MB / 477.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003978/0.3581, allocations: 2.234 MB / 479.4 MB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3582, allocations: 3.938 kB / 479.4 MB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.3606, allocations: 1.483 MB / 480.8 MB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/0.3645, allocations: 1.023 MB / 481.9 MB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/0.3876, allocations: 13.22 MB / 495.1 MB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.3892, allocations: 1.603 MB / 496.7 MB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004799/0.394, allocations: 2.575 MB / 499.3 MB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002601/0.3966, allocations: 1.134 MB / 0.4887 GB, free: 4.508 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3966, allocations: 0 / 0.4887 GB, free: 4.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07901/0.4757, allocations: 48.06 MB / 0.5356 GB, free: 3.762 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.031/9.506, allocations: 8.375 kB / 0.5356 GB, free: 3.758 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