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.001349/0.001349, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 93.92 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.824e-05, allocations: 4 kB / 322.5 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 47.56 MB / 370 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.5043, allocations: 79.07 MB / 449.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.5047, allocations: 69.66 kB / 449.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.5286, allocations: 8.4 MB / 457.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5286, allocations: 0 / 457.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.5286, allocations: 8 kB / 457.6 MB, free: 7.059 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.001056/0.5297, allocations: 0.6107 MB / 458.2 MB, free: 6.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.5298, allocations: 12.03 kB / 458.2 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5299, allocations: 50.44 kB / 458.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.5303, allocations: 296.8 kB / 458.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.5304, allocations: 28.34 kB / 458.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.5304, allocations: 43.16 kB / 458.6 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.531, allocations: 322.6 kB / 458.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.531, allocations: 0 / 458.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.5311, allocations: 15.25 kB / 458.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5311, allocations: 8 kB / 458.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.5315, allocations: 207.9 kB / 459.1 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.5335, allocations: 1.184 MB / 460.3 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.534, allocations: 247.8 kB / 460.6 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.5344, allocations: 194.5 kB / 460.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008464/0.5353, allocations: 1.129 MB / 461.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.5353, allocations: 38.73 kB / 461.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/0.5353, allocations: 3.984 kB / 461.9 MB, free: 2.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006238/0.536, allocations: 293.5 kB / 462.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.536, allocations: 85.11 kB / 462.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.5364, allocations: 290.8 kB / 462.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.5364, allocations: 33.7 kB / 462.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.5366, allocations: 212.1 kB / 462.8 MB, free: 1.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.5366, allocations: 102.5 kB / 462.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.5367, allocations: 8 kB / 462.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5368, allocations: 350.8 kB / 463.3 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.537, allocations: 88.73 kB / 463.4 MB, free: 1.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.5372, allocations: 169.8 kB / 463.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.5374, allocations: 112.1 kB / 463.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5374, allocations: 0 / 463.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006422/0.5381, allocations: 397.5 kB / 464 MB, free: 348 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5381, allocations: 7.438 kB / 464 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5381, allocations: 4 kB / 464 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.5384, allocations: 76.88 kB / 464.1 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.5388, allocations: 79.89 kB / 464.2 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.5406, allocations: 1.749 MB / 465.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.5409, allocations: 43.64 kB / 466 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.541, allocations: 16 kB / 466 MB, free: 14.23 MB / 346.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 0.0001344/0.5411, allocations: 128.8 kB / 466.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.5412, allocations: 35.53 kB / 466.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/0.5418, allocations: 310.8 kB / 466.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5419, allocations: 8 kB / 466.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.5419, allocations: 0 / 466.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5419, allocations: 3.984 kB / 466.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.5424, allocations: 393.2 kB / 466.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5424, allocations: 0 / 466.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.5428, allocations: 59.89 kB / 466.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.543, allocations: 60.83 kB / 467 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.543, allocations: 15.98 kB / 467 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004683/0.5435, allocations: 0.5992 MB / 467.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5435, allocations: 0 / 467.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.5442, allocations: 0.4927 MB / 468.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.5443, allocations: 112.7 kB / 468.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.5444, allocations: 11.94 kB / 468.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.5446, allocations: 27.97 kB / 468.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.5447, allocations: 15.98 kB / 468.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.5447, allocations: 7.984 kB / 468.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.545, allocations: 234.2 kB / 468.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.545, allocations: 0 / 468.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004548/0.5454, allocations: 111.8 kB / 468.6 MB, free: 11.49 MB / 346.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.00021/0.5456, allocations: 135.2 kB / 468.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000642/0.5463, allocations: 382.8 kB / 469.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5463, allocations: 0 / 469.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.5465, allocations: 131.9 kB / 469.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.5468, allocations: 33.16 kB / 469.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.5478, allocations: 0.6781 MB / 469.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.5482, allocations: 0.7994 MB / 470.7 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.5483, allocations: 30.97 kB / 470.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.5484, allocations: 35.42 kB / 470.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5484, allocations: 0 / 470.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of Templates: time 0.00762/0.556, allocations: 3.587 MB / 474.4 MB, free: 5.625 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,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.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time