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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 101 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002745, allocations: 11.94 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2661, allocations: 50.41 MB / 401.5 MB, free: 32.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.3757, allocations: 80.88 MB / 482.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.376, allocations: 67.97 kB / 482.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.3992, allocations: 8.686 MB / 491.1 MB, free: 6.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3992, allocations: 0 / 491.1 MB, free: 6.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.3992, allocations: 4 kB / 491.1 MB, free: 6.754 MB / 362.7 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.001178/0.4004, allocations: 0.6701 MB / 491.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4005, allocations: 8.031 kB / 491.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.379e-05/0.4006, allocations: 51.38 kB / 491.9 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.401, allocations: 294.3 kB / 492.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.401, allocations: 28.66 kB / 492.2 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.4011, allocations: 32 kB / 492.2 MB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.4017, allocations: 352.9 kB / 492.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4018, allocations: 4 kB / 492.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.4018, allocations: 8 kB / 492.6 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.4018, allocations: 12 kB / 492.6 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.4023, allocations: 242.5 kB / 492.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.4042, allocations: 1.186 MB / 494 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.4049, allocations: 291.7 kB / 494.3 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009368/0.4059, allocations: 1.125 MB / 495.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4059, allocations: 38.8 kB / 495.5 MB, free: 1.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.114e-06/0.4059, allocations: 0 / 495.5 MB, free: 1.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001298/0.4072, allocations: 0.4925 MB / 495.9 MB, free: 1.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.4073, allocations: 89 kB / 496 MB, free: 1.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.4077, allocations: 303.7 kB / 496.3 MB, free: 1.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4077, allocations: 33.64 kB / 496.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4079, allocations: 216 kB / 496.6 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.408, allocations: 102.6 kB / 496.7 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.408, allocations: 12 kB / 496.7 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4082, allocations: 342.8 kB / 497 MB, free: 360 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4084, allocations: 108.7 kB / 497.1 MB, free: 248 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.4087, allocations: 185.8 kB / 497.3 MB, free: 32 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.409, allocations: 136 kB / 497.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.409, allocations: 4 kB / 497.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006334/0.4097, allocations: 381.2 kB / 497.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4097, allocations: 8 kB / 497.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4097, allocations: 4 kB / 497.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4097, allocations: 4 kB / 497.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.4101, allocations: 95.88 kB / 497.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4102, allocations: 4 kB / 497.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.4104, allocations: 47.55 kB / 498 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4105, allocations: 23.98 kB / 498 MB, free: 15.33 MB / 378.7 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.4107, allocations: 152.6 kB / 498.1 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.4107, allocations: 35.62 kB / 498.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/0.4114, allocations: 330.5 kB / 498.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4114, allocations: 4 kB / 498.5 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.4114, allocations: 3.953 kB / 498.5 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4115, allocations: 7.922 kB / 498.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.4119, allocations: 389.2 kB / 498.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4119, allocations: 0 / 498.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.4123, allocations: 59.95 kB / 499 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.4125, allocations: 48.83 kB / 499 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.4126, allocations: 8 kB / 499 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004285/0.413, allocations: 0.5718 MB / 499.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.413, allocations: 0 / 499.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.4138, allocations: 0.516 MB / 0.4884 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.414, allocations: 124.5 kB / 0.4885 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.414, allocations: 8 kB / 0.4885 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4143, allocations: 19.98 kB / 0.4885 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.4143, allocations: 23.95 kB / 0.4885 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4144, allocations: 8 kB / 0.4886 GB, free: 12.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.4146, allocations: 239 kB / 0.4888 GB, free: 12.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4146, allocations: 0 / 0.4888 GB, free: 12.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004007/0.415, allocations: 103.8 kB / 0.4889 GB, free: 12.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.4153, allocations: 123.2 kB / 0.489 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.4158, allocations: 283.6 kB / 0.4893 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4159, allocations: 3.938 kB / 0.4893 GB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.4162, allocations: 144.8 kB / 0.4894 GB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.4166, allocations: 37.42 kB / 0.4894 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.418, allocations: 1.039 MB / 0.4905 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.4184, allocations: 0.7955 MB / 0.4912 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.4186, allocations: 42.94 kB / 0.4913 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.4187, allocations: 23.44 kB / 0.4913 GB, free: 10.03 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4187, allocations: 0 / 0.4913 GB, free: 10.03 MB / 378.7 MB Notification: Performance of Templates: time 0.00717/0.4259, allocations: 3.186 MB / 0.4944 GB, free: 6.875 MB / 378.7 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","../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