Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.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.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 2.28/2.28, allocations: 194.8 MB / 211.7 MB, free: 2.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009392/0.0009397, allocations: 12 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1304, allocations: 44.5 MB / 309 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5209/0.6513, allocations: 77.11 MB / 386.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.6517, allocations: 77.53 kB / 386.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05127/0.703, allocations: 16.4 MB / 402.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.703, allocations: 0 / 402.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.7031, allocations: 7.906 kB / 402.6 MB, free: 13.58 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007944/0.7039, allocations: 0.6673 MB / 403.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7039, allocations: 7.781 kB / 403.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.704, allocations: 39.08 kB / 403.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.7044, allocations: 254.4 kB / 403.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.7044, allocations: 7.719 kB / 403.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.7045, allocations: 7.844 kB / 403.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.7049, allocations: 136.7 kB / 403.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7049, allocations: 4 kB / 403.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.705, allocations: 3.875 kB / 403.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.705, allocations: 0 / 403.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.7052, allocations: 54.38 kB / 403.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000904/0.7061, allocations: 470.6 kB / 404.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.7064, allocations: 102.2 kB / 404.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.7064, allocations: 0 / 404.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.7068, allocations: 205.2 kB / 404.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/0.7068, allocations: 0 / 404.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00117/0.708, allocations: 0.6273 MB / 405.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.7081, allocations: 166 kB / 405.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/0.709, allocations: 0.5131 MB / 405.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.7091, allocations: 33.58 kB / 405.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.7092, allocations: 98.75 kB / 406 MB, free: 11.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.7092, allocations: 29.59 kB / 406 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.7093, allocations: 7.781 kB / 406 MB, free: 11.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.7094, allocations: 321.9 kB / 406.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.7096, allocations: 59.66 kB / 406.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.7098, allocations: 71.89 kB / 406.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.71, allocations: 175.4 kB / 406.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.7101, allocations: 0 / 406.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00078/0.7109, allocations: 387.9 kB / 407 MB, free: 10.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/0.711, allocations: 126.1 kB / 407.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.711, allocations: 0 / 407.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.711, allocations: 7.703 kB / 407.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.7111, allocations: 0 / 407.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.7111, allocations: 4.062 kB / 407.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.7113, allocations: 14.94 kB / 407.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.7114, allocations: 58.11 kB / 407.2 MB, free: 10.23 MB / 314.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.0005121/0.7119, allocations: 366.5 kB / 407.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.712, allocations: 43.02 kB / 407.6 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.7122, allocations: 61.34 kB / 407.7 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.7122, allocations: 0 / 407.7 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.7122, allocations: 3.953 kB / 407.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7122, allocations: 0 / 407.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.7136, allocations: 0.8179 MB / 408.5 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7137, allocations: 7.938 kB / 408.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.7137, allocations: 0 / 408.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.7137, allocations: 0 / 408.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.7137, allocations: 19.62 kB / 408.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7138, allocations: 0 / 408.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7138, allocations: 3.938 kB / 408.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.7147, allocations: 0.5289 MB / 409.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.7152, allocations: 245.2 kB / 409.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.7153, allocations: 11.44 kB / 409.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.7155, allocations: 27.56 kB / 409.4 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.7157, allocations: 26.59 kB / 409.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/0.7158, allocations: 57.75 kB / 409.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006724/0.7165, allocations: 387.1 kB / 409.8 MB, free: 8.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7165, allocations: 0 / 409.8 MB, free: 8.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004266/0.7169, allocations: 45.78 kB / 409.9 MB, free: 8.625 MB / 314.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.0001728/0.7171, allocations: 120.1 kB / 410 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007217/0.7178, allocations: 439.4 kB / 410.4 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.7179, allocations: 0 / 410.4 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.7183, allocations: 371.6 kB / 410.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.719, allocations: 101.4 kB / 410.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.7207, allocations: 0.7345 MB / 411.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.7211, allocations: 0.8053 MB / 412.4 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.168e-05/0.7212, allocations: 20.45 kB / 412.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.7212, allocations: 11.34 kB / 412.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7212, allocations: 3.938 kB / 412.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of Templates: time 0.009659/0.7309, allocations: 4.06 MB / 416.5 MB, free: 4.598 MB / 314.7 MB