Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8 kB / 264 MB, free: 3.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2832, allocations: 44.52 MB / 308.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003057/0.2863, allocations: 1.687 MB / 310.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2883, allocations: 0.8117 MB / 311 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.2885, allocations: 7.938 kB / 311.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.2887, allocations: 31.7 kB / 311.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.2889, allocations: 43.81 kB / 311.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.2897, allocations: 171.6 kB / 311.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.2901, allocations: 200.6 kB / 311.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.2904, allocations: 140.9 kB / 311.6 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.2906, allocations: 91.56 kB / 311.7 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.2908, allocations: 107.3 kB / 311.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.2908, allocations: 8 kB / 311.8 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.2911, allocations: 79.92 kB / 311.9 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2912, allocations: 55.77 kB / 312 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2913, allocations: 85.45 kB / 312 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.2918, allocations: 272.3 kB / 312.3 MB, free: 8.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2918, allocations: 4 kB / 312.3 MB, free: 8.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2919, allocations: 0 / 312.3 MB, free: 8.965 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.2919, allocations: 0 / 312.3 MB, free: 8.965 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001347/0.2932, allocations: 0.6697 MB / 313 MB, free: 8.223 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2933, allocations: 16.03 kB / 313 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.2934, allocations: 74.47 kB / 313.1 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.2935, allocations: 55.42 kB / 313.1 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.2941, allocations: 297.3 kB / 313.4 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/0.2942, allocations: 54.36 kB / 313.5 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.2943, allocations: 40 kB / 313.5 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.2952, allocations: 409.8 kB / 313.9 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.2953, allocations: 0 / 313.9 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.2953, allocations: 15.94 kB / 313.9 MB, free: 7.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.2954, allocations: 12.44 kB / 313.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.2961, allocations: 257.5 kB / 314.2 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.2988, allocations: 1.6 MB / 315.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.2996, allocations: 279.9 kB / 316.1 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.135e-05/0.2997, allocations: 12.14 kB / 316.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/0.3004, allocations: 349.5 kB / 316.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 2.876e-06/0.3004, allocations: 0 / 316.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=36): time 0.001544/0.302, allocations: 0.6693 MB / 317.1 MB, free: 3.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3021, allocations: 191.9 kB / 317.3 MB, free: 3.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.3026, allocations: 294.3 kB / 317.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.3026, allocations: 37.7 kB / 317.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3028, allocations: 192.6 kB / 317.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.303, allocations: 87.02 kB / 317.9 MB, free: 2.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.303, allocations: 11.94 kB / 317.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3032, allocations: 342.8 kB / 318.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.3035, allocations: 117.1 kB / 318.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.304, allocations: 240.2 kB / 318.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.3045, allocations: 220.9 kB / 318.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3045, allocations: 0 / 318.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001193/0.3057, allocations: 0.5251 MB / 319.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/0.3058, allocations: 103.5 kB / 319.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3058, allocations: 4.281 kB / 319.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3059, allocations: 4 kB / 319.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.306, allocations: 27.92 kB / 319.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.3061, allocations: 20.3 kB / 319.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.3064, allocations: 59.61 kB / 319.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.3065, allocations: 20 kB / 319.5 MB, free: 1.176 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.3069, allocations: 257.1 kB / 319.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.307, allocations: 35.62 kB / 319.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.3077, allocations: 260 kB / 320.1 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3078, allocations: 4 kB / 320.1 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3078, allocations: 0 / 320.1 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.3078, allocations: 3.984 kB / 320.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.3098, allocations: 1.004 MB / 321.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3098, allocations: 4 kB / 321.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.3099, allocations: 7.938 kB / 321.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.3099, allocations: 7.984 kB / 321.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.31, allocations: 8 kB / 321.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.31, allocations: 4 kB / 321.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.31, allocations: 0 / 321.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3112, allocations: 0.6353 MB / 321.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.3113, allocations: 104.7 kB / 321.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.3114, allocations: 12 kB / 321.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.3118, allocations: 31.97 kB / 321.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.3119, allocations: 43.8 kB / 322 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.312, allocations: 16 kB / 322 MB, free: 14.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00024/0.3123, allocations: 178 kB / 322.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3123, allocations: 0 / 322.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006751/0.313, allocations: 112 kB / 322.2 MB, free: 14.31 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 14 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.3147, allocations: 1.24 MB / 323.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3158, allocations: 0.4979 MB / 324 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3158, allocations: 4 kB / 324 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.3164, allocations: 306.6 kB / 324.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.3169, allocations: 41.36 kB / 324.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.3214, allocations: 1.94 MB / 326.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3219, allocations: 0.7958 MB / 327.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000267/0.3222, allocations: 58.94 kB / 327.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.3224, allocations: 123.4 kB / 327.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3224, allocations: 0 / 327.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.353, allocations: 6.601 MB / 333.8 MB, free: 2.531 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/0.3533, allocations: 169.4 kB / 334 MB, free: 2.289 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/2.901, allocations: 0 / 334 MB, free: 2.289 MB / 266.7 MB "" Variables in the reference:time,and1.u[1],and1.u[2],and1.u[3],booleanTable.y,changing.u,nand1.u[1],nand1.u[2],onDelay.u,or1.u[1],or1.u[2],or2.u[1],or2.u[2],rSFlipFlop.pre.u,rising.u,set1.y,triggeredAdd.y,xor1.u[1],xor1.u[2] Variables in the result:and1.nu,and1.u[1],and1.u[2],and1.u[3],and1.y,booleanPulse1.Twidth,booleanPulse1.period,booleanPulse1.pulsStart,booleanPulse1.startTime,booleanPulse1.width,booleanPulse1.y,booleanPulse2.Twidth,booleanPulse2.period,booleanPulse2.pulsStart,booleanPulse2.startTime,booleanPulse2.width,booleanPulse2.y,booleanStep.startTime,booleanStep.startValue,booleanStep.y,booleanTable.index,booleanTable.n,booleanTable.nextTime,booleanTable.startValue,booleanTable.table[1],booleanTable.table[2],booleanTable.table[3],booleanTable.table[4],booleanTable.table[5],booleanTable.table[6],booleanTable.table[7],booleanTable.y,changing.pre_u_start,changing.u,changing.y,falling.not_u,falling.pre_u_start,falling.u,falling.y,integerConstant.k,integerConstant.y,nand1.nu,nand1.u[1],nand1.u[2],nand1.y,nor1.u,nor1.y,onDelay.delaySignal,onDelay.delayTime,onDelay.t_next,onDelay.u,onDelay.y,or1.nu,or1.u[1],or1.u[2],or1.y,or2.nu,or2.u[1],or2.u[2],or2.y,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.Qini,rSFlipFlop.R,rSFlipFlop.S,rSFlipFlop.nor.u1,rSFlipFlop.nor.u2,rSFlipFlop.nor.y,rSFlipFlop.nor1.u1,rSFlipFlop.nor1.u2,rSFlipFlop.nor1.y,rSFlipFlop.pre.pre_u_start,rSFlipFlop.pre.u,rSFlipFlop.pre.y,rising.pre_u_start,rising.u,rising.y,sampleTriggerReset.period,sampleTriggerReset.startTime,sampleTriggerReset.y,sampleTriggerSet.period,sampleTriggerSet.startTime,sampleTriggerSet.y,set1.expr[1],set1.expr[2],set1.firstActiveIndex,set1.nu,set1.u[1],set1.u[2],set1.use_pre_as_default,set1.y,set1.y_default,showValue.active,showValue.activePort,showValue.showActive,showValue.use_activePort,showValue1.number,showValue1.numberPort,showValue1.showNumber,showValue1.use_numberPort,showValue2.active,showValue2.activePort,showValue2.showActive,showValue2.use_activePort,showValue3.active,showValue3.activePort,showValue3.showActive,showValue3.use_activePort,showValue4.active,showValue4.activePort,showValue4.showActive,showValue4.use_activePort,showValue5.active,showValue5.activePort,showValue5.showActive,showValue5.use_activePort,showValue6.active,showValue6.activePort,showValue6.showActive,showValue6.use_activePort,time,triggeredAdd.local_reset,triggeredAdd.local_set,triggeredAdd.trigger,triggeredAdd.u,triggeredAdd.use_reset,triggeredAdd.use_set,triggeredAdd.y,triggeredAdd.y_start,xor1.nu,xor1.u[1],xor1.u[2],xor1.y