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.001802/0.001802, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002013/0.002013, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.725/1.725, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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 1.313e-06/1.313e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.432e-05/3.564e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005109/0.005145, allocations: 3.179 MB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.007589, allocations: 0.974 MB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.007791, allocations: 11.94 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.007991, allocations: 63.36 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.008382, allocations: 134.8 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.008782, allocations: 159.6 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.009395, allocations: 0.4938 MB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.009644, allocations: 99.48 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.01013, allocations: 291.4 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.0104, allocations: 155.5 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.01047, allocations: 40 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.01065, allocations: 75.97 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.01077, allocations: 95.59 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.01096, allocations: 151.6 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.01169, allocations: 0.5139 MB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01169, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01169, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.0117, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 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.001579/0.01328, allocations: 0.7837 MB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.01332, allocations: 12.03 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.01358, allocations: 76.66 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.01406, allocations: 263.3 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.01409, allocations: 21.03 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.477e-05/0.01416, allocations: 44.31 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.01495, allocations: 454.1 kB / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01496, allocations: 192 / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.015, allocations: 20.31 kB / 280.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.01501, allocations: 11.94 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.01551, allocations: 214.5 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.01778, allocations: 1.118 MB / 281.7 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.01842, allocations: 240.1 kB / 282 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/0.01898, allocations: 203.1 kB / 282.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.01928, allocations: 68.17 kB / 282.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.01933, allocations: 41.61 kB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.01933, allocations: 0 / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001501/0.02083, allocations: 439.4 kB / 282.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.0209, allocations: 77.11 kB / 282.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.02165, allocations: 394.2 kB / 283.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.02169, allocations: 33.7 kB / 283.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.02193, allocations: 279.1 kB / 283.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.02204, allocations: 115.1 kB / 283.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.02219, allocations: 79.72 kB / 283.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003441/0.02253, allocations: 0.5313 MB / 284.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.02284, allocations: 88.72 kB / 284.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.02323, allocations: 235.7 kB / 284.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.02384, allocations: 320.5 kB / 284.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.02385, allocations: 0 / 284.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009179/0.02476, allocations: 424.7 kB / 285.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.02479, allocations: 8 kB / 285.2 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.0248, allocations: 0 / 285.2 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.02518, allocations: 83.58 kB / 285.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.02552, allocations: 75.89 kB / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.02818, allocations: 2.419 MB / 287.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.02845, allocations: 43.77 kB / 287.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.02848, allocations: 8 kB / 287.9 MB, free: 1.75 MB / 266.7 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.000264/0.02874, allocations: 200.5 kB / 288.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.02883, allocations: 39.81 kB / 288.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.0296, allocations: 317.1 kB / 288.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.02961, allocations: 7.938 kB / 288.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.02961, allocations: 4 kB / 288.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02961, allocations: 0 / 288.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.03014, allocations: 332.3 kB / 288.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.03014, allocations: 0 / 288.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.03048, allocations: 51.97 kB / 288.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.0307, allocations: 59.64 kB / 288.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.03073, allocations: 8 kB / 288.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007484/0.03148, allocations: 0.8897 MB / 289.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.03148, allocations: 0 / 289.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.03277, allocations: 0.5552 MB / 290.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.03283, allocations: 27.75 kB / 290.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.03289, allocations: 15.92 kB / 290.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.03312, allocations: 12 kB / 290.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.03319, allocations: 27.98 kB / 290.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.03321, allocations: 4 kB / 290.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003157/0.03353, allocations: 263 kB / 290.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03353, allocations: 0 / 290.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.03404, allocations: 111.8 kB / 290.8 MB, free: 14.74 MB / 282.7 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.0002725/0.03431, allocations: 139 kB / 290.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000961/0.03528, allocations: 463.7 kB / 291.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.03528, allocations: 0 / 291.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.03564, allocations: 139.9 kB / 291.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.03599, allocations: 40.64 kB / 291.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.03745, allocations: 0.7606 MB / 292.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.03767, allocations: 186.5 kB / 292.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.03781, allocations: 34.95 kB / 292.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.0379, allocations: 28.48 kB / 292.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0379, allocations: 0 / 292.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of Templates: time 0.009549/0.04745, allocations: 3.641 MB / 296.2 MB, free: 9.297 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] 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,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.911697817035019]