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.001362/0.001363, allocations: 96.44 kB / 16.94 MB, free: 6.441 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.001562/0.001562, allocations: 189.3 kB / 17.83 MB, free: 6.008 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.546/1.546, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004379/0.000438, allocations: 15.28 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00297/0.1078, allocations: 2.55 MB / 330.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1095, allocations: 0.9525 MB / 331.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.1097, allocations: 4 kB / 331.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1098, allocations: 43.67 kB / 331.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.1103, allocations: 143.6 kB / 332 MB, free: 384 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1107, allocations: 107.8 kB / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1111, allocations: 315.3 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.1114, allocations: 102.5 kB / 332.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.1116, allocations: 151.5 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.1119, allocations: 187.2 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.112, allocations: 24 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1121, allocations: 51.97 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.1122, allocations: 71.67 kB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.1123, allocations: 97.52 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1126, allocations: 367.1 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1126, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1127, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1127, allocations: 0 / 333.5 MB, free: 14.91 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.001204/0.1139, allocations: 0.6818 MB / 334.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1139, allocations: 12.03 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.114, allocations: 43.44 kB / 334.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1144, allocations: 294.3 kB / 334.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1144, allocations: 28.61 kB / 334.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.1145, allocations: 39.91 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.1151, allocations: 353 kB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1151, allocations: 0 / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.1152, allocations: 12 kB / 334.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1152, allocations: 11.98 kB / 334.9 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.1157, allocations: 246.5 kB / 335.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.1176, allocations: 1.182 MB / 336.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.1183, allocations: 299.7 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.1191, allocations: 1.121 MB / 337.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1192, allocations: 42.73 kB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.543e-06/0.1192, allocations: 0 / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001187/0.1204, allocations: 0.5013 MB / 338.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1204, allocations: 85.05 kB / 338.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.1208, allocations: 337.6 kB / 338.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1208, allocations: 29.7 kB / 338.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.121, allocations: 212.1 kB / 338.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.1211, allocations: 106.6 kB / 339.1 MB, free: 8.805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.1211, allocations: 12 kB / 339.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1213, allocations: 346.7 kB / 339.4 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1215, allocations: 108.7 kB / 339.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1218, allocations: 182 kB / 339.7 MB, free: 8.129 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.1221, allocations: 135.5 kB / 339.8 MB, free: 7.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.1221, allocations: 7.938 kB / 339.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006606/0.1228, allocations: 372.8 kB / 340.2 MB, free: 7.617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1228, allocations: 4 kB / 340.2 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1228, allocations: 7.953 kB / 340.2 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1228, allocations: 4 kB / 340.2 MB, free: 7.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.1233, allocations: 104.1 kB / 340.3 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1233, allocations: 4 kB / 340.3 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.1236, allocations: 43.58 kB / 340.4 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.1236, allocations: 16 kB / 340.4 MB, free: 7.438 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.1238, allocations: 149.7 kB / 340.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.1239, allocations: 39.53 kB / 340.6 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007257/0.1246, allocations: 334.2 kB / 340.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1246, allocations: 4 kB / 340.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1246, allocations: 4 kB / 340.9 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1246, allocations: 3.984 kB / 340.9 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.1252, allocations: 385.2 kB / 341.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.1252, allocations: 3.953 kB / 341.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.1255, allocations: 59.95 kB / 341.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.1259, allocations: 44.83 kB / 341.4 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.1259, allocations: 11.98 kB / 341.4 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004497/0.1264, allocations: 0.5679 MB / 342 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1264, allocations: 0 / 342 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1274, allocations: 0.5327 MB / 342.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.1276, allocations: 136.6 kB / 342.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.1277, allocations: 4 kB / 342.6 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.1279, allocations: 27.98 kB / 342.7 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.128, allocations: 23.88 kB / 342.7 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.128, allocations: 11.98 kB / 342.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.1283, allocations: 239.1 kB / 342.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1283, allocations: 0 / 342.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.1288, allocations: 107.8 kB / 343 MB, free: 4.648 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.129, allocations: 135.2 kB / 343.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.1297, allocations: 271.8 kB / 343.4 MB, free: 4.242 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1297, allocations: 0 / 343.4 MB, free: 4.242 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.13, allocations: 135.9 kB / 343.6 MB, free: 4.109 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1304, allocations: 41.92 kB / 343.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1321, allocations: 1.038 MB / 344.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1325, allocations: 0.7994 MB / 345.4 MB, free: 2.176 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.1327, allocations: 38.95 kB / 345.5 MB, free: 2.137 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.1328, allocations: 35.36 kB / 345.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1328, allocations: 0 / 345.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of Templates: time 0.008239/0.141, allocations: 3.195 MB / 348.7 MB, free: 14.91 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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