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.001577/0.001577, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001579/0.001579, allocations: 194.1 kB / 23.71 MB, free: 4.406 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.446/1.446, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001679/0.001679, allocations: 47.92 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2902, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004362/0.2945, allocations: 2.956 MB / 426 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2961, allocations: 0.9002 MB / 426.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2963, allocations: 7.938 kB / 426.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2965, allocations: 59.42 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.2968, allocations: 122.9 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.2972, allocations: 147.7 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.2977, allocations: 493.9 kB / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.2979, allocations: 90.17 kB / 427.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.2982, allocations: 191.3 kB / 428 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2984, allocations: 187 kB / 428.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.2985, allocations: 36 kB / 428.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.2986, allocations: 71.97 kB / 428.3 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2987, allocations: 87.69 kB / 428.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.2989, allocations: 183.2 kB / 428.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.2995, allocations: 0.4937 MB / 429.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2995, allocations: 8 kB / 429.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2995, allocations: 0 / 429.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2995, allocations: 0 / 429.1 MB, free: 8.418 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.001315/0.3008, allocations: 0.6646 MB / 429.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3009, allocations: 8.031 kB / 429.7 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.3009, allocations: 48.66 kB / 429.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.3014, allocations: 249.3 kB / 430 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.3014, allocations: 25.03 kB / 430.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.3015, allocations: 36.38 kB / 430.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.3022, allocations: 452.2 kB / 430.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3022, allocations: 3.938 kB / 430.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.3022, allocations: 12 kB / 430.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3022, allocations: 8 kB / 430.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.3027, allocations: 226.5 kB / 430.8 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.3045, allocations: 0.9842 MB / 431.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.3052, allocations: 247.5 kB / 432 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.3057, allocations: 193.2 kB / 432.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.306, allocations: 72.14 kB / 432.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.306, allocations: 38.8 kB / 432.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.306, allocations: 0 / 432.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001321/0.3073, allocations: 438.5 kB / 432.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.3074, allocations: 85.09 kB / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.3077, allocations: 292.5 kB / 433.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.3078, allocations: 33.7 kB / 433.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.3079, allocations: 224.4 kB / 433.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.308, allocations: 99.12 kB / 433.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3081, allocations: 70.06 kB / 433.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3083, allocations: 354.7 kB / 433.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.3085, allocations: 96.7 kB / 434 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.3088, allocations: 203.4 kB / 434.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.3094, allocations: 292.3 kB / 434.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3094, allocations: 0 / 434.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008153/0.3102, allocations: 413.9 kB / 434.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3102, allocations: 8 kB / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3102, allocations: 4 kB / 434.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.3105, allocations: 64.81 kB / 434.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.3108, allocations: 75.84 kB / 435 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.313, allocations: 1.801 MB / 436.8 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.3133, allocations: 43.72 kB / 436.8 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.3133, allocations: 12.06 kB / 436.9 MB, free: 240 kB / 334.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.0001784/0.3135, allocations: 152 kB / 437 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.3136, allocations: 35.75 kB / 437 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.3143, allocations: 321.6 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3143, allocations: 4 kB / 437.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3143, allocations: 0 / 437.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3143, allocations: 3.938 kB / 437.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.3147, allocations: 281 kB / 437.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3147, allocations: 0 / 437.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.315, allocations: 55.91 kB / 437.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.3153, allocations: 60.81 kB / 437.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3153, allocations: 8 kB / 437.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005158/0.3158, allocations: 0.6147 MB / 438.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3158, allocations: 0 / 438.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.3168, allocations: 0.4974 MB / 438.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.3169, allocations: 35.67 kB / 438.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.3169, allocations: 8 kB / 438.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.3172, allocations: 15.98 kB / 438.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.3172, allocations: 24.03 kB / 438.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3173, allocations: 4 kB / 439 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3175, allocations: 207.1 kB / 439.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3175, allocations: 0 / 439.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.318, allocations: 119.7 kB / 439.3 MB, free: 13.71 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.0002652/0.3183, allocations: 123.1 kB / 439.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.3192, allocations: 390.1 kB / 439.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3192, allocations: 0 / 439.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.3195, allocations: 136.2 kB / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3199, allocations: 40.61 kB / 439.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3215, allocations: 0.8597 MB / 440.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3217, allocations: 190.5 kB / 441 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3219, allocations: 34.91 kB / 441 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.3219, allocations: 27.44 kB / 441.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3219, allocations: 0 / 441.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Templates: time 0.009902/0.3318, allocations: 4.043 MB / 445.1 MB, free: 7.871 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,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.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.740718327462673]