Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.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.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 233.8 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09476, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5072, allocations: 71.8 MB / 344.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5076, allocations: 70.72 kB / 344.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06455/0.5722, allocations: 16.39 MB / 360.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5722, allocations: 0 / 360.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.5722, allocations: 4 kB / 360.9 MB, free: 3.844 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.001023/0.5733, allocations: 0.666 MB / 361.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5733, allocations: 11.97 kB / 361.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.5735, allocations: 47.45 kB / 361.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.5739, allocations: 258.9 kB / 361.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.574, allocations: 4 kB / 361.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.574, allocations: 11.44 kB / 361.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.5745, allocations: 126 kB / 362 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5745, allocations: 0 / 362 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.5746, allocations: 4 kB / 362 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5746, allocations: 4 kB / 362 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.5748, allocations: 69.08 kB / 362.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.5759, allocations: 455.5 kB / 362.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.5762, allocations: 101 kB / 362.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.5763, allocations: 4 kB / 362.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.5768, allocations: 205.6 kB / 362.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.486e-06/0.5768, allocations: 0 / 362.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001409/0.5782, allocations: 0.6243 MB / 363.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.5784, allocations: 169.5 kB / 363.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.5795, allocations: 0.5168 MB / 364.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/0.5796, allocations: 33.27 kB / 364.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.5797, allocations: 100.4 kB / 364.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.5798, allocations: 27.31 kB / 364.3 MB, free: 484 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.5798, allocations: 7.562 kB / 364.3 MB, free: 480 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.58, allocations: 318.5 kB / 364.6 MB, free: 156 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.5803, allocations: 62.2 kB / 364.7 MB, free: 112 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.5805, allocations: 68.06 kB / 364.7 MB, free: 56 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.5809, allocations: 176.7 kB / 364.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5809, allocations: 0 / 364.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009071/0.5818, allocations: 386.6 kB / 365.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.582, allocations: 122.4 kB / 365.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.582, allocations: 0 / 365.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.582, allocations: 0 / 365.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.971e-05/0.582, allocations: 7.938 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5821, allocations: 112 / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.5823, allocations: 23.39 kB / 365.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.5825, allocations: 59.89 kB / 365.5 MB, free: 15.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 0 () * Number of clocked 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.0006026/0.5831, allocations: 367.7 kB / 365.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.5832, allocations: 35.62 kB / 365.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.5834, allocations: 66.75 kB / 365.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5834, allocations: 0 / 365.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5834, allocations: 0 / 365.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5834, allocations: 4 kB / 366 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.585, allocations: 0.8121 MB / 366.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.585, allocations: 0 / 366.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.048e-05/0.585, allocations: 3.938 kB / 366.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5851, allocations: 4 kB / 366.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.5851, allocations: 15 kB / 366.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.5851, allocations: 3.984 kB / 366.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5851, allocations: 0 / 366.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5862, allocations: 0.5389 MB / 367.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008106/0.587, allocations: 251.2 kB / 367.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.5872, allocations: 7.188 kB / 367.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.5876, allocations: 19.98 kB / 367.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.5879, allocations: 26.03 kB / 367.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.5881, allocations: 66.61 kB / 367.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001336/0.5894, allocations: 386.3 kB / 368.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.5895, allocations: 0 / 368.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007813/0.5903, allocations: 47.33 kB / 368.1 MB, free: 12.83 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) * Number of clocked states: 0 () * 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.0002677/0.5906, allocations: 120.7 kB / 368.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.5914, allocations: 434.2 kB / 368.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5914, allocations: 0 / 368.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.5919, allocations: 381.1 kB / 369 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.5928, allocations: 94.42 kB / 369.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.5946, allocations: 0.7335 MB / 369.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.5953, allocations: 0.8112 MB / 370.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.688e-05/0.5954, allocations: 9.203 kB / 370.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.5954, allocations: 11.44 kB / 370.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5955, allocations: 4 kB / 370.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of Templates: time 0.01188/0.6073, allocations: 4.066 MB / 374.8 MB, free: 6.219 MB / 298.7 MB