Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.148e-05, allocations: 4 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.255, allocations: 38.77 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.3814, allocations: 82.94 MB / 350.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3817, allocations: 75.95 kB / 350.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3425/0.7242, allocations: 58.04 MB / 408.6 MB, free: 37.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.236e-06/0.7243, allocations: 0 / 408.6 MB, free: 37.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.064e-05/0.7244, allocations: 24 kB / 408.7 MB, free: 37.71 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003475/0.7278, allocations: 1.736 MB / 410.4 MB, free: 35.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7279, allocations: 16.03 kB / 410.4 MB, free: 35.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.7283, allocations: 225.7 kB / 410.6 MB, free: 35.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.7307, allocations: 1.248 MB / 411.9 MB, free: 34.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.7308, allocations: 41.25 kB / 411.9 MB, free: 34.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.7309, allocations: 55.91 kB / 412 MB, free: 34.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7322, allocations: 0.6277 MB / 412.6 MB, free: 33.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.7322, allocations: 0 / 412.6 MB, free: 33.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.7323, allocations: 31.98 kB / 412.6 MB, free: 33.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.7324, allocations: 20 kB / 412.7 MB, free: 33.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009967/0.7334, allocations: 473.1 kB / 413.1 MB, free: 33.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004491/0.7379, allocations: 2.594 MB / 415.7 MB, free: 30.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.7388, allocations: 0.518 MB / 416.2 MB, free: 29.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.7396, allocations: 498.9 kB / 416.7 MB, free: 29.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.7503, allocations: 8.767 MB / 425.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006417/0.751, allocations: 330 kB / 425.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 4.54e-06/0.751, allocations: 0 / 425.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.001918/0.7529, allocations: 0.8719 MB / 426.7 MB, free: 18.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.753, allocations: 89.55 kB / 426.8 MB, free: 17.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.7552, allocations: 1.25 MB / 428 MB, free: 16.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7554, allocations: 37.7 kB / 428 MB, free: 16.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.7559, allocations: 0.7092 MB / 428.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.7561, allocations: 220.8 kB / 429 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.7562, allocations: 12 kB / 429 MB, free: 15.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.7563, allocations: 338.8 kB / 429.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.7568, allocations: 197.8 kB / 429.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.7573, allocations: 393.5 kB / 429.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.7579, allocations: 257.7 kB / 430.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.047e-06/0.7579, allocations: 0 / 430.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001805/0.7597, allocations: 0.8585 MB / 431 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.7598, allocations: 9.875 kB / 431 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.7599, allocations: 75.97 kB / 431.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.7614, allocations: 0.6991 MB / 431.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.7621, allocations: 119.9 kB / 431.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.7637, allocations: 1.104 MB / 433 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.7648, allocations: 111.2 kB / 433.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.765, allocations: 36 kB / 433.2 MB, free: 11.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.7652, allocations: 144.9 kB / 433.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.7655, allocations: 197.7 kB / 433.5 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.7681, allocations: 1.037 MB / 434.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.7681, allocations: 4 kB / 434.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.598e-06/0.7681, allocations: 4 kB / 434.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.7681, allocations: 0 / 434.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.7697, allocations: 1.003 MB / 435.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001173/0.7699, allocations: 67.98 kB / 435.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.7703, allocations: 75.88 kB / 435.7 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.7717, allocations: 0.6779 MB / 436.4 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.7718, allocations: 20 kB / 436.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.7733, allocations: 1.077 MB / 437.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.829e-06/0.7733, allocations: 0 / 437.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.7758, allocations: 1.223 MB / 438.7 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/0.7764, allocations: 290.6 kB / 439 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.7767, allocations: 19.92 kB / 439 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.7774, allocations: 47.97 kB / 439 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.7776, allocations: 52.31 kB / 439.1 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.7777, allocations: 27.98 kB / 439.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001639/0.7793, allocations: 0.9618 MB / 440.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.104e-06/0.7793, allocations: 3.938 kB / 440.1 MB, free: 4.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001417/0.7808, allocations: 487.1 kB / 440.5 MB, free: 3.773 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.7819, allocations: 0.5531 MB / 441.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.7837, allocations: 0.738 MB / 441.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.705e-06/0.7838, allocations: 128 / 441.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.7849, allocations: 478.2 kB / 442.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.7859, allocations: 179 kB / 442.5 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/0.7917, allocations: 2.385 MB / 444.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.793, allocations: 1.255 MB / 446.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.7933, allocations: 83.42 kB / 446.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of SimCode: time 1.857e-06/0.7933, allocations: 0 / 446.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of Templates: time 0.04467/0.838, allocations: 24.77 MB / 471 MB, free: 5.234 MB / 330.7 MB