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.0009803/0.0009802, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.3 MB / 235.5 MB, free: 2.898 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.0008505/0.0008506, allocations: 106.8 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.213e-05, allocations: 0 / 343.8 MB, free: 4.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 50.41 MB / 394.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.3977, allocations: 80.82 MB / 475.1 MB, free: 6.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.398, allocations: 79.78 kB / 475.1 MB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02361/0.4216, allocations: 8.678 MB / 483.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4216, allocations: 0 / 483.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4216, allocations: 8 kB / 483.8 MB, free: 13.95 MB / 362.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.000876/0.4225, allocations: 0.6198 MB / 484.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4226, allocations: 12.03 kB / 484.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.4227, allocations: 43.44 kB / 484.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.423, allocations: 294.3 kB / 484.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4231, allocations: 28.72 kB / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.4231, allocations: 39.91 kB / 484.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.4236, allocations: 330.9 kB / 485.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4237, allocations: 0 / 485.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.4237, allocations: 12 kB / 485.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4237, allocations: 8 kB / 485.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.4241, allocations: 215 kB / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.4259, allocations: 1.186 MB / 486.6 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.4263, allocations: 245.2 kB / 486.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.4267, allocations: 193.3 kB / 487 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006951/0.4274, allocations: 1.129 MB / 488.1 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4274, allocations: 34.8 kB / 488.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.4275, allocations: 7.938 kB / 488.2 MB, free: 9.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005614/0.428, allocations: 280.6 kB / 488.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.4281, allocations: 89.05 kB / 488.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.4284, allocations: 298.8 kB / 488.8 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4284, allocations: 29.7 kB / 488.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4285, allocations: 212.1 kB / 489.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.4286, allocations: 102.5 kB / 489.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.4286, allocations: 8 kB / 489.2 MB, free: 8.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4288, allocations: 346.8 kB / 489.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.4289, allocations: 88.69 kB / 489.6 MB, free: 7.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.4291, allocations: 169.8 kB / 489.8 MB, free: 7.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.4293, allocations: 111.9 kB / 489.9 MB, free: 7.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4293, allocations: 4 kB / 489.9 MB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006264/0.43, allocations: 397.8 kB / 490.3 MB, free: 6.938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.43, allocations: 7.953 kB / 490.3 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.43, allocations: 4 kB / 490.3 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.4302, allocations: 64.81 kB / 490.4 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.4306, allocations: 87.89 kB / 490.4 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.4321, allocations: 1.745 MB / 492.2 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.4324, allocations: 43.72 kB / 492.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4324, allocations: 16 kB / 492.2 MB, free: 4.836 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 9.313e-05/0.4325, allocations: 132.9 kB / 492.4 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.4326, allocations: 35.53 kB / 492.4 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.4331, allocations: 314.5 kB / 492.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4331, allocations: 7.984 kB / 492.7 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.4331, allocations: 0 / 492.7 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4332, allocations: 0 / 492.7 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.4335, allocations: 389.2 kB / 493.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4336, allocations: 4 kB / 493.1 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.4339, allocations: 55.95 kB / 493.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.4341, allocations: 56.83 kB / 493.2 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.4341, allocations: 15.94 kB / 493.2 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003676/0.4345, allocations: 0.6069 MB / 493.8 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4345, allocations: 3.984 kB / 493.8 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.4351, allocations: 492.3 kB / 494.3 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.4352, allocations: 108.7 kB / 494.4 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.4353, allocations: 15.94 kB / 494.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.4355, allocations: 27.98 kB / 494.5 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.4356, allocations: 15.98 kB / 494.5 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4356, allocations: 11.98 kB / 494.5 MB, free: 2.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.4358, allocations: 230.2 kB / 494.7 MB, free: 2.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.503e-06/0.4359, allocations: 7.938 kB / 494.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.4362, allocations: 111.8 kB / 494.8 MB, free: 2.094 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.0001902/0.4364, allocations: 131.2 kB / 495 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.437, allocations: 374.3 kB / 495.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.437, allocations: 0.5 kB / 495.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.4373, allocations: 131.9 kB / 495.5 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.4375, allocations: 29.2 kB / 495.5 MB, free: 1.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009397/0.4385, allocations: 0.685 MB / 496.2 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4388, allocations: 0.8033 MB / 497 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.439, allocations: 43.2 kB / 497 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.4391, allocations: 31.42 kB / 497.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4391, allocations: 0 / 497.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of Templates: time 0.006916/0.446, allocations: 3.561 MB / 0.4889 GB, free: 12.28 MB / 378.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,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.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time