Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 176.2 kB / 17.39 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 241.4 MB, free: 11.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008911, allocations: 92.62 kB / 292.6 MB, free: 10.74 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 11.94 kB / 352.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 50.4 MB / 402.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4104, allocations: 80.93 MB / 483.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4107, allocations: 67.97 kB / 483.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.4358, allocations: 8.689 MB / 492.4 MB, free: 6.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.4359, allocations: 0 / 492.4 MB, free: 6.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.4359, allocations: 8 kB / 492.4 MB, free: 6.586 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.001484/0.4374, allocations: 0.6664 MB / 493.1 MB, free: 5.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4375, allocations: 11.97 kB / 493.1 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.4376, allocations: 48.38 kB / 493.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.4381, allocations: 303.4 kB / 493.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.4381, allocations: 25.03 kB / 493.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.4382, allocations: 40.28 kB / 493.5 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.4389, allocations: 349.6 kB / 493.9 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4389, allocations: 4.125 kB / 493.9 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.439, allocations: 15.94 kB / 493.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.439, allocations: 8 kB / 493.9 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.4395, allocations: 250.4 kB / 494.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.4418, allocations: 1.182 MB / 495.3 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.4425, allocations: 291.5 kB / 495.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.443, allocations: 218.9 kB / 495.8 MB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009145/0.4439, allocations: 1.121 MB / 496.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.444, allocations: 34.8 kB / 497 MB, free: 1.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.326e-06/0.444, allocations: 4 kB / 497 MB, free: 1.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001596/0.4456, allocations: 0.5568 MB / 497.5 MB, free: 1.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.4457, allocations: 85.11 kB / 497.6 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.4461, allocations: 332.4 kB / 497.9 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.4461, allocations: 33.7 kB / 498 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.4463, allocations: 212.1 kB / 498.2 MB, free: 336 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.4464, allocations: 98.62 kB / 498.3 MB, free: 236 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.4464, allocations: 11.94 kB / 498.3 MB, free: 224 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4465, allocations: 346.7 kB / 498.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.4468, allocations: 116.7 kB / 498.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.4471, allocations: 181.8 kB / 498.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.4476, allocations: 312.6 kB / 499.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4476, allocations: 0 / 499.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008448/0.4484, allocations: 441.4 kB / 499.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4485, allocations: 4.938 kB / 499.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4485, allocations: 4 kB / 499.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.4488, allocations: 68.75 kB / 499.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.4491, allocations: 79.89 kB / 499.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.4512, allocations: 1.764 MB / 0.4898 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.4515, allocations: 43.53 kB / 0.4899 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.4516, allocations: 12 kB / 0.4899 GB, free: 12.66 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.0003376/0.4519, allocations: 157.8 kB / 0.49 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/0.452, allocations: 39.53 kB / 0.4901 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.4529, allocations: 354.5 kB / 0.4904 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4529, allocations: 7.984 kB / 0.4904 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4529, allocations: 0 / 0.4904 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.453, allocations: 7.984 kB / 0.4904 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.4536, allocations: 389.2 kB / 0.4908 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/0.4536, allocations: 4 kB / 0.4908 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.454, allocations: 59.89 kB / 0.4908 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.4542, allocations: 68.73 kB / 0.4909 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.4543, allocations: 8 kB / 0.4909 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000626/0.4549, allocations: 0.5953 MB / 0.4915 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.455, allocations: 0 / 0.4915 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4561, allocations: 0.5562 MB / 0.492 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.4563, allocations: 116.6 kB / 0.4922 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.4563, allocations: 8 kB / 0.4922 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.4566, allocations: 27.98 kB / 0.4922 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.4567, allocations: 15.98 kB / 0.4922 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.4567, allocations: 7.984 kB / 0.4922 GB, free: 10.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002771/0.457, allocations: 231.1 kB / 0.4924 GB, free: 9.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.457, allocations: 3.938 kB / 0.4924 GB, free: 9.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005389/0.4576, allocations: 107.8 kB / 0.4925 GB, free: 9.785 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.0002961/0.4579, allocations: 140 kB / 0.4927 GB, free: 9.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4589, allocations: 430.3 kB / 0.4931 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4589, allocations: 0.5 kB / 0.4931 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.4593, allocations: 148.3 kB / 0.4932 GB, free: 9.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.4598, allocations: 45.39 kB / 0.4933 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.4617, allocations: 1.047 MB / 0.4943 GB, free: 7.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.4622, allocations: 0.7953 MB / 0.4951 GB, free: 7.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.4625, allocations: 35.11 kB / 0.4951 GB, free: 7.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.4626, allocations: 27.44 kB / 0.4951 GB, free: 7.062 MB / 378.7 MB Notification: Performance of SimCode: time 4.7e-07/0.4626, allocations: 0 / 0.4951 GB, free: 7.062 MB / 378.7 MB Notification: Performance of Templates: time 0.0105/0.4731, allocations: 3.6 MB / 0.4986 GB, free: 3.492 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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