Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001124/0.001125, allocations: 108 kB / 18.42 MB, free: 4.641 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.001289/0.001289, allocations: 190.7 kB / 19.35 MB, free: 3.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.189e-05/4.19e-05, allocations: 3.125 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005897/0.005951, allocations: 3.184 MB / 332.4 MB, free: 140 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.008322, allocations: 0.9983 MB / 333.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004692/0.008807, allocations: 8 kB / 333.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.009154, allocations: 59.36 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007431/0.009943, allocations: 130.9 kB / 333.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.01054, allocations: 143.7 kB / 333.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009412/0.01149, allocations: 0.5331 MB / 334.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.01184, allocations: 123.2 kB / 334.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.01227, allocations: 195.3 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.01264, allocations: 207.1 kB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.01271, allocations: 40 kB / 334.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.01291, allocations: 75.95 kB / 334.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005443/0.01346, allocations: 0.6723 MB / 335.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002999/0.01377, allocations: 405.9 kB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.01394, allocations: 79.69 kB / 336 MB, free: 12.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.448e-05/0.01403, allocations: 16 kB / 336 MB, free: 12.45 MB / 286.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.00208/0.01611, allocations: 1.938 MB / 338 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000258/0.01638, allocations: 119.7 kB / 338.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001073/0.01746, allocations: 0.8937 MB / 339 MB, free: 9.359 MB / 286.1 MB Notification: Performance of simplify1: time 0.000157/0.01763, allocations: 91.88 kB / 339.1 MB, free: 9.27 MB / 286.1 MB Notification: Performance of Alias: time 0.002359/0.01999, allocations: 1.791 MB / 340.8 MB, free: 7.277 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001043/0.02011, allocations: 59.92 kB / 340.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of Events: time 0.0002047/0.02032, allocations: 128.1 kB / 341 MB, free: 7.094 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003281/0.02066, allocations: 268.2 kB / 341.3 MB, free: 6.82 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003875/0.02106, allocations: 291.7 kB / 341.6 MB, free: 6.496 MB / 286.1 MB Notification: Performance of Causalize: time 0.001123/0.02219, allocations: 0.9693 MB / 342.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006441/0.02284, allocations: 0.6289 MB / 343.2 MB, free: 4.832 MB / 286.1 MB Notification: Performance of Inline: time 0.001301/0.02415, allocations: 1.177 MB / 344.3 MB, free: 3.621 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001092/0.02427, allocations: 75.61 kB / 344.4 MB, free: 3.535 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001047/0.02438, allocations: 47.94 kB / 344.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of Causalize: time 0.002225/0.02661, allocations: 1.803 MB / 346.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of Tearing: time 6.983e-06/0.02663, allocations: 0 / 346.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of Initialization: time 4.71e-07/0.02664, allocations: 0 / 346.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of Tearing: time 0.0004127/0.02705, allocations: 358 kB / 346.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of Categorize: time 1.58e-05/0.02708, allocations: 3.938 kB / 346.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of Solve: time 0.0005633/0.02765, allocations: 0.5265 MB / 347.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0004577/0.02812, allocations: 0.5201 MB / 347.7 MB, free: 136 kB / 286.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 8.097e-05/0.02821, allocations: 44.31 kB / 347.7 MB, free: 96 kB / 286.1 MB Notification: Performance of SimCode: time 0.001797/0.03001, allocations: 1.961 MB / 349.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Templates: time 0.008153/0.03818, allocations: 3.659 MB / 353.3 MB, free: 10.43 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.freqHz,sineVoltage.n.v,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time