Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 112.4 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001266, allocations: 214.2 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.088e-05, allocations: 2.281 kB / 359.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003803/0.003832, allocations: 3.249 MB / 362.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.005604, allocations: 1.025 MB / 363.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.005798, allocations: 4 kB / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.006021, allocations: 59.42 kB / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.006442, allocations: 126.9 kB / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.006899, allocations: 159.6 kB / 364 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.007459, allocations: 0.5331 MB / 364.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.007744, allocations: 127.2 kB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.00801, allocations: 187.3 kB / 364.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.008228, allocations: 219 kB / 365 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.008295, allocations: 40 kB / 365 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.008464, allocations: 75.97 kB / 365.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004874/0.00896, allocations: 0.6801 MB / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002257/0.009193, allocations: 413.7 kB / 366.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.009268, allocations: 75.75 kB / 366.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.097e-05/0.009325, allocations: 16 kB / 366.3 MB, free: 5.918 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.001615/0.01095, allocations: 1.93 MB / 368.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001187/0.01107, allocations: 101.6 kB / 368.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008957/0.01198, allocations: 1.042 MB / 369.4 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simplify1: time 8.76e-05/0.01207, allocations: 91.89 kB / 369.5 MB, free: 2.621 MB / 302.1 MB Notification: Performance of Alias: time 0.001844/0.01392, allocations: 1.791 MB / 371.2 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of simplify2: time 5.437e-05/0.01399, allocations: 63.92 kB / 371.3 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of Events: time 0.0001639/0.01416, allocations: 115.7 kB / 371.4 MB, free: 464 kB / 302.1 MB Notification: Performance of Detect States: time 0.0002745/0.01444, allocations: 262 kB / 371.7 MB, free: 188 kB / 302.1 MB Notification: Performance of Partitioning: time 0.1587/0.1732, allocations: 272.8 kB / 371.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Causalize: time 0.001162/0.1744, allocations: 0.9612 MB / 372.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000647/0.175, allocations: 0.6314 MB / 373.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Inline: time 0.001336/0.1764, allocations: 1.334 MB / 374.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of Partitioning: time 7.576e-05/0.1764, allocations: 71.98 kB / 374.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Cleanup: time 5.686e-05/0.1765, allocations: 50.77 kB / 375 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Causalize: time 0.001947/0.1785, allocations: 1.782 MB / 376.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of Tearing: time 8.465e-06/0.1785, allocations: 4 kB / 376.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Initialization: time 6.31e-07/0.1785, allocations: 1.438 kB / 376.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003487/0.1788, allocations: 349 kB / 377.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Categorize: time 1.888e-05/0.1789, allocations: 5.234 kB / 377.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Solve: time 0.0005023/0.1794, allocations: 0.5385 MB / 377.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003652/0.1798, allocations: 0.5072 MB / 378.2 MB, free: 13.38 MB / 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: ........... 36 (scalar:36, 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: ........... 73 (scalar:73, 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 4.609e-05/0.1798, allocations: 31.41 kB / 378.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of SimCode: time 0.001653/0.1815, allocations: 1.97 MB / 380.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Templates: time 0.007521/0.189, allocations: 3.693 MB / 383.9 MB, free: 11.91 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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.continuous,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time