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.001119/0.001119, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.16 kB / 307.1 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.0952, allocations: 50.51 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006183/0.1014, allocations: 4.917 MB / 362.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.1063, allocations: 2.202 MB / 364.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007156/0.107, allocations: 19.88 kB / 364.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.1077, allocations: 198.2 kB / 364.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.1085, allocations: 166.5 kB / 365.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.11, allocations: 0.7218 MB / 365.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.1124, allocations: 2.111 MB / 367.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.1139, allocations: 0.8306 MB / 368.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.1169, allocations: 2.538 MB / 371.3 MB, free: 248 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1593/0.2762, allocations: 1.048 MB / 372.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007422/0.277, allocations: 232.5 kB / 372.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005765/0.2776, allocations: 235.1 kB / 372.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007688/0.2784, allocations: 0.7251 MB / 373.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2798, allocations: 1.164 MB / 374.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.2844, allocations: 5.086 MB / 379.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2844, allocations: 1.438 kB / 379.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2844, allocations: 0 / 379.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001093/0.2845, allocations: 0 / 379.7 MB, free: 11.45 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005487/0.29, allocations: 3.112 MB / 382.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2901, allocations: 8.844 kB / 382.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003703/0.2905, allocations: 195.6 kB / 383.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005988/0.2911, allocations: 252 kB / 383.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.2926, allocations: 1.168 MB / 384.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.2928, allocations: 113.2 kB / 384.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/0.2931, allocations: 125.1 kB / 384.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.2964, allocations: 1.826 MB / 386.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.2964, allocations: 0 / 386.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.2967, allocations: 56.78 kB / 386.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.2967, allocations: 28.41 kB / 386.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.2996, allocations: 1.436 MB / 388.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007915/0.3075, allocations: 4.656 MB / 392.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.311, allocations: 1.458 MB / 394.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.3125, allocations: 0.6903 MB / 394.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.3127, allocations: 14.16 kB / 394.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002162/0.3148, allocations: 1.483 MB / 396.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 4.358e-06/0.3149, allocations: 0 / 396.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.005675/0.3205, allocations: 2.774 MB / 399.1 MB, free: 452 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.3207, allocations: 221.1 kB / 399.3 MB, free: 208 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004398/0.3251, allocations: 2.308 MB / 401.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008045/0.3259, allocations: 80.36 kB / 401.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.3265, allocations: 441.5 kB / 402.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009456/0.3274, allocations: 320.8 kB / 402.5 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/0.3291, allocations: 0.7971 MB / 403.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3293, allocations: 341.9 kB / 403.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.3308, allocations: 0.6592 MB / 404.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.3324, allocations: 0.8636 MB / 405.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.3355, allocations: 1.827 MB / 407 MB, free: 9.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3355, allocations: 1 kB / 407 MB, free: 9.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004501/0.34, allocations: 2.36 MB / 409.3 MB, free: 7.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.3402, allocations: 180.6 kB / 409.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3402, allocations: 7.938 kB / 409.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.3403, allocations: 11.98 kB / 409.5 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.3407, allocations: 193.6 kB / 409.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.3407, allocations: 11.66 kB / 409.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3419, allocations: 103.6 kB / 409.8 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.3429, allocations: 1.061 MB / 410.9 MB, free: 5.652 MB / 318.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.002648/0.3456, allocations: 1.294 MB / 412.2 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005645/0.3462, allocations: 197.7 kB / 412.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000881/0.3471, allocations: 311 kB / 412.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3471, allocations: 12 kB / 412.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.3471, allocations: 0 / 412.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.3471, allocations: 11.91 kB / 412.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.3503, allocations: 2.115 MB / 414.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3503, allocations: 0 / 414.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.3507, allocations: 170.6 kB / 415 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3508, allocations: 8 kB / 415 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/0.3511, allocations: 187.9 kB / 415.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/0.3511, allocations: 5.812 kB / 415.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3511, allocations: 0 / 415.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004424/0.3555, allocations: 2.375 MB / 417.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/0.358, allocations: 1.466 MB / 419 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/0.3585, allocations: 91.98 kB / 419.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.3592, allocations: 55.97 kB / 419.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005723/0.3597, allocations: 272.2 kB / 419.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009381/0.3607, allocations: 1.054 MB / 420.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002542/0.3632, allocations: 1.594 MB / 422.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3633, allocations: 0 / 422.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001572/0.3648, allocations: 407.2 kB / 422.5 MB, free: 9.953 MB / 334.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.004986/0.3698, allocations: 3.165 MB / 425.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005608/0.3755, allocations: 2.565 MB / 428.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3755, allocations: 0 / 428.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.3777, allocations: 1.484 MB / 429.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/0.3825, allocations: 1.036 MB / 430.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03252/0.4151, allocations: 13.49 MB / 444.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/0.4188, allocations: 1.607 MB / 445.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.009766/0.4286, allocations: 2.579 MB / 448.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004841/0.4335, allocations: 1.126 MB / 449.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4335, allocations: 4 kB / 449.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07831/0.5118, allocations: 47.84 MB / 497.4 MB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.827, allocations: 10.64 kB / 497.4 MB, free: 14.04 MB / 414.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