Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.NRXFER.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.594/1.594, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.85e-05, allocations: 4 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0706/0.07064, allocations: 38.76 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4099, allocations: 71.06 MB / 332.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.4101, allocations: 64.84 kB / 332.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05514/0.4653, allocations: 16.4 MB / 348.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.137e-06/0.4653, allocations: 0 / 348.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4653, allocations: 8 kB / 348.8 MB, free: 3.898 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007165/0.4661, allocations: 0.6077 MB / 349.4 MB, free: 3.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4661, allocations: 8.031 kB / 349.4 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.4662, allocations: 39.53 kB / 349.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.4666, allocations: 254.1 kB / 349.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4666, allocations: 4 kB / 349.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.4667, allocations: 11.31 kB / 349.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001635/0.4669, allocations: 54.36 kB / 349.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.4671, allocations: 114.9 kB / 349.9 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.582e-06/0.4672, allocations: 4 kB / 349.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.4672, allocations: 4 kB / 349.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4672, allocations: 0 / 349.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.468, allocations: 436.2 kB / 350.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.4682, allocations: 90.92 kB / 350.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.4684, allocations: 79.84 kB / 350.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4684, allocations: 0 / 350.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.4688, allocations: 204 kB / 350.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.698e-06/0.4688, allocations: 4 kB / 350.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006827/0.4695, allocations: 262.9 kB / 350.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.4696, allocations: 169.6 kB / 351.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007386/0.4704, allocations: 454.6 kB / 351.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.4704, allocations: 29.7 kB / 351.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4705, allocations: 162.4 kB / 351.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.4706, allocations: 23.64 kB / 351.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.4706, allocations: 11.56 kB / 351.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4708, allocations: 318.8 kB / 352.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.471, allocations: 56.98 kB / 352.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4711, allocations: 53.3 kB / 352.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4712, allocations: 41.73 kB / 352.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4712, allocations: 4 kB / 352.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005838/0.4718, allocations: 237.7 kB / 352.5 MB, free: 404 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.472, allocations: 121.2 kB / 352.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.813e-06/0.472, allocations: 0 / 352.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.472, allocations: 0 / 352.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.4721, allocations: 7.984 kB / 352.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.853e-06/0.4721, allocations: 0 / 352.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.4723, allocations: 8 kB / 352.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.4724, allocations: 59 kB / 352.7 MB, free: 188 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002701/0.4727, allocations: 256.3 kB / 352.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.4728, allocations: 35.62 kB / 353 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.473, allocations: 69.17 kB / 353 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-06/0.473, allocations: 0 / 353 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-06/0.473, allocations: 0 / 353 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.098e-06/0.473, allocations: 4 kB / 353 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.4742, allocations: 0.6452 MB / 353.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-06/0.4742, allocations: 0 / 353.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.4742, allocations: 11.97 kB / 353.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.862e-06/0.4742, allocations: 4 kB / 353.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.4743, allocations: 12 kB / 353.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4743, allocations: 0 / 353.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-06/0.4743, allocations: 0 / 353.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.475, allocations: 394.8 kB / 354.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/0.4755, allocations: 252.3 kB / 354.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.4756, allocations: 4 kB / 354.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.4759, allocations: 23.98 kB / 354.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.476, allocations: 23.97 kB / 354.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.4761, allocations: 63.92 kB / 354.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006113/0.4767, allocations: 370.6 kB / 354.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4768, allocations: 0 / 354.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.4772, allocations: 40 kB / 354.8 MB, free: 13.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.000186/0.4774, allocations: 117.9 kB / 355 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006023/0.478, allocations: 421.5 kB / 355.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.117e-06/0.478, allocations: 0 / 355.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.4784, allocations: 365.6 kB / 355.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.479, allocations: 101.3 kB / 355.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4803, allocations: 0.5595 MB / 356.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.481, allocations: 0.8138 MB / 357.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.481, allocations: 15.44 kB / 357.2 MB, free: 11.4 MB / 298.7 MB Notification: Performance of SimCode: time 1.494e-06/0.481, allocations: 0 / 357.2 MB, free: 11.4 MB / 298.7 MB Notification: Performance of Templates: time 0.005552/0.4866, allocations: 2.614 MB / 359.8 MB, free: 8.73 MB / 298.7 MB