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.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08382, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4578, allocations: 74.4 MB / 382.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4581, allocations: 79.48 kB / 382.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0191/0.4772, allocations: 5.158 MB / 388.1 MB, free: 18.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4773, allocations: 1.562 kB / 388.1 MB, free: 18.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.381e-05/0.4773, allocations: 7.562 kB / 388.1 MB, free: 18.13 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.0009366/0.4783, allocations: 0.5827 MB / 388.7 MB, free: 17.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4783, allocations: 8.875 kB / 388.7 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.4784, allocations: 27.28 kB / 388.7 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.4787, allocations: 257.9 kB / 389 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.4787, allocations: 15.44 kB / 389 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.4788, allocations: 19.42 kB / 389 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.4794, allocations: 236.5 kB / 389.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4794, allocations: 0 / 389.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.4795, allocations: 3.688 kB / 389.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.468e-06/0.4795, allocations: 13.97 kB / 389.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006714/0.4802, allocations: 230.1 kB / 389.5 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.4818, allocations: 0.8896 MB / 390.4 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.4825, allocations: 211.7 kB / 390.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4825, allocations: 9.766 kB / 390.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/0.483, allocations: 166.8 kB / 390.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.472e-06/0.483, allocations: 0 / 390.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001924/0.4849, allocations: 0.5491 MB / 391.3 MB, free: 16.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.485, allocations: 110.7 kB / 391.4 MB, free: 16.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.4853, allocations: 231.2 kB / 391.6 MB, free: 16.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4853, allocations: 31.81 kB / 391.7 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.4854, allocations: 241.7 kB / 391.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.4855, allocations: 34.06 kB / 391.9 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.4855, allocations: 11.5 kB / 391.9 MB, free: 16.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.4856, allocations: 320.9 kB / 392.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.4859, allocations: 100.7 kB / 392.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.4862, allocations: 170.2 kB / 392.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.4866, allocations: 126.9 kB / 392.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.776e-06/0.4866, allocations: 0 / 392.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00113/0.4877, allocations: 401.5 kB / 393 MB, free: 15.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.4878, allocations: 37.44 kB / 393.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.737e-06/0.4878, allocations: 7.562 kB / 393.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.4883, allocations: 93.02 kB / 393.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.4886, allocations: 48.31 kB / 393.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.4911, allocations: 1.768 MB / 395 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.4915, allocations: 59.75 kB / 395 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4916, allocations: 7.75 kB / 395.1 MB, free: 14.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.4917, allocations: 144.1 kB / 395.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.4918, allocations: 18.05 kB / 395.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.4919, allocations: 27.44 kB / 395.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4919, allocations: 0 / 395.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4919, allocations: 0 / 395.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.365e-06/0.4919, allocations: 0 / 395.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.4922, allocations: 301.5 kB / 395.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-06/0.4922, allocations: 0 / 395.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.4924, allocations: 29.5 kB / 395.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/0.4929, allocations: 94.98 kB / 395.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.4929, allocations: 6.766 kB / 395.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.4953, allocations: 1.748 MB / 397.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-06/0.4953, allocations: 3.938 kB / 397.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.4963, allocations: 336 kB / 397.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.4964, allocations: 104.2 kB / 397.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.4964, allocations: 11.33 kB / 397.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.4967, allocations: 30.12 kB / 397.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.4968, allocations: 25.88 kB / 397.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4968, allocations: 7.781 kB / 397.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.4971, allocations: 180.6 kB / 398.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.4971, allocations: 4 kB / 398.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005392/0.4976, allocations: 68.81 kB / 398.2 MB, free: 12.07 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.4978, allocations: 105.7 kB / 398.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009106/0.4987, allocations: 400.7 kB / 398.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.583e-06/0.4987, allocations: 0.5 kB / 398.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.4992, allocations: 228.2 kB / 398.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4995, allocations: 39.73 kB / 398.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.5015, allocations: 0.7116 MB / 399.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.5017, allocations: 0.7557 MB / 400.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.5018, allocations: 18.94 kB / 400.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.441e-06/0.5018, allocations: 0 / 400.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of Templates: time 0.006106/0.5079, allocations: 3.872 MB / 404.3 MB, free: 10.42 MB / 314.7 MB