Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002236/0.002236, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.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-beta.om/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=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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2276, allocations: 53.31 MB / 432.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004576/0.2322, allocations: 3.269 MB / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.234, allocations: 1.017 MB / 436.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.2341, allocations: 15.94 kB / 436.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2343, allocations: 63.36 kB / 436.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.2347, allocations: 123 kB / 436.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.235, allocations: 159.6 kB / 436.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.2355, allocations: 478 kB / 437.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.2357, allocations: 103.2 kB / 437.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.236, allocations: 199.2 kB / 437.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.2363, allocations: 207.1 kB / 437.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.2364, allocations: 40 kB / 437.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.2366, allocations: 75.97 kB / 437.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.59e-05/0.2366, allocations: 99.59 kB / 437.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.2368, allocations: 207 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.2374, allocations: 0.4995 MB / 438.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2374, allocations: 4 kB / 438.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2374, allocations: 0 / 438.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.2374, allocations: 4 kB / 438.6 MB, free: 0.6719 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.001435/0.2389, allocations: 0.7476 MB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2389, allocations: 16.02 kB / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.2391, allocations: 52.66 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.2396, allocations: 311.5 kB / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2396, allocations: 25.03 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.2397, allocations: 36.38 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.2403, allocations: 357.3 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2403, allocations: 0 / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.2404, allocations: 12 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.2404, allocations: 11.94 kB / 440.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.2409, allocations: 234.5 kB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.243, allocations: 1.178 MB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.2436, allocations: 267.5 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.2442, allocations: 197.3 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009223/0.2451, allocations: 1.117 MB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2451, allocations: 34.8 kB / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/0.2451, allocations: 0 / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001408/0.2465, allocations: 0.5328 MB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.2466, allocations: 81.11 kB / 443.8 MB, free: 11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.247, allocations: 337.7 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.247, allocations: 33.7 kB / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2472, allocations: 220.5 kB / 444.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.2473, allocations: 107.1 kB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2474, allocations: 74.02 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2476, allocations: 350.7 kB / 444.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.2478, allocations: 100.7 kB / 445 MB, free: 9.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.2481, allocations: 186 kB / 445.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.2487, allocations: 288 kB / 445.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2487, allocations: 0 / 445.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000845/0.2495, allocations: 437 kB / 445.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2495, allocations: 10.66 kB / 445.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2495, allocations: 0 / 445.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.2498, allocations: 69.06 kB / 445.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.2502, allocations: 79.83 kB / 446 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.2524, allocations: 1.959 MB / 448 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.2527, allocations: 43.8 kB / 448 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.2527, allocations: 11.98 kB / 448 MB, free: 6.496 MB / 350.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.0001873/0.2529, allocations: 153.7 kB / 448.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.253, allocations: 39.77 kB / 448.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/0.2537, allocations: 330.3 kB / 448.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2537, allocations: 0 / 448.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2537, allocations: 0 / 448.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2538, allocations: 120.7 kB / 448.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.2539, allocations: 8 kB / 448.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.2542, allocations: 19.98 kB / 448.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.2542, allocations: 20.14 kB / 448.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001471/0.2557, allocations: 486.5 kB / 449.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009731/0.2567, allocations: 0.5842 MB / 449.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00024/0.2569, allocations: 91.94 kB / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.2572, allocations: 243.2 kB / 450.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2572, allocations: 0 / 450.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.2583, allocations: 420.8 kB / 450.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of SimCode: time 0.001723/0.26, allocations: 1.366 MB / 451.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Templates: time 0.01014/0.2702, allocations: 4.689 MB / 456.6 MB, free: 13.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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,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 [Calling sys.exit(0), Time elapsed: 4.402882336173207]