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.001133/0.001133, allocations: 183.2 kB / 17.02 MB, free: 5.121 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.497/1.497, allocations: 205.4 MB / 223.1 MB, free: 9.141 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.0008084/0.0008084, allocations: 94.59 kB / 271.5 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002486, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2447, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09578/0.3405, allocations: 79.18 MB / 455 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.3409, allocations: 67.97 kB / 455.1 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02296/0.3638, allocations: 8.38 MB / 463.4 MB, free: 9.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3639, allocations: 0 / 463.4 MB, free: 9.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.3639, allocations: 8 kB / 463.4 MB, free: 9.051 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.001098/0.365, allocations: 0.6662 MB / 464.1 MB, free: 8.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3651, allocations: 12.03 kB / 464.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.3651, allocations: 43.44 kB / 464.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.3655, allocations: 302.2 kB / 464.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.3656, allocations: 24.66 kB / 464.5 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.3656, allocations: 39.98 kB / 464.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.3663, allocations: 353.7 kB / 464.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3663, allocations: 0 / 464.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.3663, allocations: 16 kB / 464.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3663, allocations: 8 kB / 464.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.3668, allocations: 246.5 kB / 465.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3687, allocations: 1.183 MB / 466.3 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.3694, allocations: 289.9 kB / 466.6 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.3702, allocations: 1.129 MB / 467.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3702, allocations: 30.8 kB / 467.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.3702, allocations: 0 / 467.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001117/0.3713, allocations: 0.5135 MB / 468.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3714, allocations: 81.11 kB / 468.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.3717, allocations: 291.7 kB / 468.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3717, allocations: 33.7 kB / 468.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3719, allocations: 220.1 kB / 468.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.372, allocations: 106.5 kB / 469 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.372, allocations: 4 kB / 469 MB, free: 2.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3721, allocations: 342.8 kB / 469.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.3723, allocations: 108.7 kB / 469.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.3726, allocations: 190 kB / 469.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3729, allocations: 136.1 kB / 469.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3729, allocations: 0 / 469.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006395/0.3735, allocations: 372.8 kB / 470.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3736, allocations: 11.95 kB / 470.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3736, allocations: 0 / 470.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3736, allocations: 4 kB / 470.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.374, allocations: 108.1 kB / 470.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.374, allocations: 0 / 470.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.3743, allocations: 43.59 kB / 470.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.3743, allocations: 23.92 kB / 470.3 MB, free: 1.629 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 () * 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.0001645/0.3745, allocations: 149.7 kB / 470.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.3746, allocations: 31.62 kB / 470.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.3754, allocations: 342.7 kB / 470.8 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3754, allocations: 7.938 kB / 470.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3754, allocations: 0 / 470.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3754, allocations: 11.97 kB / 470.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.3758, allocations: 385.2 kB / 471.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3759, allocations: 4 kB / 471.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.3762, allocations: 63.95 kB / 471.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.3764, allocations: 40.78 kB / 471.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3765, allocations: 8 kB / 471.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004102/0.3769, allocations: 0.5719 MB / 471.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3769, allocations: 0 / 471.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008457/0.3778, allocations: 0.5249 MB / 472.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.3779, allocations: 116.6 kB / 472.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.3779, allocations: 8 kB / 472.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3782, allocations: 27.98 kB / 472.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3783, allocations: 15.97 kB / 472.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3783, allocations: 8 kB / 472.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.3785, allocations: 235 kB / 472.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3785, allocations: 0 / 472.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.379, allocations: 107.8 kB / 472.9 MB, free: 14.86 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 (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.0002137/0.3792, allocations: 131.2 kB / 473.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.3797, allocations: 284.1 kB / 473.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3798, allocations: 4.062 kB / 473.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.3801, allocations: 135.9 kB / 473.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.3804, allocations: 37.38 kB / 473.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3819, allocations: 1.038 MB / 474.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3823, allocations: 0.7955 MB / 475.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000169/0.3825, allocations: 42.94 kB / 475.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.3826, allocations: 35.38 kB / 475.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3826, allocations: 0 / 475.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.006893/0.3895, allocations: 3.181 MB / 478.6 MB, free: 9.148 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/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