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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001975/0.001975, allocations: 114.8 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002352/0.002352, allocations: 204 kB / 19.41 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3318, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003979/0.3358, allocations: 3.244 MB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3375, allocations: 1.013 MB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3376, allocations: 4 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.3378, allocations: 59.36 kB / 414.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.3382, allocations: 130.9 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.3386, allocations: 155.7 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.3391, allocations: 493.9 kB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.3393, allocations: 131.1 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.3396, allocations: 191.3 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.3399, allocations: 207.1 kB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.34, allocations: 40 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3401, allocations: 79.95 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.3402, allocations: 99.61 kB / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.3404, allocations: 215 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.341, allocations: 0.4916 MB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.341, allocations: 0 / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.341, allocations: 0 / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.341, allocations: 0 / 416.5 MB, free: 11.03 MB / 334.1 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.001427/0.3425, allocations: 0.748 MB / 417.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3425, allocations: 12.03 kB / 417.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.3428, allocations: 56.36 kB / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.3432, allocations: 311.3 kB / 417.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.3432, allocations: 25.03 kB / 417.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.3433, allocations: 36.38 kB / 417.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.344, allocations: 349.3 kB / 418 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.344, allocations: 4 kB / 418 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.3441, allocations: 12 kB / 418 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3441, allocations: 8 kB / 418 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.3446, allocations: 234.5 kB / 418.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.3465, allocations: 1.166 MB / 419.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.3472, allocations: 287.5 kB / 419.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004917/0.3477, allocations: 217.1 kB / 419.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007711/0.3485, allocations: 1.109 MB / 421 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3485, allocations: 42.8 kB / 421 MB, free: 5.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.3485, allocations: 0 / 421 MB, free: 5.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001334/0.3498, allocations: 0.5365 MB / 421.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3499, allocations: 77.11 kB / 421.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.3503, allocations: 337.7 kB / 422 MB, free: 4.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.3504, allocations: 33.7 kB / 422 MB, free: 4.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3506, allocations: 216.2 kB / 422.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.3507, allocations: 98.61 kB / 422.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.3508, allocations: 69.97 kB / 422.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.351, allocations: 354.7 kB / 422.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3512, allocations: 104.7 kB / 422.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3515, allocations: 190 kB / 423 MB, free: 3.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.3521, allocations: 284.2 kB / 423.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3521, allocations: 0 / 423.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008134/0.3529, allocations: 437.1 kB / 423.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.353, allocations: 10.97 kB / 423.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.353, allocations: 0 / 423.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.3533, allocations: 68.81 kB / 423.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.3536, allocations: 75.89 kB / 423.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.3558, allocations: 1.951 MB / 425.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.356, allocations: 39.7 kB / 425.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.356, allocations: 12 kB / 425.9 MB, free: 0.8555 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.3562, allocations: 161.7 kB / 426 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.3563, allocations: 35.53 kB / 426.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.357, allocations: 330.2 kB / 426.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.357, allocations: 0 / 426.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.357, allocations: 0 / 426.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.3571, allocations: 128.5 kB / 426.5 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.3572, allocations: 7.984 kB / 426.5 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3574, allocations: 19.98 kB / 426.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.3575, allocations: 19.95 kB / 426.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001358/0.3588, allocations: 490.4 kB / 427.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009078/0.3598, allocations: 0.5723 MB / 427.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002158/0.36, allocations: 99.94 kB / 427.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.3602, allocations: 243.2 kB / 428 MB, free: 14.72 MB / 350.1 MB Notification: Performance of Backend: time 1.993e-06/0.3602, allocations: 0 / 428 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.3612, allocations: 440.8 kB / 428.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.001497/0.3628, allocations: 1.36 MB / 429.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Templates: time 0.009042/0.3718, allocations: 4.486 MB / 434.2 MB, free: 8.406 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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,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.continuous,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time