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.001099/0.001104, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001191/0.001191, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000989/0.000989, allocations: 47.91 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2793, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.006357/0.2857, allocations: 3.232 MB / 404.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2876, allocations: 0.9545 MB / 405.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.2878, allocations: 8 kB / 405.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.288, allocations: 63.34 kB / 405.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.2884, allocations: 119 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.2888, allocations: 155.6 kB / 405.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.2893, allocations: 482 kB / 406.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2896, allocations: 131.1 kB / 406.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.2898, allocations: 179.4 kB / 406.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.2901, allocations: 211.1 kB / 406.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.2902, allocations: 40 kB / 407 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.2904, allocations: 79.91 kB / 407 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.2905, allocations: 99.66 kB / 407.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2907, allocations: 210.9 kB / 407.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.2912, allocations: 0.4994 MB / 407.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2912, allocations: 0 / 407.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2912, allocations: 0 / 407.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.2912, allocations: 0 / 407.8 MB, free: 2.426 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.001351/0.2926, allocations: 0.7287 MB / 408.6 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2926, allocations: 8.031 kB / 408.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.926e-05/0.2927, allocations: 48.38 kB / 408.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.2931, allocations: 311.4 kB / 408.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2932, allocations: 25.03 kB / 409 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.2932, allocations: 40.28 kB / 409 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.2939, allocations: 349.3 kB / 409.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2939, allocations: 0 / 409.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.294, allocations: 12 kB / 409.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.294, allocations: 8 kB / 409.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.2945, allocations: 242.4 kB / 409.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.2964, allocations: 1.162 MB / 410.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.2971, allocations: 283.5 kB / 411 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.2976, allocations: 213.2 kB / 411.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.2984, allocations: 1.121 MB / 412.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2984, allocations: 34.8 kB / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.034e-06/0.2984, allocations: 0 / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001347/0.2998, allocations: 0.5295 MB / 412.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2998, allocations: 85.11 kB / 413 MB, free: 12.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.3002, allocations: 332.5 kB / 413.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.3002, allocations: 33.7 kB / 413.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3004, allocations: 212.1 kB / 413.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.3004, allocations: 98.55 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3006, allocations: 74 kB / 413.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3007, allocations: 350.7 kB / 414.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.3009, allocations: 100.7 kB / 414.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.3012, allocations: 185.8 kB / 414.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.3017, allocations: 292.3 kB / 414.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3018, allocations: 4 kB / 414.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008079/0.3026, allocations: 429.6 kB / 415.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3026, allocations: 8 kB / 415.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3026, allocations: 0 / 415.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.3029, allocations: 72.69 kB / 415.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.3032, allocations: 79.89 kB / 415.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.305, allocations: 1.955 MB / 417.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.3053, allocations: 39.62 kB / 417.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.3054, allocations: 19.92 kB / 417.2 MB, free: 8.27 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.0001612/0.3055, allocations: 153.7 kB / 417.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.3056, allocations: 31.62 kB / 417.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.3063, allocations: 338.3 kB / 417.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.3064, allocations: 0 / 417.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3064, allocations: 3.938 kB / 417.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.3065, allocations: 116.6 kB / 417.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.3065, allocations: 8 kB / 417.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.3068, allocations: 23.98 kB / 417.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3069, allocations: 19.95 kB / 417.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001421/0.3083, allocations: 486.4 kB / 418.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008751/0.3092, allocations: 0.5723 MB / 419 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002309/0.3094, allocations: 99.94 kB / 419.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.3097, allocations: 235 kB / 419.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of Backend: time 6.22e-07/0.3097, allocations: 4 kB / 419.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3107, allocations: 444.5 kB / 419.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of SimCode: time 0.00139/0.3121, allocations: 1.352 MB / 421.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of Templates: time 0.008732/0.3209, allocations: 4.45 MB / 425.5 MB, free: 15.87 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