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 1.961/1.961, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002629/0.1072, allocations: 1.169 MB / 310.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.1107, allocations: 0.8474 MB / 311.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.1108, allocations: 4 kB / 311.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.897e-05/0.111, allocations: 7.922 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1111, allocations: 19.91 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1114, allocations: 35.91 kB / 311.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1116, allocations: 67.84 kB / 311.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1118, allocations: 28.14 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.1127, allocations: 423.3 kB / 311.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1129, allocations: 67.83 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.113, allocations: 4 kB / 311.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.1131, allocations: 4 kB / 311.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1132, allocations: 67.75 kB / 311.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1134, allocations: 73.52 kB / 311.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.1139, allocations: 291.3 kB / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1139, allocations: 0 / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1139, allocations: 0 / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1139, allocations: 0 / 312.1 MB, free: 13.24 MB / 266.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.001093/0.1151, allocations: 0.6646 MB / 312.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.1151, allocations: 8.031 kB / 312.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1153, allocations: 39.58 kB / 312.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.1158, allocations: 253.4 kB / 313.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.1158, allocations: 8 kB / 313.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.1159, allocations: 12 kB / 313.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.1165, allocations: 125.6 kB / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1165, allocations: 0 / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.1166, allocations: 4 kB / 313.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1166, allocations: 0 / 313.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.1169, allocations: 59.91 kB / 313.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.1182, allocations: 468.5 kB / 313.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.1186, allocations: 102.4 kB / 313.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1186, allocations: 0 / 313.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/0.1192, allocations: 206.9 kB / 314.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.1193, allocations: 0 / 314.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001753/0.121, allocations: 0.6309 MB / 314.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.1212, allocations: 166.2 kB / 314.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1222, allocations: 0.5129 MB / 315.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.1223, allocations: 29.7 kB / 315.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.1224, allocations: 101.1 kB / 315.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.1224, allocations: 27.7 kB / 315.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.1225, allocations: 4 kB / 315.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1226, allocations: 322.8 kB / 315.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.1228, allocations: 59.91 kB / 315.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1231, allocations: 85.59 kB / 316 MB, free: 9.051 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1234, allocations: 171 kB / 316.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1234, allocations: 0 / 316.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009188/0.1244, allocations: 396.2 kB / 316.5 MB, free: 8.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.1245, allocations: 126.8 kB / 316.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1245, allocations: 0 / 316.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1245, allocations: 3.938 kB / 316.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.1246, allocations: 0 / 316.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1246, allocations: 7.953 kB / 316.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.1249, allocations: 16.02 kB / 316.7 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.125, allocations: 59.88 kB / 316.8 MB, free: 8.207 MB / 266.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.0005578/0.1255, allocations: 362.9 kB / 317.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.1256, allocations: 39.53 kB / 317.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.1258, allocations: 67.14 kB / 317.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1258, allocations: 0 / 317.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1258, allocations: 0 / 317.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.1264, allocations: 252.4 kB / 317.5 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.1265, allocations: 12 kB / 317.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1267, allocations: 15.98 kB / 317.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.1268, allocations: 23.97 kB / 317.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001143/0.128, allocations: 0.6927 MB / 318.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001085/0.1291, allocations: 0.622 MB / 318.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00038/0.1295, allocations: 148.1 kB / 319 MB, free: 5.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007524/0.1303, allocations: 386.8 kB / 319.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of Backend: time 7.62e-07/0.1303, allocations: 4 kB / 319.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008377/0.1311, allocations: 453.5 kB / 319.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of SimCode: time 0.002139/0.1333, allocations: 1.372 MB / 321.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of Templates: time 0.01017/0.1435, allocations: 3.538 MB / 324.7 MB, free: 15.84 MB / 282.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