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.BUF3S.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.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 20 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09207, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002037/0.09415, allocations: 1.188 MB / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.09678, allocations: 0.8474 MB / 311.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.09686, allocations: 3.938 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.1e-05/0.09694, allocations: 0 / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.988e-05/0.09705, allocations: 23.89 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.09731, allocations: 31.91 kB / 311.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.09748, allocations: 75.84 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.09759, allocations: 19.98 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.09813, allocations: 283.5 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.09829, allocations: 75.75 kB / 311.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.09835, allocations: 4 kB / 311.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.0984, allocations: 4 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.09851, allocations: 59.83 kB / 311.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.09861, allocations: 73.52 kB / 311.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.09899, allocations: 275.3 kB / 312 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.099, allocations: 4 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09901, allocations: 0 / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.09903, allocations: 0 / 312 MB, free: 13.39 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.0008367/0.09987, allocations: 0.6606 MB / 312.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.09994, allocations: 8.031 kB / 312.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.952e-05/0.1, allocations: 39.58 kB / 312.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1004, allocations: 257.4 kB / 313 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1005, allocations: 8 kB / 313 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1005, allocations: 11.94 kB / 313 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.1009, allocations: 125.6 kB / 313.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.101, allocations: 0 / 313.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.101, allocations: 4 kB / 313.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.101, allocations: 0 / 313.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1013, allocations: 59.95 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.1022, allocations: 460.5 kB / 313.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1024, allocations: 102.5 kB / 313.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1025, allocations: 4 kB / 313.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.1029, allocations: 202.7 kB / 313.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.103, allocations: 0 / 313.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00131/0.1043, allocations: 0.6113 MB / 314.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1044, allocations: 170.2 kB / 314.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/0.1054, allocations: 0.5168 MB / 315.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.1055, allocations: 33.7 kB / 315.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.1056, allocations: 101 kB / 315.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.1056, allocations: 27.66 kB / 315.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.1057, allocations: 3.938 kB / 315.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1058, allocations: 322.8 kB / 315.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.106, allocations: 63.91 kB / 315.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1063, allocations: 77.61 kB / 315.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1066, allocations: 167 kB / 316 MB, free: 9.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1066, allocations: 0 / 316 MB, free: 9.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008649/0.1075, allocations: 380.4 kB / 316.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.1076, allocations: 126.8 kB / 316.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1076, allocations: 0 / 316.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1077, allocations: 0 / 316.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.917e-05/0.1077, allocations: 4.125 kB / 316.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1077, allocations: 3.953 kB / 316.5 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.108, allocations: 20.02 kB / 316.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/0.1081, allocations: 43.94 kB / 316.6 MB, free: 8.418 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.bUF3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.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.0005364/0.1086, allocations: 354.3 kB / 316.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.1087, allocations: 43.53 kB / 317 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.1089, allocations: 59.16 kB / 317 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.1089, allocations: 7.984 kB / 317 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1089, allocations: 0 / 317 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.1094, allocations: 248.4 kB / 317.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-05/0.1095, allocations: 12 kB / 317.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1097, allocations: 19.89 kB / 317.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.1099, allocations: 28.06 kB / 317.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001085/0.111, allocations: 0.6886 MB / 318 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001067/0.1121, allocations: 0.5987 MB / 318.6 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003278/0.1124, allocations: 148 kB / 318.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007576/0.1132, allocations: 386.9 kB / 319.1 MB, free: 5.668 MB / 266.7 MB Notification: Performance of Backend: time 8.22e-07/0.1132, allocations: 0 / 319.1 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008543/0.1141, allocations: 451.9 kB / 319.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of SimCode: time 0.002221/0.1163, allocations: 1.39 MB / 321 MB, free: 3.695 MB / 266.7 MB Notification: Performance of Templates: time 0.00985/0.1262, allocations: 3.23 MB / 324.2 MB, free: 492 kB / 266.7 MB "" Variables in the reference:time,bUF3S.y Variables in the result:bUF3S.inertialDelaySensitive.tHL,bUF3S.inertialDelaySensitive.tLH,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y0,bUF3S.strength,bUF3S.tHL,bUF3S.tLH,bUF3S.y,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,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y0