Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.802/1.802, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.000343, allocations: 8 kB / 233.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08553, allocations: 38.76 MB / 272.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4588, allocations: 69.86 MB / 342.4 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.4592, allocations: 73.7 kB / 342.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04237/0.5016, allocations: 8.439 MB / 350.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5016, allocations: 0 / 350.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.5016, allocations: 8 kB / 350.9 MB, free: 12.91 MB / 282.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.001756/0.5034, allocations: 0.6705 MB / 351.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5035, allocations: 16.03 kB / 351.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.5036, allocations: 39.53 kB / 351.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.5042, allocations: 305.2 kB / 351.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.5042, allocations: 23.72 kB / 352 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.5043, allocations: 35.25 kB / 352 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5054, allocations: 348.8 kB / 352.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.5054, allocations: 4 kB / 352.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.5055, allocations: 14.31 kB / 352.4 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.5055, allocations: 8 kB / 352.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008533/0.5064, allocations: 244.9 kB / 352.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.5095, allocations: 1.194 MB / 353.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.5107, allocations: 298.8 kB / 354.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.5118, allocations: 1.121 MB / 355.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.5119, allocations: 34.55 kB / 355.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 3.286e-06/0.5119, allocations: 3.938 kB / 355.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.002079/0.514, allocations: 0.5043 MB / 355.8 MB, free: 8.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.5141, allocations: 85.11 kB / 355.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.5147, allocations: 337.3 kB / 356.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/0.5147, allocations: 33.45 kB / 356.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.5149, allocations: 265.5 kB / 356.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.5151, allocations: 95.38 kB / 356.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.5151, allocations: 6.188 kB / 356.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5153, allocations: 328.6 kB / 356.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.5157, allocations: 111.8 kB / 357 MB, free: 7.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.5162, allocations: 194.2 kB / 357.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.5166, allocations: 126.9 kB / 357.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.5167, allocations: 0 / 357.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001083/0.5178, allocations: 366.7 kB / 357.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.5178, allocations: 8 kB / 357.7 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5178, allocations: 0 / 357.7 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.5179, allocations: 4 kB / 357.7 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.5186, allocations: 103 kB / 357.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.5187, allocations: 4 kB / 357.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.5192, allocations: 50.2 kB / 357.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.5192, allocations: 19.11 kB / 357.8 MB, free: 6.465 MB / 282.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.0002929/0.5195, allocations: 154.9 kB / 358 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5197, allocations: 35.58 kB / 358 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.5209, allocations: 338.9 kB / 358.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5209, allocations: 7.984 kB / 358.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5209, allocations: 0 / 358.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5209, allocations: 0 / 358.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/0.5216, allocations: 392.6 kB / 358.8 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5216, allocations: 0 / 358.8 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.5224, allocations: 71.88 kB / 358.8 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.5227, allocations: 40.48 kB / 358.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.5227, allocations: 7.812 kB / 358.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005717/0.5233, allocations: 0.5655 MB / 359.4 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5233, allocations: 0 / 359.4 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.5249, allocations: 0.527 MB / 360 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.5252, allocations: 139.9 kB / 360.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.5253, allocations: 3.125 kB / 360.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.5258, allocations: 23.05 kB / 360.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.5259, allocations: 23.34 kB / 360.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.5259, allocations: 11.88 kB / 360.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003864/0.5263, allocations: 230.5 kB / 360.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5263, allocations: 3.938 kB / 360.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006134/0.5269, allocations: 110.8 kB / 360.5 MB, free: 4.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 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.0003121/0.5273, allocations: 130.7 kB / 360.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009966/0.5283, allocations: 277.6 kB / 360.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5283, allocations: 0 / 360.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.5289, allocations: 142.1 kB / 361 MB, free: 3.645 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.5294, allocations: 47.11 kB / 361.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.5317, allocations: 1.083 MB / 362.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.5322, allocations: 0.7994 MB / 363 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.5324, allocations: 35.42 kB / 363 MB, free: 1.699 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5324, allocations: 0 / 363 MB, free: 1.699 MB / 282.7 MB Notification: Performance of Templates: time 0.01185/0.5443, allocations: 4.634 MB / 367.6 MB, free: 13.12 MB / 298.7 MB "Error: Could not read variable opAmp.Pi in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat. Warning: Get data of variable opAmp.Pi from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat failed! Error: Could not read variable sineVoltage.signalSource.pi in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat. Warning: Get data of variable sineVoltage.signalSource.pi from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat failed! " 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.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.i,constantVoltage1.n.i,constantVoltage1.n.v,constantVoltage1.p.i,constantVoltage1.p.v,constantVoltage1.v,ground.p.i,ground.p.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,der(opAmp.q_fp1),der(opAmp.q_fr1),der(opAmp.q_fr2),der(opAmp.q_fr3),der(opAmp.v_in),der(opAmp.v_source),der(opAmp.x),opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.i_3,opAmp.i_4,opAmp.i_c3,opAmp.i_out,opAmp.i_r2,opAmp.i_vos,opAmp.m.i,opAmp.m.v,opAmp.m_supply.i,opAmp.m_supply.v,opAmp.outp.i,opAmp.outp.v,opAmp.p.i,opAmp.p.v,opAmp.p_supply.i,opAmp.p_supply.v,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_sum,opAmp.q_sum_help,opAmp.sr_m,opAmp.sr_m_val,opAmp.sr_p,opAmp.sr_p_val,opAmp.v_3,opAmp.v_4,opAmp.v_in,opAmp.v_neg,opAmp.v_out,opAmp.v_pos,opAmp.v_source,opAmp.v_vos,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.v,resistor1.LossPower,resistor1.R,resistor1.R_actual,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor1.i,resistor1.n.i,resistor1.n.v,resistor1.p.i,resistor1.p.v,resistor1.v,resistor2.LossPower,resistor2.R,resistor2.R_actual,resistor2.T,resistor2.T_heatPort,resistor2.T_ref,resistor2.alpha,resistor2.i,resistor2.n.i,resistor2.n.v,resistor2.p.i,resistor2.p.v,resistor2.v,sineVoltage.V,sineVoltage.freqHz,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.offset,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.signalSource.y,sineVoltage.startTime,sineVoltage.v,time