Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadModel(Modelica): time 2.606/2.606, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003534, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5122, allocations: 74.39 MB / 383.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.5125, allocations: 83.11 kB / 383.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.5356, allocations: 5.127 MB / 388.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5357, allocations: 0 / 388.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.5357, allocations: 11.19 kB / 388.7 MB, free: 14.72 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001339/0.5371, allocations: 0.5798 MB / 389.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5371, allocations: 7.844 kB / 389.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5373, allocations: 31.88 kB / 389.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.5377, allocations: 254.2 kB / 389.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.5377, allocations: 22.62 kB / 389.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.5378, allocations: 18.31 kB / 389.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.5387, allocations: 233.8 kB / 389.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5387, allocations: 0 / 389.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.5387, allocations: 11.12 kB / 389.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5388, allocations: 7.75 kB / 389.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009693/0.5397, allocations: 229 kB / 390 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.5419, allocations: 0.8471 MB / 390.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.5435, allocations: 334.1 kB / 391.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.5436, allocations: 11.77 kB / 391.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/0.5442, allocations: 162.5 kB / 391.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 3.347e-06/0.5442, allocations: 0 / 391.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.002797/0.547, allocations: 483.6 kB / 391.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.5471, allocations: 106.7 kB / 392 MB, free: 13.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.5475, allocations: 264.3 kB / 392.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.5476, allocations: 33.52 kB / 392.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.5477, allocations: 179.2 kB / 392.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.5478, allocations: 35.86 kB / 392.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.5478, allocations: 3 kB / 392.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.5479, allocations: 333.6 kB / 392.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.5484, allocations: 90.08 kB / 392.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.5489, allocations: 196.2 kB / 393.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.5494, allocations: 126.8 kB / 393.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.5494, allocations: 384 / 393.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001709/0.5512, allocations: 401 kB / 393.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.5512, allocations: 40.28 kB / 393.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5513, allocations: 3.875 kB / 393.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.5519, allocations: 81.55 kB / 393.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.5524, allocations: 54.45 kB / 393.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.5551, allocations: 1.503 MB / 395.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.5558, allocations: 54.42 kB / 395.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.5558, allocations: 13.44 kB / 395.3 MB, free: 10.76 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.5561, allocations: 139 kB / 395.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.5561, allocations: 23.31 kB / 395.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.5562, allocations: 23.84 kB / 395.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5562, allocations: 0 / 395.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5562, allocations: 4 kB / 395.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5562, allocations: 2.438 kB / 395.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.5586, allocations: 0.6128 MB / 396.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5587, allocations: 0 / 396.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.559, allocations: 35.95 kB / 396.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005834/0.5596, allocations: 69.53 kB / 396.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.5596, allocations: 10.62 kB / 396.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.5621, allocations: 1.497 MB / 397.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5622, allocations: 0 / 397.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.5636, allocations: 362.8 kB / 398.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5638, allocations: 113.7 kB / 398.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.5639, allocations: 2.156 kB / 398.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.5643, allocations: 43.38 kB / 398.3 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5644, allocations: 21.53 kB / 398.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.5644, allocations: 0 / 398.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.5647, allocations: 185.3 kB / 398.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5647, allocations: 0 / 398.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008582/0.5656, allocations: 64.47 kB / 398.5 MB, free: 8.598 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002183/0.5658, allocations: 98.5 kB / 398.6 MB, free: 8.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.5674, allocations: 385.9 kB / 399 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5674, allocations: 4.594 kB / 399 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.5682, allocations: 203.8 kB / 399.2 MB, free: 8.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.5688, allocations: 35 kB / 399.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.5703, allocations: 479.4 kB / 399.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5706, allocations: 0.7452 MB / 400.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.5709, allocations: 29.45 kB / 400.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5711, allocations: 18.81 kB / 400.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5711, allocations: 4 kB / 400.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of Templates: time 0.01202/0.5831, allocations: 2.914 MB / 403.4 MB, free: 6.984 MB / 314.7 MB