Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002548/0.002548, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,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.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,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.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.788e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004723/0.004751, allocations: 2.977 MB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.006998, allocations: 0.9632 MB / 329 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.007165, allocations: 4.438 kB / 329 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.00736, allocations: 68.66 kB / 329.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.007761, allocations: 129.9 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.008176, allocations: 163.9 kB / 329.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005957/0.008771, allocations: 0.4986 MB / 329.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.009029, allocations: 91.28 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.009552, allocations: 280 kB / 330.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.009826, allocations: 160.7 kB / 330.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.009903, allocations: 38.19 kB / 330.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.01011, allocations: 71.77 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.01023, allocations: 92.66 kB / 330.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.01045, allocations: 147.2 kB / 330.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.01114, allocations: 0.5218 MB / 331.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01115, allocations: 1.031 kB / 331.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01115, allocations: 0 / 331.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.01116, allocations: 0 / 331.3 MB, free: 12.64 MB / 302.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.001387/0.01254, allocations: 0.6583 MB / 331.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01258, allocations: 9.156 kB / 331.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.01278, allocations: 60.8 kB / 332 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.01321, allocations: 262.7 kB / 332.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.01324, allocations: 22.53 kB / 332.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.01332, allocations: 38.81 kB / 332.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.01408, allocations: 445.4 kB / 332.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.01409, allocations: 192 / 332.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.01413, allocations: 15.69 kB / 332.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01414, allocations: 11.66 kB / 332.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.01467, allocations: 227.5 kB / 333 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.01658, allocations: 0.9854 MB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.01725, allocations: 240.4 kB / 334.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.0178, allocations: 206.8 kB / 334.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/0.01813, allocations: 65 kB / 334.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.01817, allocations: 38.52 kB / 334.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.442e-06/0.01817, allocations: 0 / 334.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.00136/0.01953, allocations: 441.8 kB / 334.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.01959, allocations: 79.89 kB / 335 MB, free: 9.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.01992, allocations: 299.5 kB / 335.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.01996, allocations: 31.11 kB / 335.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.02013, allocations: 225 kB / 335.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.02023, allocations: 109.8 kB / 335.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.02035, allocations: 73.22 kB / 335.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.02053, allocations: 341.6 kB / 336.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.02077, allocations: 97.2 kB / 336.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.0211, allocations: 217.8 kB / 336.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.02164, allocations: 281.7 kB / 336.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02164, allocations: 0 / 336.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008525/0.0225, allocations: 426.1 kB / 337.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.02251, allocations: 6.781 kB / 337.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.02252, allocations: 2.219 kB / 337.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.02279, allocations: 68.97 kB / 337.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.02312, allocations: 69.06 kB / 337.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.02514, allocations: 1.8 MB / 339 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.02542, allocations: 46.03 kB / 339.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.02545, allocations: 10.81 kB / 339.1 MB, free: 6.652 MB / 302.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.0001784/0.02563, allocations: 152.7 kB / 339.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.02569, allocations: 31.72 kB / 339.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/0.02647, allocations: 324.6 kB / 339.6 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.02648, allocations: 7.984 kB / 339.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.02648, allocations: 4 kB / 339.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.02649, allocations: 0 / 339.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.0269, allocations: 280.9 kB / 339.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0269, allocations: 0 / 339.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.02725, allocations: 55.91 kB / 339.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.02746, allocations: 57 kB / 340 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.02748, allocations: 8 kB / 340 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005119/0.02799, allocations: 0.6149 MB / 340.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.028, allocations: 3.984 kB / 340.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009952/0.02899, allocations: 0.4896 MB / 341.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.02905, allocations: 39.73 kB / 341.1 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.0291, allocations: 11.94 kB / 341.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.02937, allocations: 24.05 kB / 341.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.02943, allocations: 11.97 kB / 341.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.02946, allocations: 16 kB / 341.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.02968, allocations: 211 kB / 341.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02969, allocations: 0 / 341.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.03015, allocations: 111.8 kB / 341.5 MB, free: 4.199 MB / 302.1 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002378/0.03039, allocations: 130 kB / 341.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008526/0.03125, allocations: 398.1 kB / 342 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03125, allocations: 0 / 342 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.03161, allocations: 119.9 kB / 342.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.03196, allocations: 40.92 kB / 342.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.03328, allocations: 0.7459 MB / 342.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.03345, allocations: 186.5 kB / 343.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.03359, allocations: 34.95 kB / 343.1 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.03367, allocations: 28.5 kB / 343.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.03367, allocations: 0 / 343.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of Templates: time 0.009081/0.04275, allocations: 3.604 MB / 346.8 MB, free: 14.91 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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.continuous,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.61533223092556]