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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 51.92 kB / 370.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2831, allocations: 52.18 MB / 423.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004918/0.288, allocations: 3.255 MB / 426.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2901, allocations: 0.9778 MB / 427.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.2903, allocations: 4 kB / 427.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.2905, allocations: 59.36 kB / 427.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.2909, allocations: 123 kB / 427.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.2914, allocations: 159.6 kB / 427.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.2919, allocations: 478 kB / 428.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.2922, allocations: 91.64 kB / 428.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.2925, allocations: 191.3 kB / 428.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.2928, allocations: 215.1 kB / 428.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.2929, allocations: 40 kB / 428.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.293, allocations: 71.97 kB / 428.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.2931, allocations: 91.67 kB / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.2934, allocations: 218.9 kB / 429.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.294, allocations: 0.4914 MB / 429.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.782e-05/0.294, allocations: 0 / 429.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.294, allocations: 4 kB / 429.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.201e-05/0.2941, allocations: 0 / 429.6 MB, free: 8.273 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.001505/0.2956, allocations: 0.6763 MB / 430.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2956, allocations: 8.031 kB / 430.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2957, allocations: 48.66 kB / 430.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.2962, allocations: 249.3 kB / 430.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.2962, allocations: 25.03 kB / 430.6 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.2963, allocations: 36.38 kB / 430.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.2971, allocations: 349.3 kB / 430.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2971, allocations: 0 / 430.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.2972, allocations: 16 kB / 430.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.2972, allocations: 11.98 kB / 431 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.2977, allocations: 234.5 kB / 431.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.2999, allocations: 1.132 MB / 432.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.3006, allocations: 267.5 kB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.3012, allocations: 197.2 kB / 432.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.3016, allocations: 64.16 kB / 432.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.3016, allocations: 42.78 kB / 432.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.033e-06/0.3016, allocations: 0 / 432.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001571/0.3032, allocations: 466.4 kB / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.3033, allocations: 81.11 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.3037, allocations: 332.5 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3037, allocations: 33.7 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3039, allocations: 216.5 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.304, allocations: 99.12 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3041, allocations: 74.02 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3043, allocations: 350.7 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3046, allocations: 108.6 kB / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.3049, allocations: 185.8 kB / 434.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.3055, allocations: 300.3 kB / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3055, allocations: 0 / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000914/0.3064, allocations: 425.6 kB / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3064, allocations: 8.25 kB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3064, allocations: 8 kB / 435.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.3067, allocations: 68.75 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.3071, allocations: 75.89 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.3093, allocations: 1.84 MB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.3096, allocations: 43.67 kB / 437.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.3096, allocations: 15.94 kB / 437.5 MB, free: 15.89 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.0002419/0.3099, allocations: 157.7 kB / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.31, allocations: 35.77 kB / 437.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.3108, allocations: 330.7 kB / 438.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3108, allocations: 4 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3108, allocations: 3.938 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3108, allocations: 0 / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.3114, allocations: 376.5 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3114, allocations: 0 / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.3118, allocations: 59.89 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.312, allocations: 60.83 kB / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.312, allocations: 4 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000529/0.3126, allocations: 0.6147 MB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3126, allocations: 0 / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3136, allocations: 0.5131 MB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.3137, allocations: 39.69 kB / 439.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.3137, allocations: 8 kB / 439.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.314, allocations: 23.98 kB / 439.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.3141, allocations: 23.94 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.3141, allocations: 8 kB / 439.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.3144, allocations: 235.1 kB / 440 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3144, allocations: 0 / 440 MB, free: 13.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.3149, allocations: 107.8 kB / 440.1 MB, free: 13.2 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.0002391/0.3151, allocations: 131.1 kB / 440.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3161, allocations: 410 kB / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3161, allocations: 0 / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.3165, allocations: 128.8 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3169, allocations: 49.72 kB / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3186, allocations: 0.8786 MB / 441.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.3191, allocations: 0.7912 MB / 442.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.3193, allocations: 38.95 kB / 442.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.295e-05/0.3193, allocations: 27.42 kB / 442.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3193, allocations: 0 / 442.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Templates: time 0.01089/0.3302, allocations: 4.239 MB / 446.8 MB, free: 6.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.809703375212848]