Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000909/0.0009091, allocations: 95.31 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.865e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08836, allocations: 51.48 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4201, allocations: 80.96 MB / 476.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4203, allocations: 68.19 kB / 476.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02177/0.4421, allocations: 8.708 MB / 484.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4422, allocations: 0 / 484.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4422, allocations: 8 kB / 484.9 MB, free: 4.969 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.0008296/0.443, allocations: 0.6267 MB / 485.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4431, allocations: 12.03 kB / 485.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.4433, allocations: 55.47 kB / 485.6 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.4436, allocations: 293.5 kB / 485.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4436, allocations: 15.61 kB / 485.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.4437, allocations: 27.47 kB / 485.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003352/0.444, allocations: 197.1 kB / 486.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.4444, allocations: 281.8 kB / 486.4 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4445, allocations: 4 kB / 486.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.4445, allocations: 7.984 kB / 486.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4445, allocations: 8 kB / 486.4 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.446, allocations: 1.097 MB / 487.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.4463, allocations: 228 kB / 487.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.4467, allocations: 187.3 kB / 487.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/0.4471, allocations: 1.124 MB / 489 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.4472, allocations: 42.36 kB / 489.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.543e-06/0.4472, allocations: 0 / 489.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004801/0.4477, allocations: 264 kB / 489.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4477, allocations: 81.11 kB / 489.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.4479, allocations: 242.5 kB / 489.7 MB, free: 428 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.4479, allocations: 25.7 kB / 489.7 MB, free: 396 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.448, allocations: 219.3 kB / 489.9 MB, free: 212 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.4481, allocations: 99.61 kB / 490 MB, free: 124 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.4481, allocations: 0 / 490 MB, free: 124 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4482, allocations: 344.1 kB / 490.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4484, allocations: 87.12 kB / 490.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.4486, allocations: 155.6 kB / 490.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4487, allocations: 104.9 kB / 490.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4488, allocations: 0 / 490.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005913/0.4494, allocations: 370.2 kB / 491 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4494, allocations: 4 kB / 491 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4494, allocations: 4 kB / 491 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.4496, allocations: 62.7 kB / 491.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.45, allocations: 83.83 kB / 491.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.4514, allocations: 1.697 MB / 492.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.4517, allocations: 35.73 kB / 492.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.4517, allocations: 19.73 kB / 492.9 MB, free: 13.45 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 () * 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.0001101/0.4518, allocations: 108.9 kB / 493 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.4519, allocations: 31.62 kB / 493.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.4524, allocations: 294.1 kB / 493.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4524, allocations: 4 kB / 493.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.4524, allocations: 0 / 493.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4524, allocations: 1.781 kB / 493.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.4528, allocations: 340.2 kB / 493.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4528, allocations: 0 / 493.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.4532, allocations: 59.89 kB / 493.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.4533, allocations: 66.09 kB / 493.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4534, allocations: 3.438 kB / 493.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003726/0.4537, allocations: 0.6081 MB / 494.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4538, allocations: 4.031 kB / 494.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.4543, allocations: 463.3 kB / 494.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.4544, allocations: 116.5 kB / 495 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.4545, allocations: 3.953 kB / 495 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.4547, allocations: 23.98 kB / 495 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.4548, allocations: 15.97 kB / 495 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4548, allocations: 7.75 kB / 495.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.455, allocations: 192.2 kB / 495.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.455, allocations: 3.938 kB / 495.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004702/0.4555, allocations: 107.7 kB / 495.3 MB, free: 11.25 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 () * 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.0002024/0.4557, allocations: 129.9 kB / 495.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005611/0.4562, allocations: 357.9 kB / 495.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4563, allocations: 0 / 495.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.4565, allocations: 112 kB / 495.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4567, allocations: 20.58 kB / 496 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009959/0.4577, allocations: 0.6651 MB / 496.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.458, allocations: 0.7991 MB / 497.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000155/0.4582, allocations: 37.92 kB / 497.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.4583, allocations: 27.42 kB / 497.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4583, allocations: 0 / 497.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of Templates: time 0.0068/0.4651, allocations: 3.123 MB / 0.4889 GB, free: 6.172 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_trunk_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.f,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time