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.043/2.043, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003155/0.1126, allocations: 1.169 MB / 310.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.1167, allocations: 0.8513 MB / 311.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.1169, allocations: 0 / 311.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.581e-05/0.117, allocations: 15.92 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1171, allocations: 15.91 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1175, allocations: 31.91 kB / 311.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1178, allocations: 71.84 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1179, allocations: 20.16 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.119, allocations: 419.3 kB / 311.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1192, allocations: 75.83 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.696e-05/0.1193, allocations: 8 kB / 311.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.1194, allocations: 4 kB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1196, allocations: 63.75 kB / 311.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1197, allocations: 73.52 kB / 311.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.1203, allocations: 291.3 kB / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1203, allocations: 0 / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1203, allocations: 0 / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1203, 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.001253/0.1216, allocations: 0.6606 MB / 312.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.1217, allocations: 8.031 kB / 312.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1219, allocations: 39.58 kB / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.1224, allocations: 257.4 kB / 313.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1225, allocations: 8 kB / 313.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.1226, allocations: 8 kB / 313.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.1233, allocations: 125.6 kB / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1233, allocations: 0 / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.1234, allocations: 4 kB / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1234, allocations: 4 kB / 313.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.1238, allocations: 59.91 kB / 313.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1253, allocations: 468.5 kB / 313.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.1258, allocations: 102.4 kB / 313.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1258, allocations: 0 / 313.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/0.1265, allocations: 210.9 kB / 314.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.385e-06/0.1266, allocations: 3.984 kB / 314.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00212/0.1287, allocations: 0.6309 MB / 314.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.1289, allocations: 162.2 kB / 314.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.1305, allocations: 0.5207 MB / 315.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-05/0.1307, allocations: 29.7 kB / 315.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1308, allocations: 97.12 kB / 315.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.1309, allocations: 27.7 kB / 315.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.131, allocations: 8 kB / 315.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1312, allocations: 322.8 kB / 315.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.1316, allocations: 59.91 kB / 315.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.132, allocations: 81.61 kB / 316 MB, free: 9.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.1324, allocations: 166.7 kB / 316.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1324, allocations: 0 / 316.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001391/0.1338, allocations: 396.5 kB / 316.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.134, allocations: 121.1 kB / 316.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.1341, allocations: 8.031 kB / 316.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1341, allocations: 3.938 kB / 316.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.826e-05/0.1342, allocations: 0 / 316.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1342, allocations: 3.953 kB / 316.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.1346, allocations: 19.98 kB / 316.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.1348, allocations: 55.94 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.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.000815/0.1356, allocations: 362.8 kB / 317.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.1358, allocations: 39.53 kB / 317.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.136, allocations: 75.12 kB / 317.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1361, allocations: 0 / 317.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1361, allocations: 0 / 317.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007546/0.1368, allocations: 240.5 kB / 317.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.137, allocations: 12 kB / 317.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.1374, allocations: 11.98 kB / 317.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.1376, allocations: 27.97 kB / 317.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001709/0.1393, allocations: 0.7005 MB / 318.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001675/0.141, allocations: 0.6181 MB / 318.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005359/0.1416, allocations: 148.3 kB / 319 MB, free: 5.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.1428, allocations: 390.8 kB / 319.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of Backend: time 1.062e-06/0.1429, allocations: 0 / 319.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.1441, allocations: 456 kB / 319.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of SimCode: time 0.002981/0.1471, allocations: 1.38 MB / 321.2 MB, free: 3.457 MB / 266.7 MB Notification: Performance of Templates: time 0.01314/0.1603, allocations: 3.525 MB / 324.7 MB, free: 15.85 MB / 282.7 MB "" Variables in the reference:time,nXFERGATE.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,nXFERGATE.inertialDelaySensitive.tHL,nXFERGATE.inertialDelaySensitive.tLH,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y0,nXFERGATE.tHL,nXFERGATE.tLH,nXFERGATE.y,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y0