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.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 2.157/2.157, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 12 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1061, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.5894, allocations: 77.11 MB / 386.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/0.5898, allocations: 72.77 kB / 386.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07181/0.6617, allocations: 16.4 MB / 402.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6617, allocations: 0 / 402.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.6618, allocations: 3.938 kB / 402.6 MB, free: 13.67 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.0007119/0.6625, allocations: 0.6707 MB / 403.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6625, allocations: 7.875 kB / 403.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.6626, allocations: 38.92 kB / 403.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.663, allocations: 258.3 kB / 403.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.663, allocations: 3.938 kB / 403.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.6631, allocations: 11 kB / 403.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.6635, allocations: 126.5 kB / 403.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6635, allocations: 0 / 403.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.6636, allocations: 7.438 kB / 403.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6636, allocations: 7.688 kB / 403.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.6638, allocations: 56.14 kB / 403.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.6646, allocations: 469.3 kB / 404.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.6649, allocations: 97.02 kB / 404.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.6649, allocations: 7.938 kB / 404.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.6654, allocations: 214.6 kB / 404.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.366e-06/0.6654, allocations: 0 / 404.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001172/0.6666, allocations: 0.6222 MB / 405.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.6667, allocations: 165.4 kB / 405.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.6676, allocations: 0.5176 MB / 405.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.6676, allocations: 29.64 kB / 405.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.6677, allocations: 103 kB / 406 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.6678, allocations: 23.12 kB / 406 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.6678, allocations: 3.75 kB / 406 MB, free: 11.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.6679, allocations: 325.6 kB / 406.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.6681, allocations: 56.38 kB / 406.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.6683, allocations: 75.09 kB / 406.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.6685, allocations: 174.3 kB / 406.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6685, allocations: 0 / 406.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007472/0.6693, allocations: 391.9 kB / 407 MB, free: 10.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.6694, allocations: 122.1 kB / 407.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6694, allocations: 0 / 407.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6694, allocations: 7.828 kB / 407.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.292e-05/0.6695, allocations: 0 / 407.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.6695, allocations: 0 / 407.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.6697, allocations: 18.23 kB / 407.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.6698, allocations: 54.56 kB / 407.2 MB, free: 10.32 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.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.0004598/0.6703, allocations: 368.7 kB / 407.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.6704, allocations: 42.88 kB / 407.6 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.6705, allocations: 61.22 kB / 407.7 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6705, allocations: 0 / 407.7 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6705, allocations: 7.938 kB / 407.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6705, allocations: 0 / 407.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.6718, allocations: 0.8094 MB / 408.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6718, allocations: 112 / 408.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.6718, allocations: 3.938 kB / 408.5 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6719, allocations: 4 kB / 408.5 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.6719, allocations: 23.72 kB / 408.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.6719, allocations: 4 kB / 408.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6719, allocations: 3.938 kB / 408.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.6728, allocations: 0.5317 MB / 409.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.6732, allocations: 243.3 kB / 409.3 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.6734, allocations: 10.88 kB / 409.3 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.6736, allocations: 23.12 kB / 409.4 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6738, allocations: 25.84 kB / 409.4 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.6738, allocations: 62.11 kB / 409.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006241/0.6745, allocations: 390.3 kB / 409.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6745, allocations: 0 / 409.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.6749, allocations: 45.88 kB / 409.9 MB, free: 8.703 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001554/0.6751, allocations: 113.5 kB / 410 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.6758, allocations: 440.7 kB / 410.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6758, allocations: 0 / 410.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.6762, allocations: 378 kB / 410.8 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.677, allocations: 98.61 kB / 410.9 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.6785, allocations: 0.7392 MB / 411.6 MB, free: 7.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.6789, allocations: 0.807 MB / 412.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.801e-05/0.679, allocations: 8.531 kB / 412.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.6791, allocations: 11.31 kB / 412.4 MB, free: 6.805 MB / 314.7 MB Notification: Performance of SimCode: time 2.194e-06/0.6791, allocations: 4 kB / 412.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of Templates: time 0.01001/0.6891, allocations: 4.053 MB / 416.5 MB, free: 4.676 MB / 314.7 MB