Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.BUF3S.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005873/0.0005877, allocations: 12 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08748, allocations: 44.5 MB / 308.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001904/0.08943, allocations: 1.195 MB / 309.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.09162, allocations: 0.8486 MB / 310.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.09171, allocations: 0 / 310.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.659e-05/0.09179, allocations: 7.922 kB / 310.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.09189, allocations: 11.98 kB / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.09214, allocations: 43.81 kB / 310.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.09229, allocations: 63.88 kB / 310.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.09241, allocations: 27.92 kB / 310.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.09289, allocations: 291.5 kB / 310.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.09304, allocations: 67.83 kB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.0931, allocations: 4 kB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.177e-05/0.09314, allocations: 4 kB / 310.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.09324, allocations: 59.77 kB / 311 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.09334, allocations: 73.52 kB / 311 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.09372, allocations: 275.3 kB / 311.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.383e-06/0.09374, allocations: 8 kB / 311.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.09376, allocations: 0 / 311.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.001e-06/0.09377, allocations: 0 / 311.3 MB, free: 14.06 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.0008251/0.09461, allocations: 0.6607 MB / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.09466, allocations: 8.031 kB / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.165e-05/0.09476, allocations: 39.58 kB / 312 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.09512, allocations: 257.4 kB / 312.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.09516, allocations: 4 kB / 312.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.09521, allocations: 8 kB / 312.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.0956, allocations: 125.6 kB / 312.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.09563, allocations: 3.938 kB / 312.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.09567, allocations: 8 kB / 312.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-06/0.09569, allocations: 0 / 312.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.09589, allocations: 55.97 kB / 312.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.09677, allocations: 460.5 kB / 312.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.09705, allocations: 102.4 kB / 313 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.09708, allocations: 0 / 313 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.09752, allocations: 202.9 kB / 313.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.823e-06/0.09754, allocations: 0 / 313.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001221/0.09877, allocations: 0.6152 MB / 313.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.09893, allocations: 166.2 kB / 314 MB, free: 11.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.09988, allocations: 0.5208 MB / 314.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.09994, allocations: 33.69 kB / 314.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1001, allocations: 167.5 kB / 314.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.1001, allocations: 23.7 kB / 314.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1002, allocations: 4 kB / 314.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1004, allocations: 322.8 kB / 315.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.1006, allocations: 51.97 kB / 315.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1008, allocations: 73.62 kB / 315.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1011, allocations: 171 kB / 315.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.5e-06/0.1011, allocations: 3.984 kB / 315.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007862/0.1019, allocations: 372.4 kB / 315.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.102, allocations: 122.8 kB / 315.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.74e-06/0.102, allocations: 3.984 kB / 315.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1021, allocations: 3.938 kB / 315.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.686e-05/0.1021, allocations: 3.953 kB / 315.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1021, allocations: 7.938 kB / 315.9 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1024, allocations: 23.92 kB / 315.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.1024, allocations: 39.94 kB / 315.9 MB, free: 9.035 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.0005025/0.103, allocations: 358.3 kB / 316.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.1031, allocations: 35.62 kB / 316.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1032, allocations: 71.12 kB / 316.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-06/0.1032, allocations: 0 / 316.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.068e-06/0.1033, allocations: 7.953 kB / 316.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-06/0.1033, allocations: 0 / 316.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1047, allocations: 0.7978 MB / 317.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-06/0.1048, allocations: 0 / 317.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.1048, allocations: 304 / 317.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.579e-06/0.1048, allocations: 7.938 kB / 317.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.1048, allocations: 19.98 kB / 317.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.675e-06/0.1049, allocations: 3.953 kB / 317.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.246e-06/0.1049, allocations: 0 / 317.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.1058, allocations: 0.5135 MB / 317.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.1063, allocations: 244.5 kB / 318 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.1064, allocations: 15.98 kB / 318 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.1066, allocations: 11.91 kB / 318 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.1068, allocations: 27.91 kB / 318 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.1069, allocations: 47.98 kB / 318.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006919/0.1076, allocations: 386.9 kB / 318.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.1076, allocations: 0 / 318.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004124/0.108, allocations: 40 kB / 318.5 MB, free: 6.289 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,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: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001778/0.1082, allocations: 127 kB / 318.6 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007651/0.109, allocations: 433.5 kB / 319 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.109, allocations: 0 / 319 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.1095, allocations: 381.5 kB / 319.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.1101, allocations: 101.4 kB / 319.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1118, allocations: 0.7756 MB / 320.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.1125, allocations: 0.8141 MB / 321.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1125, allocations: 11.44 kB / 321.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of SimCode: time 4.257e-06/0.1125, allocations: 0 / 321.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of Templates: time 0.008549/0.1211, allocations: 2.461 MB / 323.6 MB, free: 1.055 MB / 266.7 MB