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: translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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.",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.08904, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003046/0.09214, allocations: 1.679 MB / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.09416, allocations: 0.8194 MB / 311.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.09433, allocations: 7.938 kB / 311.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.09449, allocations: 35.69 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.09466, allocations: 35.88 kB / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.09547, allocations: 171.6 kB / 311.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.09585, allocations: 208.5 kB / 312 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.09621, allocations: 144.9 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.09635, allocations: 87.58 kB / 312.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.09653, allocations: 103.4 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.09658, allocations: 8 kB / 312.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.09685, allocations: 83.86 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/0.09696, allocations: 51.77 kB / 312.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.09708, allocations: 85.52 kB / 312.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.09753, allocations: 271.6 kB / 312.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.09755, allocations: 0 / 312.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.09756, allocations: 0 / 312.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.09758, allocations: 0 / 312.8 MB, free: 12.57 MB / 266.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.001294/0.09888, allocations: 0.6736 MB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.09894, allocations: 8.031 kB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.09907, allocations: 47.44 kB / 313.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.09958, allocations: 297.3 kB / 313.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.09969, allocations: 66.34 kB / 313.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.09979, allocations: 39.94 kB / 313.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/0.1007, allocations: 405.8 kB / 314.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1007, allocations: 0 / 314.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.1008, allocations: 12 kB / 314.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.1009, allocations: 16.42 kB / 314.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.1016, allocations: 257.5 kB / 314.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.1042, allocations: 1.608 MB / 316.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.1049, allocations: 266.3 kB / 316.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.105, allocations: 24.06 kB / 316.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006607/0.1057, allocations: 357.1 kB / 316.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.116e-06/0.1057, allocations: 0 / 316.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.001511/0.1073, allocations: 0.6657 MB / 317.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1074, allocations: 195.9 kB / 317.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.1078, allocations: 294.2 kB / 318 MB, free: 6.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.1079, allocations: 41.7 kB / 318 MB, free: 6.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1081, allocations: 184.7 kB / 318.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1082, allocations: 79 kB / 318.3 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.1082, allocations: 12 kB / 318.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1084, allocations: 342.8 kB / 318.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.1088, allocations: 125 kB / 318.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.1092, allocations: 240.1 kB / 319 MB, free: 5.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.1097, allocations: 217 kB / 319.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1097, allocations: 0 / 319.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001161/0.1109, allocations: 0.5295 MB / 319.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.111, allocations: 97.09 kB / 319.8 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.111, allocations: 7.953 kB / 319.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.111, allocations: 8 kB / 319.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1112, allocations: 27.86 kB / 319.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.1112, allocations: 8 kB / 319.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.1116, allocations: 59.59 kB / 319.9 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.1117, allocations: 24.44 kB / 320 MB, free: 4.863 MB / 266.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.0003408/0.112, allocations: 249.1 kB / 320.2 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.1121, allocations: 31.62 kB / 320.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.1129, allocations: 267.7 kB / 320.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.1129, allocations: 7.938 kB / 320.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1129, allocations: 0 / 320.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.113, allocations: 112.7 kB / 320.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.1131, allocations: 12 kB / 320.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.1134, allocations: 27.98 kB / 320.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.1136, allocations: 35.94 kB / 320.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001397/0.115, allocations: 0.8142 MB / 321.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001196/0.1162, allocations: 0.7735 MB / 322.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004414/0.1166, allocations: 175.9 kB / 322.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1169, allocations: 178 kB / 322.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of Backend: time 6.71e-07/0.1169, allocations: 0 / 322.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.1181, allocations: 0.5002 MB / 323.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of SimCode: time 0.001647/0.1198, allocations: 1.156 MB / 324.3 MB, free: 316 kB / 266.7 MB Notification: Performance of Templates: time 0.01241/0.1322, allocations: 3.81 MB / 328.1 MB, free: 12.5 MB / 282.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.u[1],and1.u[2],and1.u[3],booleanPulse1.Twidth,booleanPulse1.period,booleanPulse1.startTime,booleanPulse1.width,booleanPulse2.Twidth,booleanPulse2.period,booleanPulse2.startTime,booleanPulse2.width,booleanStep.startTime,booleanStep.startValue,booleanTable.n,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,falling.not_u,falling.pre_u_start,integerConstant.k,integerConstant.y,nand1.u[1],nand1.u[2],onDelay.delayTime,onDelay.u,or1.u[1],or1.u[2],or2.u[1],or2.u[2],rSFlipFlop.Qini,rSFlipFlop.pre.pre_u_start,rSFlipFlop.pre.u,rising.pre_u_start,rising.u,sampleTriggerReset.period,sampleTriggerReset.startTime,sampleTriggerSet.period,sampleTriggerSet.startTime,set1.y,set1.y_default,time,triggeredAdd.u,triggeredAdd.y,triggeredAdd.y_start,xor1.u[1],xor1.u[2]