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.641/1.641, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 12 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09371, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002539/0.09633, allocations: 1.182 MB / 273.8 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.09972, allocations: 0.8324 MB / 274.6 MB, free: 9.496 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.0998, allocations: 0 / 274.6 MB, free: 9.496 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.872e-05/0.0999, allocations: 11.92 kB / 274.7 MB, free: 9.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1, allocations: 15.97 kB / 274.7 MB, free: 9.469 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1003, allocations: 31.91 kB / 274.7 MB, free: 9.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1006, allocations: 67.86 kB / 274.8 MB, free: 9.371 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1007, allocations: 24.2 kB / 274.8 MB, free: 9.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009424/0.1017, allocations: 423.2 kB / 275.2 MB, free: 8.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1019, allocations: 79.81 kB / 275.3 MB, free: 8.852 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.102, allocations: 4 kB / 275.3 MB, free: 8.848 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.1021, allocations: 4 kB / 275.3 MB, free: 8.844 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1022, allocations: 55.83 kB / 275.3 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1023, allocations: 81.52 kB / 275.4 MB, free: 8.703 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.1029, allocations: 291.3 kB / 275.7 MB, free: 8.418 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1029, allocations: 0 / 275.7 MB, free: 8.418 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1029, allocations: 0 / 275.7 MB, free: 8.418 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1029, allocations: 0 / 275.7 MB, free: 8.418 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.001062/0.104, allocations: 0.6568 MB / 276.4 MB, free: 7.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.1041, allocations: 12.02 kB / 276.4 MB, free: 7.676 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.1042, allocations: 39.47 kB / 276.4 MB, free: 7.637 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.1047, allocations: 253.4 kB / 276.7 MB, free: 7.352 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.1048, allocations: 11.95 kB / 276.7 MB, free: 7.34 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.1048, allocations: 12 kB / 276.7 MB, free: 7.328 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.1054, allocations: 129.5 kB / 276.8 MB, free: 7.195 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1055, allocations: 0 / 276.8 MB, free: 7.195 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.1055, allocations: 11.97 kB / 276.8 MB, free: 7.184 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1055, allocations: 4 kB / 276.8 MB, free: 7.18 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.1059, allocations: 55.97 kB / 276.9 MB, free: 7.125 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1071, allocations: 460.5 kB / 277.3 MB, free: 6.625 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.1075, allocations: 106.5 kB / 277.4 MB, free: 6.512 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1076, allocations: 3.938 kB / 277.4 MB, free: 6.508 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006191/0.1082, allocations: 202.9 kB / 277.6 MB, free: 6.285 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.1082, allocations: 0 / 277.6 MB, free: 6.285 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001547/0.1098, allocations: 0.6232 MB / 278.3 MB, free: 5.594 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1099, allocations: 170.2 kB / 278.4 MB, free: 5.391 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.111, allocations: 0.5168 MB / 278.9 MB, free: 4.867 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.111, allocations: 29.7 kB / 279 MB, free: 4.832 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.1111, allocations: 93.14 kB / 279.1 MB, free: 4.734 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.1112, allocations: 31.69 kB / 279.1 MB, free: 4.703 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1112, allocations: 8 kB / 279.1 MB, free: 4.695 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1114, allocations: 322.8 kB / 279.4 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1116, allocations: 59.91 kB / 279.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.1119, allocations: 81.62 kB / 279.6 MB, free: 4.227 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1121, allocations: 171.2 kB / 279.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1122, allocations: 0 / 279.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008874/0.1131, allocations: 384.3 kB / 280.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.1132, allocations: 118.8 kB / 280.2 MB, free: 3.488 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1132, allocations: 4 kB / 280.2 MB, free: 3.484 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1132, allocations: 0 / 280.2 MB, free: 3.484 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-05/0.1133, allocations: 7.922 kB / 280.2 MB, free: 3.477 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1133, allocations: 4.031 kB / 280.2 MB, free: 3.473 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1135, allocations: 19.91 kB / 280.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.1136, allocations: 56.05 kB / 280.3 MB, free: 3.398 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.0005311/0.1142, allocations: 366.7 kB / 280.7 MB, free: 3.004 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.1143, allocations: 39.61 kB / 280.7 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1144, allocations: 67.14 kB / 280.8 MB, free: 2.895 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.1145, allocations: 0 / 280.8 MB, free: 2.895 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1145, allocations: 128 / 280.8 MB, free: 2.895 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/0.115, allocations: 248.4 kB / 281 MB, free: 2.633 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.1151, allocations: 12 kB / 281 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1153, allocations: 15.98 kB / 281 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.1155, allocations: 27.92 kB / 281.1 MB, free: 2.578 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001135/0.1166, allocations: 0.7043 MB / 281.8 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00112/0.1177, allocations: 0.6027 MB / 282.4 MB, free: 1.148 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003491/0.1181, allocations: 148 kB / 282.5 MB, free: 1.004 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0007767/0.1189, allocations: 386.9 kB / 282.9 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of Backend: time 1.012e-06/0.1189, allocations: 0 / 282.9 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008723/0.1198, allocations: 453 kB / 283.3 MB, free: 132 kB / 234.7 MB Notification: Performance of SimCode: time 0.002055/0.1219, allocations: 1.391 MB / 284.7 MB, free: 14.64 MB / 250.7 MB Notification: Performance of Templates: time 0.009216/0.1311, allocations: 3.532 MB / 288.3 MB, free: 11.03 MB / 250.7 MB "" Variables in the reference:time,nRXFERGATE.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y0,nRXFERGATE.inertialDelaySensitive.tHL,nRXFERGATE.inertialDelaySensitive.tLH,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y0,nRXFERGATE.tHL,nRXFERGATE.tLH,nRXFERGATE.y,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y0