Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.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.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.09887, allocations: 44.51 MB / 309 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5039/0.6028, allocations: 87.13 MB / 396.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.6031, allocations: 85.92 kB / 396.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1851/0.7882, allocations: 57.59 MB / 453.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.7883, allocations: 0 / 453.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.7884, allocations: 28 kB / 453.9 MB, free: 2.07 MB / 330.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.006487/0.7949, allocations: 2.075 MB / 456 MB, free: 44 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.795, allocations: 12.03 kB / 456 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006964/0.7957, allocations: 226.2 kB / 456.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.7995, allocations: 1.258 MB / 457.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.7996, allocations: 46.08 kB / 457.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.7998, allocations: 58.47 kB / 457.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.8023, allocations: 0.7065 MB / 458.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.8024, allocations: 7.938 kB / 458.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.8025, allocations: 24 kB / 458.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.8025, allocations: 15.98 kB / 458.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.8051, allocations: 0.618 MB / 458.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006225/0.8113, allocations: 2.59 MB / 461.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.8135, allocations: 0.6544 MB / 462.2 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/0.8298, allocations: 8.697 MB / 470.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.8312, allocations: 405.8 kB / 471.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 4.438e-06/0.8312, allocations: 7.938 kB / 471.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.01174/0.843, allocations: 2.2 MB / 473.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.8431, allocations: 89.55 kB / 473.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.8461, allocations: 1.482 MB / 475 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.8463, allocations: 37.7 kB / 475.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.8474, allocations: 0.8093 MB / 475.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.8477, allocations: 220.8 kB / 476.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.8478, allocations: 8 kB / 476.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.848, allocations: 345.9 kB / 476.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.8491, allocations: 265.9 kB / 476.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.8504, allocations: 478.2 kB / 477.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.8516, allocations: 330.9 kB / 477.5 MB, free: 9.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.8516, allocations: 0 / 477.5 MB, free: 9.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0038/0.8555, allocations: 1.175 MB / 478.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.8556, allocations: 16.05 kB / 478.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/0.8557, allocations: 71.98 kB / 478.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.8578, allocations: 0.699 MB / 479.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.8588, allocations: 123.8 kB / 479.6 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.862, allocations: 1.108 MB / 480.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.8646, allocations: 103.3 kB / 480.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003834/0.8651, allocations: 43.92 kB / 480.8 MB, free: 5.629 MB / 362.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 () * Number of clocked 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.001556/0.8667, allocations: 285.6 kB / 481.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008477/0.8675, allocations: 197.8 kB / 481.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00716/0.8747, allocations: 1.197 MB / 482.5 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.8748, allocations: 4 kB / 482.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.8748, allocations: 0 / 482.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.8748, allocations: 0 / 482.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.8771, allocations: 0.9951 MB / 483.5 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001725/0.8773, allocations: 71.94 kB / 483.6 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.878, allocations: 75.88 kB / 483.6 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.88, allocations: 0.6779 MB / 484.3 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-05/0.8801, allocations: 12 kB / 484.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.8822, allocations: 1.084 MB / 485.4 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.8822, allocations: 8 kB / 485.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004874/0.8871, allocations: 1.448 MB / 486.9 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008125/0.888, allocations: 298.5 kB / 487.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.8883, allocations: 12 kB / 487.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/0.8892, allocations: 47.95 kB / 487.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.8894, allocations: 48.36 kB / 487.3 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.8895, allocations: 20 kB / 487.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002135/0.8917, allocations: 0.9878 MB / 488.3 MB, free: 14 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8917, allocations: 0 / 488.3 MB, free: 14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001821/0.8935, allocations: 491.1 kB / 488.8 MB, free: 13.52 MB / 378.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) * Number of clocked states: 0 () * 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.001392/0.8949, allocations: 0.5479 MB / 489.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.8987, allocations: 0.8897 MB / 490.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.8988, allocations: 0 / 490.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.901, allocations: 0.537 MB / 490.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.9023, allocations: 186.9 kB / 490.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.912, allocations: 3.422 MB / 494.3 MB, free: 7.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.9132, allocations: 1.252 MB / 495.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.9143, allocations: 179.2 kB / 495.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.9146, allocations: 83.44 kB / 495.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9146, allocations: 3.938 kB / 495.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of Templates: time 0.0546/0.9692, allocations: 16.68 MB / 0.5005 GB, free: 5.656 MB / 394.7 MB