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.001439/0.001439, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.534/1.534, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0007988/0.0007988, allocations: 89.55 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003201, allocations: 8 kB / 329.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2214, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09227/0.3137, allocations: 79.21 MB / 456.2 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.314, allocations: 67.97 kB / 456.3 MB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02419/0.3382, allocations: 8.403 MB / 464.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3383, allocations: 0 / 464.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.3383, allocations: 8 kB / 464.7 MB, free: 8.816 MB / 346.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.001227/0.3395, allocations: 0.6625 MB / 465.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3396, allocations: 12.03 kB / 465.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3397, allocations: 48.38 kB / 465.4 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.3403, allocations: 307.4 kB / 465.7 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3404, allocations: 21.03 kB / 465.8 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.3404, allocations: 40.28 kB / 465.8 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006959/0.3412, allocations: 354.2 kB / 466.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3412, allocations: 8.188 kB / 466.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3412, allocations: 11.94 kB / 466.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3412, allocations: 8 kB / 466.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.3418, allocations: 242.5 kB / 466.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.3438, allocations: 1.191 MB / 467.6 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.3445, allocations: 295.5 kB / 467.9 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.345, allocations: 215.8 kB / 468.1 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008191/0.3458, allocations: 1.133 MB / 469.2 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3458, allocations: 30.8 kB / 469.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.595e-06/0.3458, allocations: 0 / 469.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001482/0.3473, allocations: 0.5638 MB / 469.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3474, allocations: 81.11 kB / 469.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.3478, allocations: 336.4 kB / 470.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.3478, allocations: 29.7 kB / 470.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.348, allocations: 216.1 kB / 470.5 MB, free: 2.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.3481, allocations: 102.5 kB / 470.6 MB, free: 2.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.3482, allocations: 4 kB / 470.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3483, allocations: 350.7 kB / 470.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.3486, allocations: 112.7 kB / 471 MB, free: 1.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.3489, allocations: 189.8 kB / 471.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.3494, allocations: 311.7 kB / 471.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3494, allocations: 0 / 471.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008417/0.3503, allocations: 445.1 kB / 472 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3503, allocations: 11.98 kB / 472 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3503, allocations: 192 / 472 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.3506, allocations: 68.81 kB / 472 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.3509, allocations: 71.91 kB / 472.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.3527, allocations: 1.756 MB / 473.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.353, allocations: 47.59 kB / 473.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.353, allocations: 20.17 kB / 473.9 MB, free: 14.87 MB / 362.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.0001977/0.3532, allocations: 153.7 kB / 474.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.3533, allocations: 43.45 kB / 474.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.3541, allocations: 350.7 kB / 474.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3541, allocations: 4 kB / 474.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3541, allocations: 11.98 kB / 474.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.3541, allocations: 0 / 474.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.3546, allocations: 397.2 kB / 474.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3546, allocations: 0 / 474.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.355, allocations: 59.89 kB / 474.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.3552, allocations: 64.75 kB / 475 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3552, allocations: 8 kB / 475 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004112/0.3556, allocations: 0.6108 MB / 475.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3556, allocations: 0 / 475.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.3566, allocations: 0.5444 MB / 476.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3567, allocations: 120.6 kB / 476.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.3567, allocations: 8 kB / 476.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.357, allocations: 23.98 kB / 476.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.3571, allocations: 15.97 kB / 476.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3571, allocations: 8 kB / 476.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.3573, allocations: 231.1 kB / 476.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3574, allocations: 4 kB / 476.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004627/0.3578, allocations: 115.8 kB / 476.7 MB, free: 11.98 MB / 362.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.0001996/0.358, allocations: 127.1 kB / 476.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00082/0.3589, allocations: 434.3 kB / 477.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3589, allocations: 0 / 477.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.3592, allocations: 152.3 kB / 477.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.3597, allocations: 41.36 kB / 477.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.3612, allocations: 1.047 MB / 478.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3616, allocations: 0.7914 MB / 479.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.3617, allocations: 30.97 kB / 479.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.3618, allocations: 35.36 kB / 479.3 MB, free: 9.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3618, allocations: 0 / 479.3 MB, free: 9.27 MB / 362.7 MB Notification: Performance of Templates: time 0.007813/0.3696, allocations: 3.6 MB / 482.9 MB, free: 5.691 MB / 362.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/jenkins1/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