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.00167/0.00167, allocations: 113 kB / 19.04 MB, free: 3.254 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.001942/0.001942, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.494/1.494, allocations: 225.6 MB / 250.8 MB, free: 13.36 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.001662/0.001662, allocations: 52.06 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004654/0.2534, allocations: 3.247 MB / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.2557, allocations: 0.978 MB / 425.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.2561, allocations: 7.938 kB / 425.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.2564, allocations: 55.42 kB / 425.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.2569, allocations: 126.9 kB / 425.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.2573, allocations: 143.7 kB / 425.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.2579, allocations: 490 kB / 425.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.2581, allocations: 91.17 kB / 426 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.2584, allocations: 187.3 kB / 426.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.2586, allocations: 211.1 kB / 426.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.2587, allocations: 44 kB / 426.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2589, allocations: 71.97 kB / 426.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.2589, allocations: 91.67 kB / 426.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.2591, allocations: 210.9 kB / 426.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006124/0.2598, allocations: 0.4992 MB / 427.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2598, allocations: 0 / 427.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2598, allocations: 0 / 427.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2598, allocations: 0 / 427.3 MB, free: 8.688 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.001423/0.2612, allocations: 0.7509 MB / 428 MB, free: 7.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2612, allocations: 12.03 kB / 428.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.2613, allocations: 48.66 kB / 428.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.2618, allocations: 307.5 kB / 428.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2618, allocations: 25.03 kB / 428.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.2619, allocations: 40.36 kB / 428.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.2626, allocations: 353.3 kB / 428.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2626, allocations: 0 / 428.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.2626, allocations: 15.98 kB / 428.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2626, allocations: 8 kB / 428.8 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.2631, allocations: 238.5 kB / 429.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.2652, allocations: 1.174 MB / 430.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.2659, allocations: 263.5 kB / 430.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.2664, allocations: 200.7 kB / 430.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008833/0.2672, allocations: 1.113 MB / 431.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2673, allocations: 38.8 kB / 431.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.2673, allocations: 0 / 431.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.00145/0.2687, allocations: 0.5328 MB / 432.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.2688, allocations: 77.11 kB / 432.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.2692, allocations: 336.5 kB / 432.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2692, allocations: 37.64 kB / 432.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.2694, allocations: 216.5 kB / 433 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.2695, allocations: 107.1 kB / 433.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2696, allocations: 70.03 kB / 433.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2698, allocations: 354.7 kB / 433.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.27, allocations: 100.7 kB / 433.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.2703, allocations: 185.8 kB / 433.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.2709, allocations: 296.3 kB / 434.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2709, allocations: 4 kB / 434.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008743/0.2717, allocations: 421.9 kB / 434.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2718, allocations: 8 kB / 434.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2718, allocations: 0 / 434.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.272, allocations: 68.75 kB / 434.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.2724, allocations: 83.89 kB / 434.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.2745, allocations: 1.955 MB / 436.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2748, allocations: 47.66 kB / 436.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.2748, allocations: 16 kB / 436.7 MB, free: 14.53 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.0001826/0.275, allocations: 153.7 kB / 436.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.275, allocations: 39.77 kB / 436.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.2758, allocations: 322.5 kB / 437.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.2758, allocations: 4 kB / 437.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2758, allocations: 7.875 kB / 437.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2758, allocations: 3.984 kB / 437.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.2763, allocations: 401.3 kB / 437.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2764, allocations: 0 / 437.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.2767, allocations: 51.95 kB / 437.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.2769, allocations: 60.81 kB / 437.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.2769, allocations: 11.94 kB / 437.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/0.2774, allocations: 0.6031 MB / 438.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2774, allocations: 0 / 438.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.2784, allocations: 0.5211 MB / 438.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2785, allocations: 116.8 kB / 439 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.2786, allocations: 8 kB / 439 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.2788, allocations: 19.98 kB / 439 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.2789, allocations: 23.97 kB / 439 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.2789, allocations: 4 kB / 439 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.2792, allocations: 235.1 kB / 439.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2792, allocations: 0 / 439.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.2797, allocations: 115.8 kB / 439.4 MB, free: 11.72 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.00021/0.2799, allocations: 131 kB / 439.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008708/0.2807, allocations: 410.8 kB / 439.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2807, allocations: 4.062 kB / 439.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.2811, allocations: 131.8 kB / 440 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2815, allocations: 41.72 kB / 440.1 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.283, allocations: 0.8882 MB / 441 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.2835, allocations: 0.7873 MB / 441.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.2837, allocations: 38.95 kB / 441.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.2838, allocations: 27.42 kB / 441.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2838, allocations: 4 kB / 441.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of Templates: time 0.009773/0.2935, allocations: 4.148 MB / 446 MB, free: 5.07 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.77147049177438]