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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 97.23 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 197.2 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.0002562, allocations: 8 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1364, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003652/0.1402, allocations: 2.764 MB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1421, allocations: 0.9631 MB / 362.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.1423, allocations: 4 kB / 362.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1425, allocations: 43.67 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1428, allocations: 111.1 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1431, allocations: 111.8 kB / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.1435, allocations: 442 kB / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.1438, allocations: 106.5 kB / 363.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.144, allocations: 167.4 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1443, allocations: 183.1 kB / 363.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.1443, allocations: 24 kB / 363.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1445, allocations: 51.97 kB / 363.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.1445, allocations: 63.75 kB / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.1446, allocations: 101.5 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.145, allocations: 371.2 kB / 364.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.145, allocations: 3.938 kB / 364.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.145, allocations: 0 / 364.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1451, allocations: 0 / 364.1 MB, free: 7.914 MB / 302.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.001182/0.1462, allocations: 0.6856 MB / 364.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1463, allocations: 8.031 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.1465, allocations: 55.52 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.1469, allocations: 306.2 kB / 365.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.147, allocations: 28.66 kB / 365.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.147, allocations: 32 kB / 365.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.1477, allocations: 353 kB / 365.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1477, allocations: 0 / 365.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.1477, allocations: 12 kB / 365.6 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1477, allocations: 8 kB / 365.6 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.1482, allocations: 250.4 kB / 365.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.1502, allocations: 1.182 MB / 367 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.1508, allocations: 295.7 kB / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.1513, allocations: 219.8 kB / 367.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/0.1521, allocations: 1.125 MB / 368.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1521, allocations: 38.8 kB / 368.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.053e-06/0.1521, allocations: 0 / 368.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001289/0.1534, allocations: 0.5462 MB / 369.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1535, allocations: 81.11 kB / 369.3 MB, free: 2.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.1538, allocations: 341.5 kB / 369.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.1539, allocations: 37.7 kB / 369.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.154, allocations: 212.1 kB / 369.9 MB, free: 1.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.1541, allocations: 98.5 kB / 370 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.1541, allocations: 12 kB / 370 MB, free: 1.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1543, allocations: 346.8 kB / 370.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.1545, allocations: 108.7 kB / 370.4 MB, free: 1.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.1548, allocations: 189.8 kB / 370.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.1551, allocations: 132.3 kB / 370.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1551, allocations: 0 / 370.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007615/0.1558, allocations: 441.4 kB / 371.2 MB, free: 292 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1559, allocations: 8 kB / 371.2 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1559, allocations: 0 / 371.2 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.1561, allocations: 68.77 kB / 371.2 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.1564, allocations: 87.83 kB / 371.3 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1919/0.3483, allocations: 1.746 MB / 373.1 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.3487, allocations: 46.64 kB / 373.1 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.3488, allocations: 14.45 kB / 373.1 MB, free: 17.63 MB / 302.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 (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.0001985/0.349, allocations: 153.3 kB / 373.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.3491, allocations: 38.7 kB / 373.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.3499, allocations: 346.8 kB / 373.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3499, allocations: 2.562 kB / 373.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3499, allocations: 0.7031 kB / 373.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3499, allocations: 5.141 kB / 373.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.3504, allocations: 391.8 kB / 374.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3504, allocations: 0.6094 kB / 374.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.3507, allocations: 56.36 kB / 374.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.351, allocations: 65.05 kB / 374.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.351, allocations: 7.188 kB / 374.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003844/0.3514, allocations: 0.6072 MB / 374.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3514, allocations: 0 / 374.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3525, allocations: 0.5418 MB / 375.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3526, allocations: 112.4 kB / 375.4 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.3527, allocations: 8.359 kB / 375.4 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.353, allocations: 22.73 kB / 375.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.353, allocations: 17.78 kB / 375.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.3531, allocations: 13.66 kB / 375.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.3534, allocations: 245.8 kB / 375.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3534, allocations: 0 / 375.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005267/0.3539, allocations: 114.7 kB / 375.9 MB, free: 16.37 MB / 302.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 (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.0002175/0.3542, allocations: 124.1 kB / 376 MB, free: 16.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008795/0.355, allocations: 424.2 kB / 376.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3551, allocations: 4.562 kB / 376.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.3554, allocations: 150.2 kB / 376.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.3558, allocations: 40.72 kB / 376.6 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3572, allocations: 1.051 MB / 377.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3575, allocations: 0.7951 MB / 378.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.3577, allocations: 38.91 kB / 378.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/0.3578, allocations: 29.34 kB / 378.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3578, allocations: 0 / 378.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Templates: time 0.009667/0.3675, allocations: 3.589 MB / 382.1 MB, free: 14.58 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (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) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.continuous,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time