Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08519, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004367/0.08962, allocations: 2.59 MB / 275.2 MB, free: 8.934 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.09199, allocations: 0.944 MB / 276.2 MB, free: 7.988 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.09233, allocations: 4 kB / 276.2 MB, free: 7.984 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.09248, allocations: 43.66 kB / 276.2 MB, free: 7.941 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.09305, allocations: 143.6 kB / 276.3 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.09353, allocations: 107.7 kB / 276.5 MB, free: 7.695 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.09413, allocations: 323.3 kB / 276.8 MB, free: 7.379 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.09443, allocations: 102.5 kB / 276.9 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.09475, allocations: 167.4 kB / 277 MB, free: 7.105 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.09509, allocations: 179.2 kB / 277.2 MB, free: 6.93 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.09517, allocations: 20 kB / 277.2 MB, free: 6.91 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.09541, allocations: 55.97 kB / 277.3 MB, free: 6.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.09552, allocations: 67.73 kB / 277.3 MB, free: 6.789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.09564, allocations: 97.52 kB / 277.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.09624, allocations: 363.2 kB / 277.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.09626, allocations: 0 / 277.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09627, allocations: 0 / 277.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.09629, allocations: 0 / 277.8 MB, free: 6.332 MB / 234.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.001934/0.09823, allocations: 0.6895 MB / 278.5 MB, free: 5.594 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.09829, allocations: 11.97 kB / 278.5 MB, free: 5.582 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.09843, allocations: 43.53 kB / 278.5 MB, free: 5.539 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.09896, allocations: 298.2 kB / 278.8 MB, free: 5.207 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.09902, allocations: 32.55 kB / 278.9 MB, free: 5.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.09913, allocations: 40 kB / 278.9 MB, free: 5.137 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1002, allocations: 349 kB / 279.2 MB, free: 4.781 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1002, allocations: 0 / 279.2 MB, free: 4.781 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.1003, allocations: 16 kB / 279.3 MB, free: 4.766 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.1003, allocations: 8 kB / 279.3 MB, free: 4.758 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000869/0.1012, allocations: 238.5 kB / 279.5 MB, free: 4.527 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.1043, allocations: 1.19 MB / 280.7 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.1055, allocations: 292.9 kB / 281 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.1066, allocations: 1.129 MB / 282.1 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.1067, allocations: 38.72 kB / 282.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of pre-optimization done (n=27): time 3.176e-06/0.1067, allocations: 0 / 282.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of matching and sorting (n=27): time 0.001978/0.1087, allocations: 0.5019 MB / 282.6 MB, free: 1.008 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1088, allocations: 77.11 kB / 282.7 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.1093, allocations: 337.7 kB / 283 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.1094, allocations: 33.7 kB / 283.1 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1096, allocations: 208.1 kB / 283.3 MB, free: 340 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1097, allocations: 98.56 kB / 283.4 MB, free: 240 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1098, allocations: 8 kB / 283.4 MB, free: 232 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.11, allocations: 346.8 kB / 283.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.1104, allocations: 112.7 kB / 283.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.1109, allocations: 185.8 kB / 284 MB, free: 15.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.1114, allocations: 135.7 kB / 284.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1114, allocations: 4 kB / 284.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00116/0.1125, allocations: 380.7 kB / 284.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1126, allocations: 7.938 kB / 284.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.1126, allocations: 7.938 kB / 284.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.1126, allocations: 7.953 kB / 284.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.1134, allocations: 91.89 kB / 284.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-05/0.1135, allocations: 11.92 kB / 284.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.1139, allocations: 55.52 kB / 284.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.114, allocations: 12 kB / 284.7 MB, free: 14.85 MB / 250.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.0002488/0.1142, allocations: 149.8 kB / 284.9 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.1143, allocations: 35.61 kB / 284.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.1155, allocations: 338.4 kB / 285.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.1156, allocations: 3.984 kB / 285.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1156, allocations: 0 / 285.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.1158, allocations: 132.6 kB / 285.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/0.1159, allocations: 12 kB / 285.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.1164, allocations: 23.98 kB / 285.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.1165, allocations: 19.97 kB / 285.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002597/0.1191, allocations: 0.5012 MB / 285.9 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00157/0.1207, allocations: 0.5774 MB / 286.5 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004357/0.1212, allocations: 116.2 kB / 286.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004013/0.1216, allocations: 239.2 kB / 286.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of Backend: time 5.31e-07/0.1216, allocations: 0 / 286.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.1226, allocations: 278.9 kB / 287.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of SimCode: time 0.002316/0.125, allocations: 1.516 MB / 288.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of Templates: time 0.01251/0.1375, allocations: 3.673 MB / 292.3 MB, free: 7.148 MB / 250.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