Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,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.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,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.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3397, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.006425/0.3461, allocations: 2.973 MB / 434.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.3487, allocations: 0.9584 MB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.3489, allocations: 11.94 kB / 435.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3491, allocations: 55.42 kB / 435.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005567/0.3497, allocations: 134.9 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.3502, allocations: 151.6 kB / 435.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.351, allocations: 482 kB / 436.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.3513, allocations: 111.3 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.3517, allocations: 203.3 kB / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.3521, allocations: 207.1 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.3522, allocations: 36 kB / 436.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.3524, allocations: 79.97 kB / 437 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3525, allocations: 87.69 kB / 437 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.3528, allocations: 183.2 kB / 437.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007778/0.3536, allocations: 0.4966 MB / 437.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3536, allocations: 0 / 437.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3536, allocations: 0 / 437.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.3536, allocations: 4 kB / 437.7 MB, free: 0.5742 MB / 334.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.001838/0.3555, allocations: 0.6608 MB / 438.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3555, allocations: 12.03 kB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.3557, allocations: 56.64 kB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.3562, allocations: 253.3 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.3563, allocations: 25.03 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.3563, allocations: 32.38 kB / 438.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.3571, allocations: 456.1 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3571, allocations: 4 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.3572, allocations: 12 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3572, allocations: 8 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.3577, allocations: 226.5 kB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.3597, allocations: 0.9881 MB / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.3604, allocations: 247.5 kB / 440.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.3609, allocations: 192.6 kB / 440.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.3613, allocations: 72.16 kB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3613, allocations: 42.8 kB / 441 MB, free: 13.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.3613, allocations: 0 / 441 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001413/0.3627, allocations: 452.5 kB / 441.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3628, allocations: 81.11 kB / 441.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.3632, allocations: 296.5 kB / 441.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.3632, allocations: 33.7 kB / 441.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3634, allocations: 224.3 kB / 442 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.214e-05/0.3635, allocations: 103.1 kB / 442.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3636, allocations: 66.08 kB / 442.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3637, allocations: 350.7 kB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.364, allocations: 100.7 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.3643, allocations: 203.5 kB / 442.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.3648, allocations: 284.6 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3648, allocations: 0 / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000863/0.3657, allocations: 421.6 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3657, allocations: 4 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3657, allocations: 4 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.366, allocations: 64.81 kB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.3663, allocations: 71.89 kB / 443.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.3685, allocations: 1.821 MB / 445.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3687, allocations: 39.73 kB / 445.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3688, allocations: 8 kB / 445.5 MB, free: 8.344 MB / 350.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.0001843/0.3689, allocations: 153.8 kB / 445.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.369, allocations: 35.75 kB / 445.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007534/0.3698, allocations: 317.4 kB / 446 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3698, allocations: 4 kB / 446 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3698, allocations: 0 / 446 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3698, allocations: 0 / 446 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.3702, allocations: 277.2 kB / 446.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3702, allocations: 4 kB / 446.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.3706, allocations: 55.91 kB / 446.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.3708, allocations: 64.75 kB / 446.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.3708, allocations: 11.94 kB / 446.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005354/0.3713, allocations: 0.6109 MB / 447.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3713, allocations: 4.062 kB / 447.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/0.3723, allocations: 0.4899 MB / 447.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.3724, allocations: 35.67 kB / 447.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.3724, allocations: 8 kB / 447.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.3727, allocations: 15.98 kB / 447.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.3728, allocations: 19.97 kB / 447.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3728, allocations: 11.98 kB / 447.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.373, allocations: 211.1 kB / 447.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.373, allocations: 0 / 447.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000498/0.3735, allocations: 107.8 kB / 448 MB, free: 5.828 MB / 350.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.0002567/0.3738, allocations: 123.1 kB / 448.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3748, allocations: 398.6 kB / 448.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3748, allocations: 4 kB / 448.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.3752, allocations: 119.9 kB / 448.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3756, allocations: 40.58 kB / 448.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3772, allocations: 0.8748 MB / 449.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.3774, allocations: 186.5 kB / 449.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3775, allocations: 34.97 kB / 449.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.3776, allocations: 23.44 kB / 449.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3776, allocations: 0 / 449.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01023/0.3879, allocations: 4.136 MB / 453.9 MB, free: 15.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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.continuous,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 5.070532499812543]