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.00129/0.00129, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001493/0.001493, allocations: 208.7 kB / 24.48 MB, free: 3.969 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 7.809 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+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 0.001577/0.001577, allocations: 55.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2171, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004188/0.2212, allocations: 2.972 MB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2228, allocations: 0.9585 MB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.223, allocations: 4 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.2231, allocations: 63.36 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.2235, allocations: 130.9 kB / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.2238, allocations: 155.6 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.2243, allocations: 489.9 kB / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2245, allocations: 103.3 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.2248, allocations: 191.3 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.225, allocations: 215 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.2251, allocations: 40 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2252, allocations: 79.97 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.2253, allocations: 87.75 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.2255, allocations: 183.1 kB / 438 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.226, allocations: 0.5009 MB / 438.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.226, allocations: 0 / 438.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.226, allocations: 0 / 438.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.226, allocations: 0 / 438.5 MB, free: 0.5781 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.001377/0.2274, allocations: 0.663 MB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2275, allocations: 8.031 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.2277, allocations: 56.64 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.2281, allocations: 253.3 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.2281, allocations: 25.03 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/0.2282, allocations: 40.33 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.2289, allocations: 445.9 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2289, allocations: 0 / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.2289, allocations: 16 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.229, allocations: 8 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.2295, allocations: 226.5 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2313, allocations: 0.9921 MB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.232, allocations: 251.4 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.2325, allocations: 197.1 kB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.2328, allocations: 68.16 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.2328, allocations: 42.8 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.2329, allocations: 0 / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001363/0.2342, allocations: 456.5 kB / 442.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.2343, allocations: 77.11 kB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.2346, allocations: 296.5 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.2346, allocations: 37.64 kB / 442.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2348, allocations: 216.4 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.2349, allocations: 107.1 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.235, allocations: 70.03 kB / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2351, allocations: 346.8 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.2354, allocations: 96.7 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.2357, allocations: 203.5 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.2362, allocations: 280.6 kB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2362, allocations: 0 / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008358/0.2371, allocations: 417.4 kB / 444.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2371, allocations: 8 kB / 444.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2371, allocations: 7.938 kB / 444.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000275/0.2374, allocations: 73 kB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.2377, allocations: 71.89 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.2396, allocations: 1.809 MB / 446.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.2399, allocations: 35.81 kB / 446.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.2399, allocations: 12 kB / 446.3 MB, free: 8.348 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.0001772/0.2401, allocations: 157.7 kB / 446.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.2402, allocations: 27.81 kB / 446.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007564/0.2409, allocations: 325.4 kB / 446.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2409, allocations: 0 / 446.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2409, allocations: 0 / 446.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.241, allocations: 35.72 kB / 446.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.241, allocations: 8 kB / 446.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.2413, allocations: 15.98 kB / 446.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.2414, allocations: 23.95 kB / 446.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00145/0.2428, allocations: 450.6 kB / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009228/0.2437, allocations: 0.5569 MB / 447.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002333/0.244, allocations: 87.94 kB / 448 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.2442, allocations: 211.1 kB / 448.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Backend: time 3.4e-07/0.2442, allocations: 0 / 448.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.2452, allocations: 419.4 kB / 448.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of SimCode: time 0.00154/0.2468, allocations: 1.348 MB / 449.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Templates: time 0.009613/0.2564, allocations: 4.94 MB / 454.9 MB, free: 15.7 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/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.506673614007013]