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.571/1.571, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005605/0.0005606, allocations: 8 kB / 233.2 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09661, allocations: 38.77 MB / 271.9 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008953/0.1056, allocations: 6.77 MB / 278.7 MB, free: 5.422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.121, allocations: 9.593 MB / 288.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.1223, allocations: 15.94 kB / 288.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.1248, allocations: 0.6959 MB / 289 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.1292, allocations: 1.071 MB / 290.1 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.1312, allocations: 483.2 kB / 290.5 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005277/0.1365, allocations: 2.202 MB / 292.7 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.1373, allocations: 302.9 kB / 293 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007526/0.138, allocations: 469.7 kB / 293.5 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.1388, allocations: 0.5436 MB / 294 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.139, allocations: 36 kB / 294.1 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.1411, allocations: 0.6869 MB / 294.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1414, allocations: 170.9 kB / 294.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000495/0.1419, allocations: 348.6 kB / 295.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.1442, allocations: 1.488 MB / 296.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.255e-06/0.1442, allocations: 0 / 296.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.561e-06/0.1443, allocations: 0 / 296.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.1443, allocations: 4 kB / 296.8 MB, free: 3.273 MB / 250.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.003818/0.1481, allocations: 1.988 MB / 298.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1482, allocations: 12.03 kB / 298.8 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.1486, allocations: 225.3 kB / 299 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1763/0.3249, allocations: 1.211 MB / 300.2 MB, free: 31.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.325, allocations: 43.83 kB / 300.2 MB, free: 31.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.3252, allocations: 52.14 kB / 300.3 MB, free: 31.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.327, allocations: 0.7153 MB / 301 MB, free: 31.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.327, allocations: 0 / 301 MB, free: 31.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.3271, allocations: 22.27 kB / 301 MB, free: 31.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.3271, allocations: 19.44 kB / 301 MB, free: 31.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.3289, allocations: 0.6121 MB / 301.7 MB, free: 31.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.3337, allocations: 2.548 MB / 304.2 MB, free: 29.58 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.3354, allocations: 0.66 MB / 304.9 MB, free: 29.31 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009556/0.345, allocations: 7.54 MB / 312.4 MB, free: 22.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009859/0.346, allocations: 410.1 kB / 312.8 MB, free: 22.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 4.793e-06/0.346, allocations: 0 / 312.8 MB, free: 22.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.007203/0.3533, allocations: 2.113 MB / 314.9 MB, free: 21.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3534, allocations: 89.47 kB / 315 MB, free: 21.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.3554, allocations: 1.424 MB / 316.4 MB, free: 20.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/0.3556, allocations: 37.2 kB / 316.5 MB, free: 20.47 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005068/0.3561, allocations: 0.7 MB / 317.2 MB, free: 19.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.3563, allocations: 234.1 kB / 317.4 MB, free: 19.62 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.3564, allocations: 14.28 kB / 317.4 MB, free: 19.61 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.3565, allocations: 341.7 kB / 317.7 MB, free: 19.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/0.3573, allocations: 278.3 kB / 318 MB, free: 19.14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/0.3581, allocations: 470.6 kB / 318.5 MB, free: 18.78 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008764/0.359, allocations: 336.1 kB / 318.8 MB, free: 18.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.023e-06/0.3591, allocations: 3.938 kB / 318.8 MB, free: 18.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002513/0.3616, allocations: 1.011 MB / 319.8 MB, free: 18.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3616, allocations: 11.78 kB / 319.8 MB, free: 18.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.3618, allocations: 70.92 kB / 319.9 MB, free: 18.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.3632, allocations: 0.6987 MB / 320.6 MB, free: 17.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.3639, allocations: 125.4 kB / 320.7 MB, free: 17.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.3656, allocations: 1.119 MB / 321.8 MB, free: 17.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.3665, allocations: 100.2 kB / 321.9 MB, free: 16.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3666, allocations: 35.16 kB / 322 MB, free: 16.97 MB / 250.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.0006396/0.3673, allocations: 293.3 kB / 322.3 MB, free: 16.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.3676, allocations: 202 kB / 322.5 MB, free: 16.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.3708, allocations: 1.15 MB / 323.6 MB, free: 16.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3709, allocations: 7.953 kB / 323.6 MB, free: 16.01 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.615e-06/0.3709, allocations: 0 / 323.6 MB, free: 16.01 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3709, allocations: 7.984 kB / 323.6 MB, free: 16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.3723, allocations: 0.971 MB / 324.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001063/0.3724, allocations: 67.98 kB / 324.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.3729, allocations: 67.94 kB / 324.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.3742, allocations: 0.6749 MB / 325.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.3743, allocations: 16 kB / 325.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3757, allocations: 1.084 MB / 326.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.098e-06/0.3757, allocations: 0 / 326.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.3788, allocations: 1.415 MB / 327.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.3793, allocations: 286.5 kB / 328.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.3796, allocations: 15.98 kB / 328.2 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.3802, allocations: 49.75 kB / 328.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.3804, allocations: 48.36 kB / 328.3 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.3804, allocations: 27.98 kB / 328.3 MB, free: 11.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001367/0.3818, allocations: 0.9294 MB / 329.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.3818, allocations: 3.938 kB / 329.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001191/0.383, allocations: 431.4 kB / 329.7 MB, free: 9.812 MB / 250.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.0008589/0.3839, allocations: 448.8 kB / 330.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.3863, allocations: 0.8936 MB / 331 MB, free: 8.512 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.776e-06/0.3864, allocations: 4 kB / 331 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.3878, allocations: 0.553 MB / 331.6 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.3887, allocations: 178.5 kB / 331.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/0.3947, allocations: 3.465 MB / 335.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.3953, allocations: 1.251 MB / 336.5 MB, free: 2.988 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.3956, allocations: 79.44 kB / 336.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of SimCode: time 1.811e-06/0.3956, allocations: 0 / 336.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of Templates: time 0.03968/0.4353, allocations: 23.71 MB / 360.3 MB, free: 11.19 MB / 282.7 MB