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.779/1.779, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0777/0.07808, allocations: 44.51 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4144, allocations: 73.1 MB / 381.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4147, allocations: 78.33 kB / 381.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.4277, allocations: 3.63 MB / 385.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.07e-06/0.4278, allocations: 0.9688 kB / 385.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.4278, allocations: 6.031 kB / 385.3 MB, free: 18.39 MB / 314.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.0006808/0.4285, allocations: 0.4973 MB / 385.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4286, allocations: 8.062 kB / 385.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.4286, allocations: 29.69 kB / 385.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.429, allocations: 251.9 kB / 386.1 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.429, allocations: 20.31 kB / 386.1 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.4291, allocations: 21.75 kB / 386.1 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.4295, allocations: 196.1 kB / 386.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4295, allocations: 0 / 386.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.4296, allocations: 10.09 kB / 386.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4296, allocations: 4.812 kB / 386.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.43, allocations: 150.1 kB / 386.4 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.4316, allocations: 0.9084 MB / 387.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.4321, allocations: 174.3 kB / 387.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.4321, allocations: 5.5 kB / 387.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.4321, allocations: 31.94 kB / 387.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.951e-06/0.4321, allocations: 0 / 387.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001414/0.4336, allocations: 432 kB / 388 MB, free: 16.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.4336, allocations: 57.09 kB / 388 MB, free: 16.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.4339, allocations: 190.2 kB / 388.2 MB, free: 16.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4339, allocations: 31.14 kB / 388.3 MB, free: 16.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.434, allocations: 228.9 kB / 388.5 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.434, allocations: 50.41 kB / 388.5 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4341, allocations: 3.75 kB / 388.5 MB, free: 16.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.4341, allocations: 324.5 kB / 388.9 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4342, allocations: 45.52 kB / 388.9 MB, free: 16.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4344, allocations: 97.11 kB / 389 MB, free: 16.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4345, allocations: 59.31 kB / 389 MB, free: 16.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.273e-06/0.4345, allocations: 0 / 389 MB, free: 16.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007255/0.4353, allocations: 282 kB / 389.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4353, allocations: 9 kB / 389.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.963e-06/0.4353, allocations: 4.312 kB / 389.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.4359, allocations: 101.3 kB / 389.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.4361, allocations: 34.5 kB / 389.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.4386, allocations: 1.767 MB / 391.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.4388, allocations: 23.97 kB / 391.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.4388, allocations: 6.375 kB / 391.3 MB, free: 14.66 MB / 314.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.000152/0.439, allocations: 141.8 kB / 391.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.4391, allocations: 20.09 kB / 391.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.4391, allocations: 27.8 kB / 391.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-06/0.4391, allocations: 0 / 391.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.78e-06/0.4392, allocations: 3.844 kB / 391.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.094e-06/0.4392, allocations: 2.578 kB / 391.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.4395, allocations: 279 kB / 391.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-06/0.4395, allocations: 4 kB / 391.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.4397, allocations: 21.69 kB / 391.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.4401, allocations: 89.38 kB / 391.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.4402, allocations: 6.594 kB / 391.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.4426, allocations: 1.762 MB / 393.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.812e-06/0.4426, allocations: 3.984 kB / 393.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.4434, allocations: 372.4 kB / 394 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.4435, allocations: 90.83 kB / 394.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.4436, allocations: 7.703 kB / 394.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.4438, allocations: 13.78 kB / 394.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.4439, allocations: 11.72 kB / 394.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4439, allocations: 7.875 kB / 394.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.4441, allocations: 156.8 kB / 394.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.4441, allocations: 0 / 394.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005736/0.4447, allocations: 68.14 kB / 394.3 MB, free: 12.55 MB / 314.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.0001308/0.4448, allocations: 114.3 kB / 394.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.4453, allocations: 252.5 kB / 394.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.953e-06/0.4453, allocations: 4.125 kB / 394.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.4456, allocations: 189.5 kB / 394.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4459, allocations: 32.3 kB / 394.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.4469, allocations: 0.5851 MB / 395.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.4471, allocations: 0.7528 MB / 396.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.4472, allocations: 19.38 kB / 396.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.437e-06/0.4472, allocations: 0 / 396.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Templates: time 0.005536/0.4527, allocations: 3.231 MB / 399.5 MB, free: 10.95 MB / 314.7 MB