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 2.372/2.372, allocations: 194.9 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 8 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 44.5 MB / 309 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6086, allocations: 75.18 MB / 384.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.609, allocations: 71.2 kB / 384.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02197/0.631, allocations: 5.01 MB / 389.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.631, allocations: 0 / 389.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.176e-05/0.6311, allocations: 15.75 kB / 389.3 MB, free: 14.82 MB / 314.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.001302/0.6324, allocations: 0.6837 MB / 390 MB, free: 14.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6324, allocations: 8.531 kB / 390 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.6326, allocations: 43.19 kB / 390 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.6331, allocations: 292.8 kB / 390.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.6332, allocations: 62.55 kB / 390.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/0.6333, allocations: 40.23 kB / 390.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/0.6342, allocations: 406 kB / 390.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.6342, allocations: 3.938 kB / 390.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.6343, allocations: 22.06 kB / 390.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.6343, allocations: 16.05 kB / 390.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.635, allocations: 245.3 kB / 391.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.6385, allocations: 1.571 MB / 392.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.6396, allocations: 272.5 kB / 392.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.6399, allocations: 10.47 kB / 393 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009956/0.6409, allocations: 355.6 kB / 393.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 7.394e-06/0.641, allocations: 0 / 393.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002162/0.6431, allocations: 0.6597 MB / 394 MB, free: 12.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.6433, allocations: 205.8 kB / 394.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.6439, allocations: 292.8 kB / 394.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.6441, allocations: 36.7 kB / 394.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.6443, allocations: 185.1 kB / 394.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.6445, allocations: 80.69 kB / 394.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.6445, allocations: 6.5 kB / 394.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6447, allocations: 348.4 kB / 395.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.6453, allocations: 118.2 kB / 395.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.6459, allocations: 240.1 kB / 395.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.6466, allocations: 230.6 kB / 395.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.6466, allocations: 0 / 395.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001811/0.6484, allocations: 0.5281 MB / 396.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.6486, allocations: 92.39 kB / 396.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.6486, allocations: 4.25 kB / 396.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.64e-05/0.6487, allocations: 11.73 kB / 396.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.6489, allocations: 40.95 kB / 396.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.649, allocations: 3.969 kB / 396.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.6496, allocations: 40.23 kB / 396.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/0.6497, allocations: 22.64 kB / 396.4 MB, free: 10.78 MB / 314.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,rSFlipFlop.S,rSFlipFlop.R,$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.000515/0.6502, allocations: 258.3 kB / 396.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6504, allocations: 31.28 kB / 396.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.6515, allocations: 243.6 kB / 396.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6515, allocations: 7.875 kB / 396.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.6515, allocations: 7.828 kB / 396.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.6516, allocations: 0 / 396.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.6545, allocations: 1 MB / 397.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.6546, allocations: 0 / 397.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.6547, allocations: 22.19 kB / 398 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.6547, allocations: 0 / 398 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.6548, allocations: 13.58 kB / 398 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.6548, allocations: 0 / 398 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6549, allocations: 5.5 kB / 398 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.6565, allocations: 0.6248 MB / 398.6 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.6567, allocations: 107.3 kB / 398.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.6569, allocations: 13.28 kB / 398.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.6575, allocations: 30.83 kB / 398.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.6577, allocations: 34.45 kB / 398.8 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/0.6578, allocations: 19.81 kB / 398.8 MB, free: 9.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003536/0.6582, allocations: 176.8 kB / 399 MB, free: 9.551 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.61e-07/0.6582, allocations: 4 kB / 399 MB, free: 9.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001197/0.6594, allocations: 101.2 kB / 399.1 MB, free: 9.543 MB / 314.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,rSFlipFlop.S,rSFlipFlop.R,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 (rising.u,falling.not_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.0005259/0.66, allocations: 175.1 kB / 399.2 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.6615, allocations: 0.4996 MB / 399.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6616, allocations: 0 / 399.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007711/0.6624, allocations: 309.8 kB / 400.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/0.6632, allocations: 43.56 kB / 400.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.665, allocations: 0.6939 MB / 400.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.6653, allocations: 0.8018 MB / 401.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.6656, allocations: 56.62 kB / 401.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6657, allocations: 34.34 kB / 401.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6657, allocations: 0 / 401.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of Templates: time 0.01479/0.6805, allocations: 3.52 MB / 405.2 MB, free: 7.703 MB / 314.7 MB