Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 96.5 kB / 17.3 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 176.4 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004293, allocations: 11.94 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09595/0.09639, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003051/0.09949, allocations: 2.851 MB / 331.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1011, allocations: 0.9752 MB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1012, allocations: 7.938 kB / 332.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1014, allocations: 43.66 kB / 332.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.1018, allocations: 115.1 kB / 332.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.102, allocations: 119.8 kB / 333.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.1024, allocations: 462 kB / 333.5 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1027, allocations: 111.8 kB / 333.6 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.1029, allocations: 163.3 kB / 333.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1031, allocations: 187.1 kB / 334 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.1032, allocations: 20 kB / 334 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1033, allocations: 55.97 kB / 334 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.1034, allocations: 79.61 kB / 334.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.1036, allocations: 216.6 kB / 334.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.104, allocations: 474.5 kB / 334.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1041, allocations: 0 / 334.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1041, allocations: 0 / 334.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1041, allocations: 0 / 334.8 MB, free: 13.88 MB / 286.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.001266/0.1054, allocations: 0.6781 MB / 335.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1054, allocations: 8.031 kB / 335.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.1055, allocations: 48.38 kB / 335.5 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1059, allocations: 307.3 kB / 335.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.1059, allocations: 25.03 kB / 335.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.106, allocations: 36.38 kB / 335.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.1068, allocations: 365.3 kB / 336.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1068, allocations: 0 / 336.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.1068, allocations: 15.94 kB / 336.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1068, allocations: 8 kB / 336.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.1074, allocations: 246.5 kB / 336.5 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.1094, allocations: 1.182 MB / 337.7 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.1102, allocations: 303.5 kB / 338 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.1107, allocations: 221.2 kB / 338.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008277/0.1115, allocations: 1.113 MB / 339.3 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1116, allocations: 42.8 kB / 339.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.1116, allocations: 0 / 339.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001365/0.113, allocations: 0.5514 MB / 339.9 MB, free: 8.277 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.113, allocations: 81.11 kB / 340 MB, free: 8.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1134, allocations: 345.6 kB / 340.3 MB, free: 7.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1134, allocations: 33.7 kB / 340.4 MB, free: 7.797 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1137, allocations: 212.2 kB / 340.6 MB, free: 7.586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.1137, allocations: 98.56 kB / 340.7 MB, free: 7.488 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.1138, allocations: 41.69 kB / 340.7 MB, free: 7.441 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.114, allocations: 350.7 kB / 341 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.1142, allocations: 108.7 kB / 341.2 MB, free: 6.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.1146, allocations: 189.8 kB / 341.3 MB, free: 6.766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.1151, allocations: 311.1 kB / 341.6 MB, free: 6.434 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1151, allocations: 0 / 341.6 MB, free: 6.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008956/0.116, allocations: 449.3 kB / 342.1 MB, free: 5.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1161, allocations: 8 kB / 342.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.1161, allocations: 4 kB / 342.1 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.1164, allocations: 72.75 kB / 342.2 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.1167, allocations: 75.89 kB / 342.2 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.1186, allocations: 1.768 MB / 344 MB, free: 3.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.1189, allocations: 47.58 kB / 344.1 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.1189, allocations: 16 kB / 344.1 MB, free: 3.863 MB / 286.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.0002049/0.1192, allocations: 149.7 kB / 344.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.1192, allocations: 39.62 kB / 344.3 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008019/0.12, allocations: 338.3 kB / 344.6 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1201, allocations: 4 kB / 344.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1201, allocations: 4 kB / 344.6 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1201, allocations: 3.984 kB / 344.6 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.1206, allocations: 389.2 kB / 345 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1206, allocations: 0 / 345 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.1209, allocations: 59.95 kB / 345 MB, free: 2.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.1211, allocations: 68.73 kB / 345.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1211, allocations: 8 kB / 345.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004568/0.1216, allocations: 0.603 MB / 345.7 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1216, allocations: 8.016 kB / 345.7 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.1226, allocations: 0.5366 MB / 346.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1228, allocations: 136.6 kB / 346.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.1228, allocations: 12 kB / 346.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.1231, allocations: 23.98 kB / 346.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.1232, allocations: 15.97 kB / 346.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1232, allocations: 8 kB / 346.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.1234, allocations: 243.2 kB / 346.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1234, allocations: 0 / 346.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.124, allocations: 111.8 kB / 346.8 MB, free: 1.004 MB / 286.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.0002474/0.1243, allocations: 131.2 kB / 346.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008711/0.1251, allocations: 426.3 kB / 347.3 MB, free: 444 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.1252, allocations: 0 / 347.3 MB, free: 444 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.1255, allocations: 148.3 kB / 347.5 MB, free: 296 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.126, allocations: 53.3 kB / 347.5 MB, free: 240 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1276, allocations: 1.074 MB / 348.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.1281, allocations: 0.795 MB / 349.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.1282, allocations: 42.89 kB / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1283, allocations: 27.42 kB / 349.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1283, allocations: 0 / 349.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Templates: time 0.008402/0.1368, allocations: 3.711 MB / 353.2 MB, free: 10.54 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_3.2.3_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.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time