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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005826/0.0005827, allocations: 12 kB / 233.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1064, allocations: 38.78 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002715/0.1092, allocations: 1.179 MB / 273.1 MB, free: 11.02 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.1128, allocations: 0.8206 MB / 273.9 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.1129, allocations: 0 / 273.9 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.018e-05/0.113, allocations: 11.92 kB / 273.9 MB, free: 10.18 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1132, allocations: 23.89 kB / 274 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1135, allocations: 35.91 kB / 274 MB, free: 10.12 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1137, allocations: 63.86 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1139, allocations: 20.22 kB / 274.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009346/0.1148, allocations: 419.3 kB / 274.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1151, allocations: 75.83 kB / 274.6 MB, free: 9.551 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.1151, allocations: 4 kB / 274.6 MB, free: 9.547 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.1152, allocations: 4 kB / 274.6 MB, free: 9.543 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1154, allocations: 67.75 kB / 274.6 MB, free: 9.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1155, allocations: 73.52 kB / 274.7 MB, free: 9.398 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005618/0.1161, allocations: 295.3 kB / 275 MB, free: 9.109 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.04e-06/0.1161, allocations: 0 / 275 MB, free: 9.109 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1161, allocations: 0 / 275 MB, free: 9.109 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.058e-06/0.1162, allocations: 0 / 275 MB, free: 9.109 MB / 234.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.001196/0.1174, allocations: 0.6568 MB / 275.7 MB, free: 8.379 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.1174, allocations: 12.02 kB / 275.7 MB, free: 8.367 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.1176, allocations: 39.53 kB / 275.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.1182, allocations: 261.3 kB / 276 MB, free: 8.035 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.1182, allocations: 11.95 kB / 276 MB, free: 8.023 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.1183, allocations: 12 kB / 276 MB, free: 8.012 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.1189, allocations: 125.6 kB / 276.1 MB, free: 7.883 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.119, allocations: 0 / 276.1 MB, free: 7.883 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.119, allocations: 7.984 kB / 276.1 MB, free: 7.875 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-06/0.1191, allocations: 0 / 276.1 MB, free: 7.875 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.1194, allocations: 59.91 kB / 276.2 MB, free: 7.816 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1208, allocations: 464.5 kB / 276.6 MB, free: 7.312 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.1212, allocations: 98.53 kB / 276.7 MB, free: 7.207 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1213, allocations: 0 / 276.7 MB, free: 7.207 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.122, allocations: 206.7 kB / 276.9 MB, free: 6.98 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 4.591e-06/0.122, allocations: 0 / 276.9 MB, free: 6.98 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.003157/0.1252, allocations: 0.6195 MB / 277.5 MB, free: 6.293 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003685/0.1256, allocations: 174.2 kB / 277.7 MB, free: 6.086 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.1281, allocations: 0.5168 MB / 278.2 MB, free: 5.562 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.1282, allocations: 29.7 kB / 278.3 MB, free: 5.527 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.1285, allocations: 167.5 kB / 278.4 MB, free: 5.359 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1287, allocations: 27.7 kB / 278.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.1288, allocations: 0 / 278.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0004366/0.1293, allocations: 326.8 kB / 278.8 MB, free: 5.004 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.1298, allocations: 55.97 kB / 278.8 MB, free: 4.949 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.1304, allocations: 73.69 kB / 278.9 MB, free: 4.871 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.1311, allocations: 170.8 kB / 279.1 MB, free: 4.68 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.667e-06/0.1312, allocations: 0 / 279.1 MB, free: 4.68 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.002128/0.1333, allocations: 380.6 kB / 279.4 MB, free: 4.277 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003091/0.1337, allocations: 126.8 kB / 279.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1337, allocations: 0 / 279.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/0.1338, allocations: 7.984 kB / 279.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.238e-05/0.1338, allocations: 0 / 279.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.103e-06/0.1338, allocations: 0 / 279.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1341, allocations: 19.97 kB / 279.6 MB, free: 4.102 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.1342, allocations: 59.92 kB / 279.6 MB, free: 4.043 MB / 234.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.0005191/0.1347, allocations: 370.9 kB / 280 MB, free: 3.645 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.1348, allocations: 43.47 kB / 280 MB, free: 3.602 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.135, allocations: 67.16 kB / 280.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-06/0.135, allocations: 0 / 280.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-06/0.135, allocations: 0 / 280.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-06/0.135, allocations: 0 / 280.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.1365, allocations: 0.8212 MB / 280.9 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.501e-06/0.1365, allocations: 0 / 280.9 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.1365, allocations: 4 kB / 280.9 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.315e-06/0.1365, allocations: 0 / 280.9 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.996e-05/0.1366, allocations: 15.98 kB / 281 MB, free: 2.609 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.46e-06/0.1366, allocations: 4 kB / 281 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-06/0.1366, allocations: 3.938 kB / 281 MB, free: 2.602 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.1376, allocations: 0.5369 MB / 281.5 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.1381, allocations: 244.4 kB / 281.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.1382, allocations: 12 kB / 281.8 MB, free: 1.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1384, allocations: 11.98 kB / 281.8 MB, free: 1.742 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.1386, allocations: 27.97 kB / 281.8 MB, free: 1.715 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.767e-05/0.1387, allocations: 55.94 kB / 281.8 MB, free: 1.66 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0006592/0.1393, allocations: 390.8 kB / 282.2 MB, free: 1.281 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.1394, allocations: 0 / 282.2 MB, free: 1.281 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.1398, allocations: 40 kB / 282.3 MB, free: 1.242 MB / 234.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.0001861/0.14, allocations: 117.9 kB / 282.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007396/0.1407, allocations: 449.6 kB / 282.8 MB, free: 0.625 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.127e-06/0.1408, allocations: 0 / 282.8 MB, free: 0.625 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.1412, allocations: 369.6 kB / 283.2 MB, free: 220 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.1418, allocations: 108.6 kB / 283.3 MB, free: 112 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1434, allocations: 0.7833 MB / 284.1 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.1441, allocations: 0.8103 MB / 284.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1441, allocations: 11.42 kB / 284.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1442, allocations: 0 / 284.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of Templates: time 0.005648/0.1498, allocations: 2.623 MB / 287.5 MB, free: 11.77 MB / 250.7 MB