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.NonInvertingAmp.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.NonInvertingAmp,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.NonInvertingAmp") Notification: Performance of loadModel(Modelica): time 2.288/2.288, allocations: 194.9 MB / 211.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1004, allocations: 44.51 MB / 309.1 MB, free: 332 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.559, allocations: 74.4 MB / 383.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5593, allocations: 81.52 kB / 383.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.583, allocations: 5.157 MB / 388.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.583, allocations: 4 kB / 388.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.5831, allocations: 7.781 kB / 388.7 MB, free: 14.75 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.001266/0.5843, allocations: 0.5754 MB / 389.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5844, allocations: 7.75 kB / 389.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.5845, allocations: 31.28 kB / 389.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.5849, allocations: 264.1 kB / 389.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.5849, allocations: 15.34 kB / 389.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.585, allocations: 15.56 kB / 389.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.5859, allocations: 240.5 kB / 389.8 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5859, allocations: 0 / 389.8 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.586, allocations: 9.875 kB / 389.9 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.586, allocations: 5.156 kB / 389.9 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.5869, allocations: 227.2 kB / 390.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.589, allocations: 0.893 MB / 391 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/0.5901, allocations: 214.4 kB / 391.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.5901, allocations: 3.953 kB / 391.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005957/0.5907, allocations: 171.6 kB / 391.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.955e-06/0.5908, allocations: 3.906 kB / 391.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00297/0.5937, allocations: 0.5441 MB / 391.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.5938, allocations: 102.8 kB / 392 MB, free: 13.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.5942, allocations: 262.6 kB / 392.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.5942, allocations: 29.86 kB / 392.3 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5944, allocations: 177.3 kB / 392.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.5944, allocations: 43.59 kB / 392.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.5944, allocations: 7.781 kB / 392.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.5945, allocations: 335.1 kB / 392.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.595, allocations: 98.61 kB / 392.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.5955, allocations: 170.6 kB / 393.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.5959, allocations: 120.3 kB / 393.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.596, allocations: 7.75 kB / 393.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001691/0.5977, allocations: 409.9 kB / 393.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.5977, allocations: 45.84 kB / 393.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5978, allocations: 0 / 393.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007928/0.5986, allocations: 98.33 kB / 393.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.5989, allocations: 45.23 kB / 393.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.6022, allocations: 1.778 MB / 395.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.6029, allocations: 50.67 kB / 395.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.6029, allocations: 10.33 kB / 395.7 MB, free: 10.81 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.0001977/0.6031, allocations: 137 kB / 395.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.6032, allocations: 23.25 kB / 395.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.6032, allocations: 25.22 kB / 395.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6033, allocations: 3.938 kB / 395.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6033, allocations: 0 / 395.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6033, allocations: 6.391 kB / 395.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.6036, allocations: 295.4 kB / 396.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6036, allocations: 0 / 396.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.6039, allocations: 31.73 kB / 396.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006938/0.6046, allocations: 92.84 kB / 396.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.6046, allocations: 2.766 kB / 396.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.6076, allocations: 1.754 MB / 398 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6077, allocations: 2.578 kB / 398 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.6092, allocations: 336.6 kB / 398.3 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.6093, allocations: 105.1 kB / 398.4 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.6094, allocations: 9.016 kB / 398.5 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.6098, allocations: 29.91 kB / 398.5 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6099, allocations: 21.47 kB / 398.5 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.6099, allocations: 6.094 kB / 398.5 MB, free: 8.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002389/0.6102, allocations: 186.9 kB / 398.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6102, allocations: 0 / 398.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005619/0.6107, allocations: 75.34 kB / 398.8 MB, free: 8.754 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.0001514/0.6109, allocations: 102.5 kB / 398.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.6122, allocations: 409.5 kB / 399.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6123, allocations: 8 kB / 399.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.6129, allocations: 225.9 kB / 399.5 MB, free: 8.348 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.6133, allocations: 36.25 kB / 399.5 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.6166, allocations: 0.6791 MB / 400.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.6168, allocations: 0.7507 MB / 401 MB, free: 7.344 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.6171, allocations: 24.08 kB / 401 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.6172, allocations: 19.03 kB / 401 MB, free: 7.332 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6172, allocations: 0 / 401 MB, free: 7.332 MB / 314.7 MB Notification: Performance of Templates: time 0.01064/0.6278, allocations: 3.171 MB / 404.2 MB, free: 7.094 MB / 314.7 MB