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.Analog.Examples.OpAmps.Multivibrator.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.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005993/0.0005997, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08348, allocations: 44.52 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003052/0.08658, allocations: 2.063 MB / 310.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.08799, allocations: 0.6362 MB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.08818, allocations: 4 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.138e-05/0.08827, allocations: 35.75 kB / 311.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.08862, allocations: 99.72 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.08879, allocations: 47.88 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.08913, allocations: 195.5 kB / 311.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.08934, allocations: 72.91 kB / 311.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.08949, allocations: 91.64 kB / 311.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.08969, allocations: 103.6 kB / 311.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.08975, allocations: 15.98 kB / 311.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.184e-05/0.08981, allocations: 19.94 kB / 311.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.08989, allocations: 27.91 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.08999, allocations: 69.58 kB / 311.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.09027, allocations: 195.7 kB / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.708e-06/0.09029, allocations: 0 / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.673e-06/0.0903, allocations: 0 / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.027e-06/0.09032, allocations: 3.938 kB / 312 MB, free: 13.32 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008627/0.09119, allocations: 0.495 MB / 312.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.09124, allocations: 12.03 kB / 312.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.09134, allocations: 27.62 kB / 312.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.09172, allocations: 251.3 kB / 312.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.09176, allocations: 12.44 kB / 312.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.09183, allocations: 24 kB / 312.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.0923, allocations: 203.3 kB / 313 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.09233, allocations: 0 / 313 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.09238, allocations: 12 kB / 313.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.0924, allocations: 4 kB / 313.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.09278, allocations: 153.6 kB / 313.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.09468, allocations: 0.8728 MB / 314.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.09523, allocations: 166.7 kB / 314.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.09528, allocations: 7.984 kB / 314.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.09533, allocations: 30.56 kB / 314.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.868e-06/0.09534, allocations: 3.938 kB / 314.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001536/0.09689, allocations: 427.2 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.09696, allocations: 59.34 kB / 314.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.09727, allocations: 214.9 kB / 315 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.09732, allocations: 37.64 kB / 315 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.0975, allocations: 218.3 kB / 315.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.09759, allocations: 51.34 kB / 315.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.09761, allocations: 4 kB / 315.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.09778, allocations: 314.8 kB / 315.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.09793, allocations: 47.97 kB / 315.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.09811, allocations: 97.98 kB / 315.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.09828, allocations: 59.94 kB / 315.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.662e-06/0.09829, allocations: 0 / 315.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008237/0.09913, allocations: 277.3 kB / 316.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.09916, allocations: 8.031 kB / 316.1 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-06/0.09918, allocations: 0 / 316.1 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.09972, allocations: 92.78 kB / 316.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.09994, allocations: 43.92 kB / 316.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.1031, allocations: 1.773 MB / 318 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1033, allocations: 23.81 kB / 318 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1034, allocations: 4 kB / 318 MB, free: 6.914 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.1036, allocations: 137.7 kB / 318.1 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.1037, allocations: 23.97 kB / 318.2 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.1037, allocations: 25.52 kB / 318.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-06/0.1038, allocations: 7.984 kB / 318.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-06/0.1038, allocations: 0 / 318.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-06/0.1038, allocations: 0 / 318.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1042, allocations: 277.5 kB / 318.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-06/0.1042, allocations: 0 / 318.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1044, allocations: 27.92 kB / 318.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004881/0.1049, allocations: 92.78 kB / 318.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1049, allocations: 0 / 318.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.108, allocations: 1.762 MB / 320.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.464e-06/0.108, allocations: 4.016 kB / 320.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.109, allocations: 368 kB / 320.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1091, allocations: 96.89 kB / 320.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.1091, allocations: 7.938 kB / 320.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1094, allocations: 15.98 kB / 320.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1094, allocations: 11.98 kB / 320.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1094, allocations: 7.938 kB / 320.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.1097, allocations: 152.6 kB / 321 MB, free: 3.691 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.1097, allocations: 4.062 kB / 321 MB, free: 3.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005992/0.1103, allocations: 67.84 kB / 321.1 MB, free: 3.621 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.1104, allocations: 99.25 kB / 321.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005843/0.111, allocations: 250.4 kB / 321.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.539e-06/0.1111, allocations: 4.375 kB / 321.4 MB, free: 3.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.1114, allocations: 190.5 kB / 321.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1117, allocations: 27.94 kB / 321.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1129, allocations: 0.5962 MB / 322.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.1134, allocations: 0.7484 MB / 323 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.1135, allocations: 15.44 kB / 323 MB, free: 1.609 MB / 266.7 MB Notification: Performance of SimCode: time 1.587e-06/0.1135, allocations: 4 kB / 323 MB, free: 1.605 MB / 266.7 MB Notification: Performance of Templates: time 0.006618/0.1201, allocations: 3.223 MB / 326.2 MB, free: 14.38 MB / 282.7 MB