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.001289/0.001289, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.001504/0.001504, allocations: 179 kB / 18.68 MB, free: 4.383 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3009, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004496/0.3054, allocations: 3.229 MB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3073, allocations: 0.9585 MB / 405.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.3077, allocations: 8 kB / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.3079, allocations: 59.36 kB / 405.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.3084, allocations: 126.9 kB / 405.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.3089, allocations: 151.6 kB / 405.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005582/0.3094, allocations: 486 kB / 406.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.3097, allocations: 123.1 kB / 406.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.31, allocations: 187.4 kB / 406.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3102, allocations: 211.1 kB / 406.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.3103, allocations: 40 kB / 407 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.3105, allocations: 75.97 kB / 407 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.3106, allocations: 91.67 kB / 407.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.3108, allocations: 214.9 kB / 407.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.3113, allocations: 0.49 MB / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3114, allocations: 0 / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3114, allocations: 0 / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3114, allocations: 0 / 407.8 MB, free: 2.43 MB / 318.1 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.001291/0.3127, allocations: 0.7555 MB / 408.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3127, allocations: 11.97 kB / 408.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.3128, allocations: 52.66 kB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.3132, allocations: 311.5 kB / 409 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3132, allocations: 25.03 kB / 409 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.3133, allocations: 36.38 kB / 409 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.3139, allocations: 349.3 kB / 409.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3139, allocations: 4 kB / 409.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.314, allocations: 8 kB / 409.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.314, allocations: 11.94 kB / 409.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.3145, allocations: 238.5 kB / 409.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.3163, allocations: 1.167 MB / 410.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.3169, allocations: 291.4 kB / 411.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.3174, allocations: 217.3 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.3181, allocations: 1.113 MB / 412.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3182, allocations: 42.8 kB / 412.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.3182, allocations: 0 / 412.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001307/0.3195, allocations: 0.5296 MB / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3196, allocations: 81.11 kB / 413 MB, free: 12.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3199, allocations: 340.4 kB / 413.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3199, allocations: 29.7 kB / 413.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3201, allocations: 212.5 kB / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.3202, allocations: 111.1 kB / 413.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3203, allocations: 74.02 kB / 413.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3204, allocations: 350.8 kB / 414.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.3206, allocations: 104.7 kB / 414.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3209, allocations: 185.8 kB / 414.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.3214, allocations: 292.3 kB / 414.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3214, allocations: 0 / 414.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007684/0.3222, allocations: 429.9 kB / 415.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3222, allocations: 4 kB / 415.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3222, allocations: 4 kB / 415.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.3225, allocations: 72.75 kB / 415.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.3228, allocations: 75.89 kB / 415.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.3246, allocations: 1.955 MB / 417.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.3248, allocations: 43.7 kB / 417.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.3249, allocations: 19.94 kB / 417.3 MB, free: 8.215 MB / 334.1 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.325, allocations: 157.8 kB / 417.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.3251, allocations: 35.77 kB / 417.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006845/0.3258, allocations: 330.3 kB / 417.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3258, allocations: 0 / 417.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3258, allocations: 0 / 417.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.3259, allocations: 124.7 kB / 417.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.326, allocations: 12 kB / 417.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.3262, allocations: 19.98 kB / 418 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.3263, allocations: 19.95 kB / 418 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001322/0.3276, allocations: 474.6 kB / 418.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008412/0.3285, allocations: 0.5842 MB / 419 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002392/0.3287, allocations: 95.94 kB / 419.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.329, allocations: 231.1 kB / 419.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of Backend: time 5.41e-07/0.329, allocations: 0 / 419.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000984/0.33, allocations: 460.8 kB / 419.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of SimCode: time 0.001328/0.3313, allocations: 1.346 MB / 421.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Templates: time 0.008823/0.3401, allocations: 4.453 MB / 425.6 MB, free: 15.81 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/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.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.p.v,constantVoltage1.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.v,opAmp.p_supply.v,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_3,opAmp.v_in,opAmp.v_neg,opAmp.v_pos,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,sineVoltage.V,sineVoltage.f,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time