Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadModel(Modelica): time 1.831/1.831, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 15.98 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08054, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003085/0.08368, allocations: 1.689 MB / 274.3 MB, free: 9.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.08574, allocations: 0.8033 MB / 275.1 MB, free: 9.035 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.08591, allocations: 4 kB / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.08607, allocations: 31.66 kB / 275.1 MB, free: 9 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.08626, allocations: 43.81 kB / 275.2 MB, free: 8.957 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.08705, allocations: 167.7 kB / 275.4 MB, free: 8.793 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.08743, allocations: 204.6 kB / 275.6 MB, free: 8.594 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.08778, allocations: 148.9 kB / 275.7 MB, free: 8.445 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.08793, allocations: 91.56 kB / 275.8 MB, free: 8.355 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.08811, allocations: 107.3 kB / 275.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.08817, allocations: 12 kB / 275.9 MB, free: 8.238 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.08845, allocations: 75.94 kB / 276 MB, free: 8.164 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.08857, allocations: 51.77 kB / 276 MB, free: 8.113 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.08869, allocations: 89.39 kB / 276.1 MB, free: 8.02 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.08914, allocations: 263.7 kB / 276.4 MB, free: 7.762 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.08916, allocations: 4 kB / 276.4 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.08918, allocations: 3.984 kB / 276.4 MB, free: 7.754 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.0892, allocations: 7.938 kB / 276.4 MB, free: 7.746 MB / 234.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.001309/0.09052, allocations: 0.6734 MB / 277.1 MB, free: 7.008 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.09057, allocations: 16.02 kB / 277.1 MB, free: 6.992 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.0907, allocations: 43.53 kB / 277.1 MB, free: 6.949 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.0912, allocations: 297.3 kB / 277.4 MB, free: 6.617 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.09131, allocations: 58.31 kB / 277.5 MB, free: 6.555 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.09141, allocations: 40 kB / 277.5 MB, free: 6.516 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.09234, allocations: 405.8 kB / 277.9 MB, free: 6.082 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.09238, allocations: 3.938 kB / 277.9 MB, free: 6.078 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.09243, allocations: 12 kB / 277.9 MB, free: 6.066 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.09248, allocations: 12.44 kB / 277.9 MB, free: 6.055 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.09322, allocations: 257.5 kB / 278.2 MB, free: 5.801 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.09585, allocations: 1.6 MB / 279.8 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.09666, allocations: 283.9 kB / 280.1 MB, free: 3.812 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.09675, allocations: 8.312 kB / 280.1 MB, free: 3.805 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/0.09743, allocations: 349.1 kB / 280.4 MB, free: 3.418 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 3.536e-06/0.09745, allocations: 11.88 kB / 280.4 MB, free: 3.406 MB / 234.7 MB Notification: Performance of matching and sorting (n=36): time 0.001507/0.09897, allocations: 0.6616 MB / 281.1 MB, free: 2.691 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.09911, allocations: 203.9 kB / 281.3 MB, free: 2.449 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.09954, allocations: 294.2 kB / 281.6 MB, free: 2.152 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.09961, allocations: 37.7 kB / 281.6 MB, free: 2.109 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.0998, allocations: 184.9 kB / 281.8 MB, free: 1.926 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.09992, allocations: 82.98 kB / 281.9 MB, free: 1.844 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.09997, allocations: 15.94 kB / 281.9 MB, free: 1.828 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1001, allocations: 342.8 kB / 282.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.1005, allocations: 117.1 kB / 282.3 MB, free: 1.371 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.101, allocations: 240.1 kB / 282.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.1014, allocations: 213.5 kB / 282.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1015, allocations: 0 / 282.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001201/0.1027, allocations: 0.5254 MB / 283.3 MB, free: 312 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.1028, allocations: 102.4 kB / 283.4 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.1028, allocations: 4 kB / 283.4 MB, free: 188 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.1028, allocations: 4 kB / 283.4 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.103, allocations: 31.91 kB / 283.4 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.103, allocations: 11.94 kB / 283.5 MB, free: 140 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.1034, allocations: 67.91 kB / 283.5 MB, free: 72 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.1035, allocations: 20 kB / 283.5 MB, free: 52 kB / 234.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.0003916/0.1039, allocations: 261.1 kB / 283.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.104, allocations: 35.62 kB / 283.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.1047, allocations: 251.2 kB / 284.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.1048, allocations: 3.984 kB / 284.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1048, allocations: 0 / 284.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.1049, allocations: 104.7 kB / 284.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/0.105, allocations: 23.89 kB / 284.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.1053, allocations: 40.03 kB / 284.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.1055, allocations: 35.94 kB / 284.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001402/0.1069, allocations: 0.802 MB / 285.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001221/0.1081, allocations: 0.7732 MB / 285.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004715/0.1086, allocations: 184.3 kB / 286 MB, free: 13.44 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.1089, allocations: 174 kB / 286.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of Backend: time 8.12e-07/0.1089, allocations: 0 / 286.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.1101, allocations: 0.4895 MB / 286.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of SimCode: time 0.001686/0.1118, allocations: 1.147 MB / 287.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of Templates: time 0.01294/0.1248, allocations: 3.814 MB / 291.7 MB, free: 7.707 MB / 250.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]