Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.715/1.715, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004801, allocations: 12 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.08024, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00939/0.08969, allocations: 6.075 MB / 278.7 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.1064, allocations: 9.079 MB / 287.8 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1077, allocations: 43.62 kB / 287.8 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.1101, allocations: 0.56 MB / 288.4 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004509/0.1146, allocations: 1.036 MB / 289.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.1168, allocations: 463.2 kB / 289.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006063/0.1229, allocations: 2.116 MB / 292 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.1236, allocations: 243.4 kB / 292.2 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.1244, allocations: 402 kB / 292.6 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.1251, allocations: 481 kB / 293.1 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.1253, allocations: 28 kB / 293.1 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.1277, allocations: 0.6791 MB / 293.8 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.128, allocations: 143 kB / 293.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.1285, allocations: 316.8 kB / 294.2 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.1309, allocations: 1.375 MB / 295.6 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1309, allocations: 0 / 295.6 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.131, allocations: 0 / 295.6 MB, free: 4.449 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.131, allocations: 0 / 295.6 MB, free: 4.449 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004113/0.1351, allocations: 1.768 MB / 297.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1352, allocations: 11.97 kB / 297.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.1356, allocations: 201.6 kB / 297.6 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.1389, allocations: 1.256 MB / 298.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.209e-05/0.139, allocations: 33 kB / 298.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.1392, allocations: 51.91 kB / 298.9 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1408, allocations: 0.5158 MB / 299.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1408, allocations: 4 kB / 299.5 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.1409, allocations: 12 kB / 299.5 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.141, allocations: 19.98 kB / 299.5 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2076/0.3485, allocations: 493.9 kB / 300 MB, free: 31.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00817/0.3568, allocations: 2.122 MB / 302.1 MB, free: 30.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.3592, allocations: 0.7166 MB / 302.8 MB, free: 30.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/0.3755, allocations: 6.566 MB / 309.4 MB, free: 24.51 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.3769, allocations: 297.8 kB / 309.7 MB, free: 24.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=55): time 5.58e-06/0.377, allocations: 1 kB / 309.7 MB, free: 24.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=59): time 0.00859/0.3856, allocations: 2.17 MB / 311.8 MB, free: 23.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3857, allocations: 57.89 kB / 311.9 MB, free: 23.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.389, allocations: 1.284 MB / 313.2 MB, free: 22.61 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.3892, allocations: 36.02 kB / 313.2 MB, free: 22.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009939/0.3902, allocations: 0.712 MB / 313.9 MB, free: 22 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.3905, allocations: 205.4 kB / 314.1 MB, free: 21.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.3906, allocations: 13 kB / 314.1 MB, free: 21.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.3907, allocations: 336.4 kB / 314.5 MB, free: 21.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3918, allocations: 205.7 kB / 314.7 MB, free: 21.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.393, allocations: 372.2 kB / 315 MB, free: 21.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.3942, allocations: 258 kB / 315.3 MB, free: 21.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.3942, allocations: 1.656 kB / 315.3 MB, free: 21.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003919/0.3981, allocations: 0.925 MB / 316.2 MB, free: 20.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.3982, allocations: 6.938 kB / 316.2 MB, free: 20.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/0.3984, allocations: 59.14 kB / 316.3 MB, free: 20.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.3995, allocations: 158.4 kB / 316.4 MB, free: 20.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4007, allocations: 120.9 kB / 316.5 MB, free: 20.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.4063, allocations: 2.339 MB / 318.9 MB, free: 18.51 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4079, allocations: 28.88 kB / 318.9 MB, free: 18.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.4081, allocations: 35.69 kB / 318.9 MB, free: 18.5 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(4,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009094/0.409, allocations: 273.8 kB / 319.2 MB, free: 18.28 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.4094, allocations: 181.8 kB / 319.4 MB, free: 18.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/0.414, allocations: 0.9269 MB / 320.3 MB, free: 17.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.4141, allocations: 0 / 320.3 MB, free: 17.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001511/0.4142, allocations: 55.02 kB / 320.4 MB, free: 17.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.4149, allocations: 249.8 kB / 320.6 MB, free: 17.45 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/0.4153, allocations: 7.938 kB / 320.6 MB, free: 17.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009992/0.4163, allocations: 35.69 kB / 320.7 MB, free: 17.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.4166, allocations: 51.86 kB / 320.7 MB, free: 17.4 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004344/0.4209, allocations: 0.7857 MB / 321.5 MB, free: 17 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003953/0.4249, allocations: 1.118 MB / 322.6 MB, free: 16.34 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001062/0.426, allocations: 240.7 kB / 322.8 MB, free: 16.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00219/0.4282, allocations: 0.8472 MB / 323.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of Backend: time 1.212e-06/0.4283, allocations: 0 / 323.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004718/0.433, allocations: 1.159 MB / 324.9 MB, free: 15.11 MB / 250.7 MB Notification: Performance of SimCode: time 0.006978/0.44, allocations: 3.425 MB / 328.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of Templates: time 0.04167/0.4817, allocations: 13.87 MB / 342.2 MB, free: 13.78 MB / 266.7 MB