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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.001613/0.001613, allocations: 201 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.4 MB / 251.6 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.91 kB / 365.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1223, allocations: 50.55 MB / 416.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005521/0.1279, allocations: 3.24 MB / 419.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1304, allocations: 1.021 MB / 420.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.1307, allocations: 8 kB / 420.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.131, allocations: 59.36 kB / 420.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.1315, allocations: 127 kB / 420.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1319, allocations: 159.6 kB / 420.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.1325, allocations: 482 kB / 421.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.1329, allocations: 135.1 kB / 421.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.1332, allocations: 191.3 kB / 421.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.1335, allocations: 211 kB / 421.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.1336, allocations: 40 kB / 421.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1338, allocations: 79.95 kB / 421.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1339, allocations: 91.73 kB / 421.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.1342, allocations: 214.9 kB / 422.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006829/0.1349, allocations: 0.5018 MB / 422.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1349, allocations: 4 kB / 422.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1349, allocations: 0 / 422.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1349, allocations: 0 / 422.6 MB, free: 6.609 MB / 350.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.00145/0.1364, allocations: 0.7477 MB / 423.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1364, allocations: 12.03 kB / 423.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.1367, allocations: 56.64 kB / 423.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.1372, allocations: 315.4 kB / 423.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.1372, allocations: 29.03 kB / 423.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.1373, allocations: 36.38 kB / 423.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.138, allocations: 357.3 kB / 424.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.138, allocations: 0 / 424.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1381, allocations: 12 kB / 424.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1381, allocations: 8 kB / 424.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.1386, allocations: 234.5 kB / 424.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.1406, allocations: 1.163 MB / 425.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.1414, allocations: 291.5 kB / 425.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.1419, allocations: 211 kB / 426 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009475/0.1429, allocations: 1.113 MB / 427.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1429, allocations: 38.8 kB / 427.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.1429, allocations: 3.938 kB / 427.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00141/0.1443, allocations: 0.5367 MB / 427.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1444, allocations: 81.11 kB / 427.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.1448, allocations: 341.6 kB / 428.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1448, allocations: 33.7 kB / 428.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.145, allocations: 216.5 kB / 428.4 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.1451, allocations: 107.1 kB / 428.5 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1453, allocations: 74.02 kB / 428.5 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1454, allocations: 350.7 kB / 428.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1457, allocations: 100.7 kB / 429 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.146, allocations: 186 kB / 429.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.1466, allocations: 287.6 kB / 429.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1466, allocations: 0 / 429.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008378/0.1474, allocations: 433.8 kB / 429.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1474, allocations: 4 kB / 429.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.1475, allocations: 8.25 kB / 429.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.1477, allocations: 72.75 kB / 430 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.1481, allocations: 75.89 kB / 430 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.1502, allocations: 1.963 MB / 432 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.1505, allocations: 39.72 kB / 432 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.1505, allocations: 16 kB / 432 MB, free: 12.4 MB / 366.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.0001874/0.1507, allocations: 157.7 kB / 432.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.1508, allocations: 35.77 kB / 432.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.1515, allocations: 330.4 kB / 432.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1516, allocations: 4 kB / 432.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1516, allocations: 3.938 kB / 432.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1516, allocations: 3.984 kB / 432.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1521, allocations: 393.3 kB / 432.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1521, allocations: 0 / 432.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.1524, allocations: 51.95 kB / 433 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.1526, allocations: 64.81 kB / 433.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.1527, allocations: 15.92 kB / 433.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004702/0.1532, allocations: 0.5992 MB / 433.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1532, allocations: 0 / 433.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.1541, allocations: 0.5328 MB / 434.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.1542, allocations: 112.8 kB / 434.3 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.1543, allocations: 8 kB / 434.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.1546, allocations: 23.98 kB / 434.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.1546, allocations: 15.98 kB / 434.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.1547, allocations: 7.984 kB / 434.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.1549, allocations: 239.2 kB / 434.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1549, allocations: 0 / 434.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.1554, allocations: 115.8 kB / 434.7 MB, free: 9.586 MB / 366.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.0002447/0.1556, allocations: 131.1 kB / 434.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008659/0.1565, allocations: 426.3 kB / 435.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1565, allocations: 0 / 435.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.1569, allocations: 136.5 kB / 435.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1573, allocations: 53.36 kB / 435.5 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.1587, allocations: 0.8665 MB / 436.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.1592, allocations: 0.7912 MB / 437.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.1593, allocations: 38.95 kB / 437.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.1594, allocations: 31.42 kB / 437.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1594, allocations: 0 / 437.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of Templates: time 0.009076/0.1685, allocations: 4.01 MB / 441.2 MB, free: 3.074 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.0819982113316655]