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.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07969/0.08007, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001974/0.0821, allocations: 1.182 MB / 273.8 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.0847, allocations: 0.8285 MB / 274.6 MB, free: 9.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.08479, allocations: 4 kB / 274.6 MB, free: 9.516 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.562e-05/0.08488, allocations: 7.922 kB / 274.6 MB, free: 9.508 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.08498, allocations: 11.98 kB / 274.7 MB, free: 9.496 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.08524, allocations: 39.88 kB / 274.7 MB, free: 9.457 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.0854, allocations: 67.88 kB / 274.8 MB, free: 9.391 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.08551, allocations: 20.2 kB / 274.8 MB, free: 9.367 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006986/0.08622, allocations: 427.2 kB / 275.2 MB, free: 8.949 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.08639, allocations: 75.81 kB / 275.3 MB, free: 8.875 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.08646, allocations: 4 kB / 275.3 MB, free: 8.871 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.834e-05/0.08651, allocations: 4 kB / 275.3 MB, free: 8.867 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.449e-05/0.08662, allocations: 55.83 kB / 275.3 MB, free: 8.812 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.08672, allocations: 73.52 kB / 275.4 MB, free: 8.734 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.08712, allocations: 299.3 kB / 275.7 MB, free: 8.441 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.08714, allocations: 0 / 275.7 MB, free: 8.441 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.08715, allocations: 0 / 275.7 MB, free: 8.441 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.08716, allocations: 0 / 275.7 MB, free: 8.441 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.0008514/0.08802, allocations: 0.6606 MB / 276.4 MB, free: 7.707 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.08808, allocations: 8.031 kB / 276.4 MB, free: 7.699 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.08818, allocations: 39.53 kB / 276.4 MB, free: 7.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.08856, allocations: 261.3 kB / 276.7 MB, free: 7.367 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.0886, allocations: 7.953 kB / 276.7 MB, free: 7.359 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.08865, allocations: 8 kB / 276.7 MB, free: 7.352 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.08909, allocations: 133.5 kB / 276.8 MB, free: 7.215 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.08912, allocations: 3.938 kB / 276.8 MB, free: 7.211 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.08916, allocations: 8 kB / 276.8 MB, free: 7.203 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.08918, allocations: 0 / 276.8 MB, free: 7.203 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.08942, allocations: 59.95 kB / 276.9 MB, free: 7.145 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000892/0.09032, allocations: 460.5 kB / 277.3 MB, free: 6.645 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.09062, allocations: 98.48 kB / 277.4 MB, free: 6.539 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.09065, allocations: 3.984 kB / 277.4 MB, free: 6.535 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.09111, allocations: 202.8 kB / 277.6 MB, free: 6.312 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.09112, allocations: 0 / 277.6 MB, free: 6.312 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001354/0.09249, allocations: 0.6311 MB / 278.3 MB, free: 5.613 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.09261, allocations: 162.2 kB / 278.4 MB, free: 5.418 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009821/0.0936, allocations: 0.5168 MB / 278.9 MB, free: 4.895 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.09366, allocations: 37.69 kB / 279 MB, free: 4.852 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.09376, allocations: 93.14 kB / 279.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.09383, allocations: 27.7 kB / 279.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.09387, allocations: 8 kB / 279.1 MB, free: 4.719 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.09402, allocations: 326.8 kB / 279.4 MB, free: 4.391 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.09424, allocations: 55.91 kB / 279.5 MB, free: 4.336 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.09449, allocations: 81.62 kB / 279.6 MB, free: 4.25 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.09478, allocations: 162.8 kB / 279.7 MB, free: 4.066 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.0948, allocations: 0 / 279.7 MB, free: 4.066 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008923/0.0957, allocations: 384.3 kB / 280.1 MB, free: 3.66 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.09583, allocations: 122.8 kB / 280.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.09585, allocations: 80 / 280.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.09587, allocations: 0 / 280.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-05/0.0959, allocations: 3.938 kB / 280.2 MB, free: 3.512 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.09592, allocations: 3.984 kB / 280.2 MB, free: 3.508 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.09621, allocations: 27.92 kB / 280.2 MB, free: 3.48 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.09633, allocations: 55.94 kB / 280.3 MB, free: 3.426 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.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.0005175/0.09686, allocations: 362.8 kB / 280.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.09695, allocations: 39.69 kB / 280.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.09711, allocations: 67.14 kB / 280.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.09713, allocations: 4 kB / 280.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.09714, allocations: 0 / 280.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/0.09764, allocations: 252.4 kB / 281 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.09775, allocations: 12 kB / 281 MB, free: 2.645 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.09795, allocations: 19.97 kB / 281 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.09811, allocations: 27.92 kB / 281.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001098/0.09922, allocations: 0.7004 MB / 281.8 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001071/0.1003, allocations: 0.6066 MB / 282.4 MB, free: 1.168 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003335/0.1007, allocations: 148 kB / 282.5 MB, free: 1.023 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0007285/0.1014, allocations: 386.9 kB / 282.9 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of Backend: time 8.12e-07/0.1014, allocations: 3.938 kB / 282.9 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.1022, allocations: 453 kB / 283.3 MB, free: 148 kB / 234.7 MB Notification: Performance of SimCode: time 0.002072/0.1043, allocations: 1.391 MB / 284.7 MB, free: 14.66 MB / 250.7 MB Notification: Performance of Templates: time 0.00927/0.1136, allocations: 3.524 MB / 288.3 MB, free: 11.05 MB / 250.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