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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 201 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008092/0.0008091, allocations: 99.19 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003675, allocations: 12 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.3761, allocations: 81.63 MB / 491 MB, free: 9.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.3764, allocations: 75.95 kB / 491.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02374/0.4001, allocations: 8.771 MB / 499.9 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4001, allocations: 8 kB / 499.9 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.4002, allocations: 4 kB / 499.9 MB, free: 0.9766 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.001094/0.4013, allocations: 0.6702 MB / 0.4888 GB, free: 260 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4013, allocations: 8.031 kB / 0.4888 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.4015, allocations: 60.36 kB / 0.4889 GB, free: 192 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.402, allocations: 299.4 kB / 0.4892 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.402, allocations: 29.03 kB / 0.4892 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.4021, allocations: 44.27 kB / 0.4892 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.4027, allocations: 345.6 kB / 0.4896 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4028, allocations: 192 / 0.4896 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.4028, allocations: 15.94 kB / 0.4896 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4028, allocations: 12 kB / 0.4896 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.4033, allocations: 242.5 kB / 0.4898 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.4053, allocations: 1.186 MB / 0.491 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.4059, allocations: 291.5 kB / 0.4913 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.4064, allocations: 217.2 kB / 0.4915 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007586/0.4072, allocations: 1.125 MB / 0.4926 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4072, allocations: 38.8 kB / 0.4926 GB, free: 11.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.896e-06/0.4072, allocations: 0 / 0.4926 GB, free: 11.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001369/0.4086, allocations: 0.564 MB / 0.4931 GB, free: 11.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4087, allocations: 85.05 kB / 0.4932 GB, free: 11.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.409, allocations: 328.5 kB / 0.4935 GB, free: 10.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.4091, allocations: 29.7 kB / 0.4936 GB, free: 10.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4092, allocations: 216.1 kB / 0.4938 GB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.4093, allocations: 98.55 kB / 0.4939 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.4093, allocations: 8 kB / 0.4939 GB, free: 10.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4095, allocations: 350.7 kB / 0.4942 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.4097, allocations: 108.7 kB / 0.4943 GB, free: 10.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.41, allocations: 201.5 kB / 0.4945 GB, free: 9.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.4105, allocations: 300 kB / 0.4948 GB, free: 9.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4105, allocations: 0 / 0.4948 GB, free: 9.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007915/0.4113, allocations: 441.4 kB / 0.4952 GB, free: 9.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4114, allocations: 4 kB / 0.4952 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4114, allocations: 4 kB / 0.4952 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.4117, allocations: 76.69 kB / 0.4953 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.412, allocations: 79.89 kB / 0.4954 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.4138, allocations: 1.752 MB / 0.4971 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.4141, allocations: 47.73 kB / 0.4971 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.4141, allocations: 19.94 kB / 0.4971 GB, free: 7.031 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 (37): * Single equations (assignments): 36 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.4143, allocations: 153.7 kB / 0.4973 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.4144, allocations: 39.53 kB / 0.4973 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/0.4151, allocations: 354.2 kB / 0.4977 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4151, allocations: 4 kB / 0.4977 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4151, allocations: 0 / 0.4977 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4152, allocations: 3.984 kB / 0.4977 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.4156, allocations: 397.2 kB / 0.4981 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4157, allocations: 4 kB / 0.4981 GB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.416, allocations: 63.89 kB / 0.4981 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.4162, allocations: 57.08 kB / 0.4982 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.4162, allocations: 7.984 kB / 0.4982 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004165/0.4166, allocations: 0.603 MB / 0.4988 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4167, allocations: 4.031 kB / 0.4988 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.4176, allocations: 0.5523 MB / 0.4993 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4177, allocations: 116.6 kB / 0.4994 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.4178, allocations: 11.94 kB / 0.4994 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4181, allocations: 31.98 kB / 0.4995 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.4181, allocations: 19.97 kB / 0.4995 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.4182, allocations: 4 kB / 0.4995 GB, free: 4.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002388/0.4184, allocations: 239 kB / 0.4997 GB, free: 4.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4184, allocations: 0 / 0.4997 GB, free: 4.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.4189, allocations: 107.8 kB / 0.4998 GB, free: 4.148 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 (20): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002426/0.4191, allocations: 133.5 kB / 0.5 GB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.42, allocations: 434.8 kB / 0.5004 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.42, allocations: 0 / 0.5004 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.4204, allocations: 143.9 kB / 0.5005 GB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.4208, allocations: 49.86 kB / 0.5006 GB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4224, allocations: 1.039 MB / 0.5016 GB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.4228, allocations: 0.7914 MB / 0.5023 GB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.423, allocations: 38.95 kB / 0.5024 GB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.4231, allocations: 27.42 kB / 0.5024 GB, free: 1.441 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4231, allocations: 0 / 0.5024 GB, free: 1.441 MB / 378.7 MB Notification: Performance of Templates: time 0.2407/0.6638, allocations: 3.593 MB / 0.5059 GB, free: 96.03 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../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.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