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.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09025, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004191/0.0945, allocations: 2.595 MB / 311.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.09672, allocations: 0.9485 MB / 312.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.09698, allocations: 4 kB / 312.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.09711, allocations: 47.59 kB / 312.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.09764, allocations: 143.6 kB / 312.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.09801, allocations: 103.8 kB / 312.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.09856, allocations: 323.2 kB / 313.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.09885, allocations: 98.55 kB / 313.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.09914, allocations: 163.4 kB / 313.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.09949, allocations: 183.2 kB / 313.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.09957, allocations: 20 kB / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.09978, allocations: 55.91 kB / 313.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.09988, allocations: 67.73 kB / 313.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1, allocations: 101.5 kB / 313.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.1006, allocations: 355.2 kB / 314.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1006, allocations: 0 / 314.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1006, allocations: 3.938 kB / 314.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.1006, allocations: 4 kB / 314.2 MB, free: 11.13 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001781/0.1024, allocations: 0.6818 MB / 314.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1025, allocations: 12.03 kB / 314.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1026, allocations: 47.44 kB / 315 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.1031, allocations: 298.2 kB / 315.3 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.1031, allocations: 28.66 kB / 315.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.1032, allocations: 32 kB / 315.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000982/0.1042, allocations: 349 kB / 315.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1043, allocations: 0 / 315.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.1043, allocations: 12 kB / 315.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1043, allocations: 11.94 kB / 315.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.1052, allocations: 242.5 kB / 315.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.1081, allocations: 1.186 MB / 317.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.1092, allocations: 295.7 kB / 317.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.1103, allocations: 1.125 MB / 318.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.1103, allocations: 38.8 kB / 318.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.535e-06/0.1103, allocations: 0 / 318.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001917/0.1122, allocations: 0.5012 MB / 319.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.1123, allocations: 85.11 kB / 319.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.1129, allocations: 333.7 kB / 319.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.113, allocations: 33.7 kB / 319.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1132, allocations: 212.1 kB / 319.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1133, allocations: 98.55 kB / 319.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1134, allocations: 12 kB / 319.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1135, allocations: 342.8 kB / 320.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.1139, allocations: 112.7 kB / 320.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.1144, allocations: 189.7 kB / 320.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.1149, allocations: 128 kB / 320.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1149, allocations: 0 / 320.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001132/0.116, allocations: 384.5 kB / 321 MB, free: 3.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1161, allocations: 5.875 kB / 321 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1161, allocations: 4 kB / 321 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.1161, allocations: 4 kB / 321 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.1169, allocations: 99.88 kB / 321.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.1169, allocations: 7.938 kB / 321.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.1174, allocations: 51.52 kB / 321.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.1174, allocations: 16 kB / 321.1 MB, free: 3.656 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.1177, allocations: 145.8 kB / 321.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.1178, allocations: 35.58 kB / 321.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.1189, allocations: 338.2 kB / 321.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.119, allocations: 0 / 321.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.119, allocations: 0 / 321.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.1192, allocations: 136.6 kB / 321.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.1193, allocations: 7.984 kB / 321.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.1198, allocations: 35.94 kB / 321.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.1198, allocations: 11.98 kB / 321.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00253/0.1224, allocations: 0.5024 MB / 322.3 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001534/0.1239, allocations: 0.5888 MB / 322.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004117/0.1244, allocations: 103.9 kB / 323 MB, free: 1.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003736/0.1248, allocations: 239.2 kB / 323.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of Backend: time 5.31e-07/0.1248, allocations: 0 / 323.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.1258, allocations: 289.9 kB / 323.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of SimCode: time 0.002465/0.1283, allocations: 1.501 MB / 325.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of Templates: time 0.01234/0.1407, allocations: 3.672 MB / 328.7 MB, free: 11.96 MB / 282.7 MB "" Variables in the reference:time,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.v_in,opAmp.v_source,opAmp.x Variables in the result:constantVoltage.V,constantVoltage.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.p.v,constantVoltage1.v,opAmp.Avcm_val,opAmp.Avd0,opAmp.Avd0_val,opAmp.CMRR,opAmp.Cin,opAmp.I1,opAmp.I2,opAmp.Ib,opAmp.Imaxsi,opAmp.Imaxsi_val,opAmp.Imaxso,opAmp.Imaxso_val,opAmp.Ios,opAmp.Rcm,opAmp.Rdm,opAmp.Rout,opAmp.Ts,opAmp.Vos,opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.m_supply.v,opAmp.p_supply.v,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.sr_m,opAmp.sr_m_val,opAmp.sr_p,opAmp.sr_p_val,opAmp.v_3,opAmp.v_in,opAmp.v_neg,opAmp.v_pos,opAmp.v_source,opAmp.v_vos,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_heatPort,resistor2.T_ref,resistor2.alpha,sineVoltage.V,sineVoltage.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time