Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001941/0.001941, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007906/0.0007906, allocations: 74.73 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.011e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.0909, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.3843, allocations: 78.65 MB / 441.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.3845, allocations: 70.39 kB / 441.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02264/0.4072, allocations: 8.316 MB / 450.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4072, allocations: 0 / 450.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.4073, allocations: 8 kB / 450.1 MB, free: 10.09 MB / 330.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.0009286/0.4082, allocations: 0.6168 MB / 450.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4082, allocations: 8.031 kB / 450.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.4083, allocations: 55.38 kB / 450.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.4087, allocations: 295.3 kB / 451.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4087, allocations: 8 kB / 451.1 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.4088, allocations: 23.91 kB / 451.1 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003285/0.4091, allocations: 195 kB / 451.3 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.4096, allocations: 282.1 kB / 451.6 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4096, allocations: 3.938 kB / 451.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.4096, allocations: 0 / 451.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4096, allocations: 8 kB / 451.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.4114, allocations: 1.111 MB / 452.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.4118, allocations: 238.5 kB / 452.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.4121, allocations: 183.6 kB / 453.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007766/0.4129, allocations: 1.124 MB / 454.2 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.413, allocations: 34.23 kB / 454.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.195e-06/0.413, allocations: 0 / 454.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005707/0.4136, allocations: 271.2 kB / 454.5 MB, free: 5.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4136, allocations: 81.11 kB / 454.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.4139, allocations: 242.1 kB / 454.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4139, allocations: 25.7 kB / 454.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4141, allocations: 215.9 kB / 455.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.366e-05/0.4142, allocations: 104.7 kB / 455.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.4142, allocations: 0 / 455.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4143, allocations: 342.6 kB / 455.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4145, allocations: 77.75 kB / 455.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.4146, allocations: 164.3 kB / 455.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.4148, allocations: 102.8 kB / 455.9 MB, free: 4.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4148, allocations: 0 / 455.9 MB, free: 4.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005809/0.4154, allocations: 367.5 kB / 456.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4155, allocations: 4 kB / 456.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4155, allocations: 4 kB / 456.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.4157, allocations: 62.95 kB / 456.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.4161, allocations: 79.64 kB / 456.4 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.4176, allocations: 1.698 MB / 458.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.4178, allocations: 39.64 kB / 458.1 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.4179, allocations: 19.44 kB / 458.1 MB, free: 2.555 MB / 330.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 () * 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 9.771e-05/0.418, allocations: 112.9 kB / 458.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.418, allocations: 31.62 kB / 458.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.4186, allocations: 292.9 kB / 458.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4186, allocations: 8 kB / 458.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.4186, allocations: 0 / 458.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4186, allocations: 3.984 kB / 458.6 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.419, allocations: 333.2 kB / 458.9 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.419, allocations: 4 kB / 458.9 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.4193, allocations: 63.83 kB / 459 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.4195, allocations: 59.41 kB / 459 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4195, allocations: 4 kB / 459 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003884/0.4199, allocations: 0.6036 MB / 459.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4199, allocations: 0 / 459.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.4205, allocations: 474.9 kB / 460.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.4206, allocations: 111.8 kB / 460.2 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.4207, allocations: 3.953 kB / 460.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.4209, allocations: 19.98 kB / 460.2 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.421, allocations: 23.72 kB / 460.2 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.421, allocations: 11.56 kB / 460.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4212, allocations: 189.6 kB / 460.4 MB, free: 476 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4212, allocations: 0 / 460.4 MB, free: 476 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004362/0.4216, allocations: 103.7 kB / 460.5 MB, free: 372 kB / 330.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 () * 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.0002071/0.4218, allocations: 123.2 kB / 460.7 MB, free: 236 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.4224, allocations: 357.3 kB / 461 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4224, allocations: 0 / 461 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.4226, allocations: 113.8 kB / 461.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.4229, allocations: 28.08 kB / 461.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009959/0.4239, allocations: 0.673 MB / 461.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4242, allocations: 0.8028 MB / 462.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.4244, allocations: 35.27 kB / 462.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.4245, allocations: 31.05 kB / 462.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4245, allocations: 0 / 462.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of Templates: time 0.006453/0.4309, allocations: 3.116 MB / 465.8 MB, free: 11.2 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_3.2.3_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,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.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.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_ref,resistor2.alpha,sineVoltage.V,sineVoltage.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time