Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.728/1.728, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007336/0.0007336, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1324, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.5316, allocations: 74.92 MB / 383.4 MB, free: 18.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.5319, allocations: 69.53 kB / 383.4 MB, free: 18.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03174/0.5636, allocations: 8.348 MB / 391.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.812e-06/0.5637, allocations: 0 / 391.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.5637, allocations: 7.844 kB / 391.8 MB, free: 17.84 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001091/0.5648, allocations: 0.6762 MB / 392.5 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5649, allocations: 7.812 kB / 392.5 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.565, allocations: 50.77 kB / 392.5 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.5654, allocations: 294 kB / 392.8 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.5654, allocations: 26.88 kB / 392.8 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.5655, allocations: 41.66 kB / 392.9 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.5663, allocations: 349.5 kB / 393.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5663, allocations: 0 / 393.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.5664, allocations: 15.56 kB / 393.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.116e-06/0.5664, allocations: 7.719 kB / 393.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.567, allocations: 240.2 kB / 393.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.5693, allocations: 1.183 MB / 394.7 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.5701, allocations: 288.3 kB / 394.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.5707, allocations: 1.132 MB / 396.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.5707, allocations: 38.55 kB / 396.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.317e-06/0.5707, allocations: 3.938 kB / 396.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001365/0.5721, allocations: 0.5035 MB / 396.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5721, allocations: 80.67 kB / 396.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.5725, allocations: 302.7 kB / 397 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.5726, allocations: 28.7 kB / 397 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5727, allocations: 272.3 kB / 397.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.5728, allocations: 100.2 kB / 397.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.5728, allocations: 3.562 kB / 397.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.5729, allocations: 329 kB / 397.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.5732, allocations: 106.2 kB / 397.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.5735, allocations: 191.8 kB / 398 MB, free: 14.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.5739, allocations: 134 kB / 398.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-06/0.5739, allocations: 0 / 398.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008047/0.5747, allocations: 360.5 kB / 398.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5747, allocations: 3.875 kB / 398.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.339e-06/0.5748, allocations: 3.875 kB / 398.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5748, allocations: 3.969 kB / 398.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.5753, allocations: 99.14 kB / 398.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.5753, allocations: 14.88 kB / 398.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.5757, allocations: 42.66 kB / 398.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.5758, allocations: 13.17 kB / 398.7 MB, free: 13.94 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: 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.000202/0.576, allocations: 150.4 kB / 398.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.5761, allocations: 38.81 kB / 398.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000893/0.577, allocations: 329 kB / 399.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.577, allocations: 0 / 399.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.577, allocations: 0 / 399.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.577, allocations: 10.23 kB / 399.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.5776, allocations: 398.8 kB / 399.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.5776, allocations: 0 / 399.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.5781, allocations: 60.95 kB / 399.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.5783, allocations: 36.78 kB / 399.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.5784, allocations: 17.45 kB / 399.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003429/0.5788, allocations: 0.5752 MB / 400.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.772e-06/0.5788, allocations: 0 / 400.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.5799, allocations: 0.5253 MB / 400.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.58, allocations: 129.6 kB / 400.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.5801, allocations: 14.44 kB / 400.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.5805, allocations: 26.91 kB / 401 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.5806, allocations: 18.02 kB / 401 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.5806, allocations: 7.891 kB / 401 MB, free: 12.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.5809, allocations: 238.6 kB / 401.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.5809, allocations: 0 / 401.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005549/0.5815, allocations: 108.9 kB / 401.3 MB, free: 12.59 MB / 314.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.0002066/0.5817, allocations: 144.2 kB / 401.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.5824, allocations: 266.8 kB / 401.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.399e-06/0.5824, allocations: 1.938 kB / 401.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.5829, allocations: 141.6 kB / 401.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.5833, allocations: 31.98 kB / 401.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.5848, allocations: 1.079 MB / 403 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.5851, allocations: 0.806 MB / 403.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.5853, allocations: 29.09 kB / 403.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.866e-06/0.5853, allocations: 0 / 403.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of Templates: time 0.007764/0.5931, allocations: 4.623 MB / 408.4 MB, free: 10.43 MB / 314.7 MB "Error: Could not read variable opAmp.Pi in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat. Warning: Get data of variable opAmp.Pi from file Modelica_3.2.2_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