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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 214.3 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.91 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2729, allocations: 53.4 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00474/0.2776, allocations: 2.973 MB / 434.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2797, allocations: 0.9507 MB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.2799, allocations: 7.938 kB / 435.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.2801, allocations: 63.42 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.2805, allocations: 126.9 kB / 435.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.2809, allocations: 163.6 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004973/0.2814, allocations: 478 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.2816, allocations: 98.16 kB / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.2819, allocations: 199.2 kB / 436.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.2822, allocations: 183.1 kB / 436.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.2822, allocations: 40 kB / 436.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2824, allocations: 75.97 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.2825, allocations: 91.62 kB / 437.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.2826, allocations: 179.2 kB / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.2832, allocations: 0.4977 MB / 437.7 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2832, allocations: 0 / 437.7 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2832, allocations: 4 kB / 437.7 MB, free: 404 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.2832, allocations: 0 / 437.7 MB, free: 404 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.001471/0.2847, allocations: 0.6606 MB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2847, allocations: 11.98 kB / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.285, allocations: 60.64 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.2855, allocations: 265.2 kB / 438.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.2855, allocations: 21.03 kB / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.2856, allocations: 40.38 kB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.2863, allocations: 452.1 kB / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2864, allocations: 0 / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.2864, allocations: 16 kB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2864, allocations: 8 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.2869, allocations: 226.5 kB / 439.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.2889, allocations: 0.9881 MB / 440.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.2895, allocations: 243.6 kB / 440.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.29, allocations: 204 kB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/0.2904, allocations: 72.09 kB / 441 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2904, allocations: 42.8 kB / 441 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.2904, allocations: 0 / 441 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001332/0.2917, allocations: 440.5 kB / 441.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.2918, allocations: 81.11 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.2921, allocations: 300.5 kB / 441.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.2922, allocations: 29.7 kB / 441.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.2923, allocations: 224.3 kB / 442.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.2924, allocations: 107.1 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2925, allocations: 74.06 kB / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2927, allocations: 346.7 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.2929, allocations: 96.7 kB / 442.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.2933, allocations: 203.5 kB / 442.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.2938, allocations: 283.9 kB / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2938, allocations: 0 / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008354/0.2946, allocations: 421.5 kB / 443.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2946, allocations: 8 kB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2946, allocations: 0 / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.2949, allocations: 68.84 kB / 443.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.2952, allocations: 71.91 kB / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.2972, allocations: 1.809 MB / 445.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2974, allocations: 47.77 kB / 445.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.2975, allocations: 16 kB / 445.6 MB, free: 8.145 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.0001775/0.2976, allocations: 149.2 kB / 445.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.2977, allocations: 31.75 kB / 445.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.2984, allocations: 321.3 kB / 446.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2985, allocations: 0 / 446.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.2985, allocations: 4 kB / 446.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2985, allocations: 4 kB / 446.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.2988, allocations: 289 kB / 446.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2989, allocations: 0 / 446.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.2992, allocations: 47.97 kB / 446.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.2994, allocations: 64.75 kB / 446.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2994, allocations: 4 kB / 446.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00047/0.2999, allocations: 0.6148 MB / 447.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2999, allocations: 0 / 447.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.3008, allocations: 0.4944 MB / 447.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.3009, allocations: 35.67 kB / 447.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.3009, allocations: 8 kB / 447.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3012, allocations: 24.05 kB / 447.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.3012, allocations: 15.97 kB / 447.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3013, allocations: 11.98 kB / 447.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.3015, allocations: 207.1 kB / 447.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3015, allocations: 0 / 447.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004653/0.3019, allocations: 107.8 kB / 448 MB, free: 5.637 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.0002003/0.3021, allocations: 127 kB / 448.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.303, allocations: 394.4 kB / 448.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.303, allocations: 4.078 kB / 448.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.3034, allocations: 119.9 kB / 448.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3037, allocations: 43.83 kB / 448.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.3051, allocations: 0.8625 MB / 449.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.3053, allocations: 194.5 kB / 449.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.3055, allocations: 34.95 kB / 449.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.3055, allocations: 27.38 kB / 449.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3055, allocations: 0 / 449.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of Templates: time 0.009114/0.3146, allocations: 4.027 MB / 453.8 MB, free: 15.81 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.8459631241858006]