Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 174.6 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007805/0.0007805, allocations: 94.83 kB / 281.2 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.516e-05/2.52e-05, allocations: 7.984 kB / 337 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09551, allocations: 50.41 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.296/0.3915, allocations: 80.14 MB / 467.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.3918, allocations: 79.89 kB / 467.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02465/0.4164, allocations: 8.601 MB / 476.3 MB, free: 5.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4165, allocations: 3.938 kB / 476.3 MB, free: 5.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.4165, allocations: 12 kB / 476.3 MB, free: 5.965 MB / 346.7 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.0009482/0.4174, allocations: 0.6159 MB / 476.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4175, allocations: 8.031 kB / 476.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.4176, allocations: 47.44 kB / 477 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.4179, allocations: 290.3 kB / 477.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.418, allocations: 15.94 kB / 477.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.418, allocations: 27.84 kB / 477.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003567/0.4184, allocations: 193.5 kB / 477.5 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.4189, allocations: 285.4 kB / 477.8 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4189, allocations: 0 / 477.8 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.419, allocations: 7.984 kB / 477.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.419, allocations: 8 kB / 477.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.4208, allocations: 1.115 MB / 478.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.4212, allocations: 224.6 kB / 479.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.4216, allocations: 185.3 kB / 479.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008816/0.4225, allocations: 1.129 MB / 480.4 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.4226, allocations: 34.8 kB / 480.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.4226, allocations: 0 / 480.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007004/0.4233, allocations: 264.8 kB / 480.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4234, allocations: 85.11 kB / 480.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.4237, allocations: 242.3 kB / 481 MB, free: 0.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.4237, allocations: 25.7 kB / 481.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.4239, allocations: 216.2 kB / 481.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.424, allocations: 102.5 kB / 481.4 MB, free: 408 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.424, allocations: 0 / 481.4 MB, free: 408 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4242, allocations: 338.8 kB / 481.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4243, allocations: 84.8 kB / 481.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.4245, allocations: 161.3 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4248, allocations: 104.4 kB / 482 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4248, allocations: 3.938 kB / 482 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006044/0.4254, allocations: 361.5 kB / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4254, allocations: 8 kB / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4254, allocations: 0 / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.4257, allocations: 64.78 kB / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.4261, allocations: 83.89 kB / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.4277, allocations: 1.705 MB / 484.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.428, allocations: 39.52 kB / 484.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.428, allocations: 16 kB / 484.3 MB, free: 13.29 MB / 362.7 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 () * 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 (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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.4281, allocations: 107 kB / 484.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.4282, allocations: 39.64 kB / 484.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.4287, allocations: 277.7 kB / 484.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4288, allocations: 7.953 kB / 484.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.4288, allocations: 0 / 484.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4288, allocations: 0 / 484.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.4292, allocations: 345.8 kB / 485.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4292, allocations: 0 / 485.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.4295, allocations: 63.89 kB / 485.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.4297, allocations: 56.83 kB / 485.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.4297, allocations: 0 / 485.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004053/0.4301, allocations: 0.6071 MB / 485.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4302, allocations: 3.984 kB / 485.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.4308, allocations: 472.9 kB / 486.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.4309, allocations: 116.6 kB / 486.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.431, allocations: 4 kB / 486.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.4312, allocations: 27.98 kB / 486.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.4313, allocations: 15.97 kB / 486.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.4313, allocations: 8 kB / 486.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4315, allocations: 193.9 kB / 486.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4315, allocations: 0 / 486.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.4319, allocations: 103.7 kB / 486.7 MB, free: 10.76 MB / 362.7 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 () * 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 (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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.4322, allocations: 127.2 kB / 486.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.4328, allocations: 353.5 kB / 487.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4328, allocations: 0 / 487.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.433, allocations: 116.4 kB / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4333, allocations: 32.89 kB / 487.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.4343, allocations: 0.6652 MB / 488 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.4346, allocations: 0.7991 MB / 488.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.4348, allocations: 35.27 kB / 488.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.4349, allocations: 23.44 kB / 488.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4349, allocations: 0 / 488.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of Templates: time 0.006593/0.4415, allocations: 3.128 MB / 492 MB, free: 5.438 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_4.0.0_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,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.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time