Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") 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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 109.5 kB / 17.75 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001235, allocations: 184.2 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.188e-05, allocations: 2.281 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003773/0.003803, allocations: 3.194 MB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.0053, allocations: 0.9779 MB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.005453, allocations: 8 kB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.005638, allocations: 59.36 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.00599, allocations: 121.1 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.00629, allocations: 151.6 kB / 356.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.006802, allocations: 0.533 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.007051, allocations: 135.1 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.007257, allocations: 183.3 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.007486, allocations: 215.1 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.00755, allocations: 40 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.007687, allocations: 71.97 kB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004543/0.008149, allocations: 0.6723 MB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002122/0.008367, allocations: 409.9 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.008443, allocations: 75.75 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.622e-05/0.008495, allocations: 8 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 (79) * Number of variables: 79 (79) Notification: Performance of Bindings: time 0.00154/0.01004, allocations: 1.93 MB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001456/0.0102, allocations: 122.8 kB / 360.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007759/0.01098, allocations: 0.8976 MB / 361.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simplify1: time 9.378e-05/0.01108, allocations: 95.88 kB / 361.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of Alias: time 0.001944/0.01303, allocations: 1.795 MB / 363.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplify2: time 5.484e-05/0.0131, allocations: 63.92 kB / 363.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of Events: time 0.0001744/0.01328, allocations: 124.1 kB / 363.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002758/0.01356, allocations: 253.1 kB / 364 MB, free: 6.773 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002749/0.01384, allocations: 283.9 kB / 364.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of Causalize: time 0.001047/0.0149, allocations: 0.9734 MB / 365.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005471/0.01545, allocations: 0.6322 MB / 365.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of Inline: time 0.001066/0.01653, allocations: 1.184 MB / 367.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of Partitioning: time 7.525e-05/0.01661, allocations: 71.61 kB / 367.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of Cleanup: time 4.802e-05/0.01667, allocations: 59.81 kB / 367.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of Causalize: time 0.00195/0.01862, allocations: 1.795 MB / 369 MB, free: 1.621 MB / 302.1 MB Notification: Performance of Tearing: time 7.765e-06/0.01864, allocations: 0 / 369 MB, free: 1.621 MB / 302.1 MB Notification: Performance of Initialization: time 3.1e-07/0.01865, allocations: 0 / 369 MB, free: 1.621 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004137/0.01907, allocations: 362 kB / 369.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of Categorize: time 1.245e-05/0.01909, allocations: 0 / 369.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of Solve: time 0.0005113/0.01961, allocations: 0.5303 MB / 369.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004245/0.02004, allocations: 0.5083 MB / 370.4 MB, free: 96 kB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 7 (7) {opAmp.v_in, opAmp.q_fr1, opAmp.q_fr2, opAmp.q_fr3, opAmp.q_fp1, opAmp.x, opAmp.v_source} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:37, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 74 (scalar:74, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.206e-05/0.0201, allocations: 33.19 kB / 370.5 MB, free: 68 kB / 302.1 MB Notification: Performance of SimCode: time 0.211/0.2311, allocations: 1.96 MB / 372.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of Templates: time 0.009332/0.2405, allocations: 3.673 MB / 376.1 MB, free: 18.32 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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.v,constantVoltage1.V,constantVoltage1.i,constantVoltage1.n.i,constantVoltage1.n.v,constantVoltage1.p.i,constantVoltage1.v,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,opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.m_supply.i,opAmp.p.v,opAmp.p_supply.i,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_in,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,resistor2.n.v,sineVoltage.V,sineVoltage.f,sineVoltage.n.v,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time