Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.538/1.538, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.851e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 38.77 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3819, allocations: 69.79 MB / 337.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.3822, allocations: 71.95 kB / 337.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03671/0.4189, allocations: 8.428 MB / 345.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.841e-06/0.4189, allocations: 0 / 345.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.419, allocations: 8 kB / 345.9 MB, free: 11.02 MB / 298.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.001179/0.4202, allocations: 0.623 MB / 346.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4202, allocations: 8.031 kB / 346.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.4203, allocations: 47.44 kB / 346.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.4209, allocations: 298.2 kB / 346.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.4209, allocations: 28.73 kB / 346.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.179e-05/0.421, allocations: 36 kB / 346.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.4218, allocations: 323 kB / 347.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4218, allocations: 0 / 347.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.4219, allocations: 16 kB / 347.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.4219, allocations: 8 kB / 347.3 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.4225, allocations: 215 kB / 347.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.4252, allocations: 1.19 MB / 348.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.4258, allocations: 260.7 kB / 348.9 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.4264, allocations: 193.3 kB / 349.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.4275, allocations: 1.121 MB / 350.2 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4275, allocations: 34.8 kB / 350.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.589e-06/0.4275, allocations: 4 kB / 350.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008481/0.4284, allocations: 280.6 kB / 350.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.4285, allocations: 89.05 kB / 350.6 MB, free: 5.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.429, allocations: 299.6 kB / 350.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.429, allocations: 33.7 kB / 350.9 MB, free: 5.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.4292, allocations: 262.5 kB / 351.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4294, allocations: 102.6 kB / 351.3 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.4294, allocations: 4 kB / 351.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4296, allocations: 334.8 kB / 351.6 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.4299, allocations: 84.75 kB / 351.7 MB, free: 4.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.4302, allocations: 169.8 kB / 351.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.4305, allocations: 111.7 kB / 352 MB, free: 4.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.809e-06/0.4305, allocations: 0 / 352 MB, free: 4.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009459/0.4315, allocations: 377.8 kB / 352.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4315, allocations: 8 kB / 352.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.855e-06/0.4316, allocations: 0 / 352.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.4319, allocations: 64.81 kB / 352.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.4323, allocations: 79.89 kB / 352.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.4348, allocations: 1.76 MB / 354.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.4352, allocations: 47.48 kB / 354.3 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.4352, allocations: 16 kB / 354.3 MB, free: 1.867 MB / 298.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.4354, allocations: 120.9 kB / 354.4 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4355, allocations: 39.52 kB / 354.5 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008339/0.4363, allocations: 326.5 kB / 354.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4364, allocations: 0 / 354.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.4364, allocations: 3.984 kB / 354.8 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.4364, allocations: 0 / 354.8 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.4371, allocations: 397 kB / 355.2 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-06/0.4371, allocations: 0 / 355.2 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.4376, allocations: 63.97 kB / 355.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.4379, allocations: 64.8 kB / 355.3 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.4379, allocations: 4 kB / 355.3 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006004/0.4385, allocations: 0.603 MB / 355.9 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-06/0.4386, allocations: 0 / 355.9 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1748/0.6134, allocations: 487.8 kB / 356.4 MB, free: 79.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.6136, allocations: 138.2 kB / 356.5 MB, free: 79.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.6137, allocations: 7.656 kB / 356.5 MB, free: 79.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.6141, allocations: 30.05 kB / 356.6 MB, free: 79.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.6142, allocations: 15.36 kB / 356.6 MB, free: 79.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.6143, allocations: 9.5 kB / 356.6 MB, free: 79.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003889/0.6147, allocations: 237.3 kB / 356.8 MB, free: 79.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.6147, allocations: 2.844 kB / 356.8 MB, free: 79.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006846/0.6154, allocations: 113.1 kB / 356.9 MB, free: 79.36 MB / 298.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002386/0.6156, allocations: 134.4 kB / 357.1 MB, free: 79.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009216/0.6166, allocations: 391.5 kB / 357.5 MB, free: 79.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.877e-06/0.6166, allocations: 0.5625 kB / 357.5 MB, free: 79.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.617, allocations: 123.7 kB / 357.6 MB, free: 79.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.6173, allocations: 40.78 kB / 357.6 MB, free: 79.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.6186, allocations: 0.7025 MB / 358.3 MB, free: 78.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.6189, allocations: 0.805 MB / 359.1 MB, free: 78.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.619, allocations: 28.45 kB / 359.2 MB, free: 78.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.937e-06/0.619, allocations: 0 / 359.2 MB, free: 78.16 MB / 298.7 MB Notification: Performance of Templates: time 0.008118/0.6272, allocations: 5.228 MB / 364.4 MB, free: 77.86 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