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.936/1.936, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 8 kB / 233.8 MB, free: 312 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 38.78 MB / 272.6 MB, free: 9.453 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.4984, allocations: 69.86 MB / 342.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4988, allocations: 67.97 kB / 342.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0233/0.5221, allocations: 5.02 MB / 347.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5222, allocations: 0 / 347.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.496e-05/0.5222, allocations: 12 kB / 347.6 MB, free: 7.668 MB / 282.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.00139/0.5236, allocations: 0.6808 MB / 348.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5237, allocations: 8.031 kB / 348.3 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.5238, allocations: 47.44 kB / 348.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.5244, allocations: 285.6 kB / 348.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.5245, allocations: 62.36 kB / 348.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.5246, allocations: 43.94 kB / 348.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.5256, allocations: 405.8 kB / 349.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5257, allocations: 4 kB / 349.1 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.5257, allocations: 16 kB / 349.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.5258, allocations: 12.44 kB / 349.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.5266, allocations: 253.4 kB / 349.4 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.5293, allocations: 1.579 MB / 350.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.5301, allocations: 267.8 kB / 351.2 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/0.5302, allocations: 16.12 kB / 351.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006884/0.5309, allocations: 349.4 kB / 351.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.396e-06/0.531, allocations: 0 / 351.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00168/0.5326, allocations: 0.666 MB / 352.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.5328, allocations: 195.9 kB / 352.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.5334, allocations: 294.4 kB / 352.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.5335, allocations: 41.69 kB / 352.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.5337, allocations: 192.6 kB / 352.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.5338, allocations: 75.14 kB / 353 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.5339, allocations: 8 kB / 353 MB, free: 1.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.5341, allocations: 342.8 kB / 353.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.5345, allocations: 121 kB / 353.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.535, allocations: 244 kB / 353.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.5355, allocations: 217 kB / 353.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.5356, allocations: 4 kB / 353.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00131/0.5369, allocations: 0.5257 MB / 354.5 MB, free: 268 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/0.537, allocations: 101.8 kB / 354.5 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.537, allocations: 4 kB / 354.6 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.5371, allocations: 4 kB / 354.6 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5372, allocations: 27.92 kB / 354.6 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.5373, allocations: 11.94 kB / 354.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.5377, allocations: 39.88 kB / 354.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.5378, allocations: 27.89 kB / 354.7 MB, free: 32 kB / 282.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.000456/0.5382, allocations: 257.1 kB / 354.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.5383, allocations: 35.62 kB / 354.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.5391, allocations: 252.4 kB / 355.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5392, allocations: 8 kB / 355.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5392, allocations: 0 / 355.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5392, allocations: 7.922 kB / 355.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.5415, allocations: 0.9901 MB / 356.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.5415, allocations: 4 kB / 356.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.083e-05/0.5416, allocations: 11.94 kB / 356.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.5416, allocations: 4 kB / 356.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.5417, allocations: 19.94 kB / 356.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.5417, allocations: 4 kB / 356.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5417, allocations: 0 / 356.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.543, allocations: 0.627 MB / 356.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.5431, allocations: 100.7 kB / 357 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5432, allocations: 16 kB / 357 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.5436, allocations: 35.92 kB / 357 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5437, allocations: 27.95 kB / 357 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.5438, allocations: 23.98 kB / 357.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002784/0.5441, allocations: 178 kB / 357.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5441, allocations: 0 / 357.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007494/0.5449, allocations: 103.9 kB / 357.3 MB, free: 13.2 MB / 298.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.0003915/0.5453, allocations: 165.7 kB / 357.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.5465, allocations: 0.5059 MB / 358 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5465, allocations: 0 / 358 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.5471, allocations: 303.1 kB / 358.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.5477, allocations: 41.23 kB / 358.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.5496, allocations: 0.7063 MB / 359.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.5502, allocations: 0.7958 MB / 359.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.5505, allocations: 58.94 kB / 359.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.5507, allocations: 35.42 kB / 359.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of SimCode: time 3.045e-06/0.5507, allocations: 0 / 359.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of Templates: time 0.01545/0.5662, allocations: 3.52 MB / 363.5 MB, free: 6.961 MB / 298.7 MB