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.001997/0.001997, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002368/0.002368, allocations: 212 kB / 23.74 MB, free: 4.688 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001654/0.001654, allocations: 47.92 kB / 378.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2783, allocations: 53.37 MB / 431.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.007133/0.2854, allocations: 3.277 MB / 434.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.2884, allocations: 1.021 MB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.2886, allocations: 8 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.2889, allocations: 59.36 kB / 436 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.2895, allocations: 134.8 kB / 436.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.29, allocations: 155.6 kB / 436.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009017/0.2909, allocations: 486 kB / 436.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.2913, allocations: 95.58 kB / 436.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.2917, allocations: 203.3 kB / 437.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004448/0.2922, allocations: 211.1 kB / 437.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.52e-05/0.2923, allocations: 43.94 kB / 437.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.2925, allocations: 71.97 kB / 437.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2927, allocations: 103.6 kB / 437.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.293, allocations: 207 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.2939, allocations: 0.4992 MB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.2939, allocations: 4 kB / 438.2 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2939, allocations: 0 / 438.2 MB, free: 424 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2939, allocations: 0 / 438.2 MB, free: 424 kB / 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.002032/0.296, allocations: 0.6762 MB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.296, allocations: 12.03 kB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.2963, allocations: 60.62 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.297, allocations: 253.3 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.297, allocations: 21.03 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.2971, allocations: 36.38 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009712/0.2981, allocations: 361.3 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2981, allocations: 0 / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.2981, allocations: 12 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2981, allocations: 8 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.2989, allocations: 234.5 kB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.302, allocations: 1.136 MB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.303, allocations: 263.5 kB / 441.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007974/0.3038, allocations: 199.1 kB / 441.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.3043, allocations: 76.16 kB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/0.3044, allocations: 42.73 kB / 441.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.404e-06/0.3044, allocations: 0 / 441.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002107/0.3065, allocations: 460.5 kB / 442 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.3066, allocations: 85.09 kB / 442.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.3071, allocations: 333.7 kB / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.3072, allocations: 37.69 kB / 442.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.3074, allocations: 216.4 kB / 442.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3076, allocations: 107.2 kB / 442.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.3077, allocations: 74.03 kB / 442.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.308, allocations: 346.7 kB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.3083, allocations: 108.7 kB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.3088, allocations: 185.7 kB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.3096, allocations: 288.6 kB / 443.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3096, allocations: 0 / 443.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001281/0.3109, allocations: 433.3 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3109, allocations: 8 kB / 444.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3109, allocations: 0 / 444.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.3113, allocations: 73 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.3118, allocations: 71.91 kB / 444.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.3147, allocations: 1.855 MB / 446.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.3151, allocations: 47.78 kB / 446.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.3152, allocations: 12 kB / 446.2 MB, free: 7.973 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.0002559/0.3154, allocations: 157.7 kB / 446.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3155, allocations: 35.77 kB / 446.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.3166, allocations: 330.3 kB / 446.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3166, allocations: 8 kB / 446.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3166, allocations: 3.938 kB / 446.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3166, allocations: 3.984 kB / 446.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.3173, allocations: 364.4 kB / 447.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3173, allocations: 0 / 447.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.3178, allocations: 59.89 kB / 447.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/0.3181, allocations: 64.8 kB / 447.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.3182, allocations: 8 kB / 447.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006647/0.3188, allocations: 0.6031 MB / 447.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.3188, allocations: 8.016 kB / 447.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.3203, allocations: 0.5134 MB / 448.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3204, allocations: 39.88 kB / 448.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.3204, allocations: 8 kB / 448.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.3209, allocations: 23.92 kB / 448.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.3209, allocations: 15.97 kB / 448.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.321, allocations: 15.98 kB / 448.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000408/0.3214, allocations: 239.2 kB / 448.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3214, allocations: 0 / 448.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000472/0.3219, allocations: 103.8 kB / 448.8 MB, free: 5.293 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.0001993/0.3221, allocations: 133 kB / 448.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.3229, allocations: 410.6 kB / 449.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3229, allocations: 4 kB / 449.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.3234, allocations: 127.9 kB / 449.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.324, allocations: 45.94 kB / 449.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3258, allocations: 0.8819 MB / 450.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.3262, allocations: 0.7873 MB / 451.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.3264, allocations: 38.91 kB / 451.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.3264, allocations: 35.42 kB / 451.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3264, allocations: 0 / 451.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of Templates: time 0.009734/0.3362, allocations: 4.249 MB / 455.5 MB, free: 14.55 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,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 [Calling sys.exit(0), Time elapsed: 4.931025013094768]