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.001323/0.001323, allocations: 82.36 kB / 20.68 MB, free: 1.023 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.001371/0.001371, allocations: 146.7 kB / 23.94 MB, free: 4.16 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.432/1.432, allocations: 173.3 MB / 200.4 MB, free: 12.84 MB / 190.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 2.234e-06/2.234e-06, allocations: 0 / 318.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.212e-05, allocations: 5.094 kB / 318.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003927/0.003959, allocations: 2.925 MB / 321.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.005712, allocations: 0.9144 MB / 322.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.005893, allocations: 4.031 kB / 322.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.006099, allocations: 60.62 kB / 322.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.006508, allocations: 133.9 kB / 323 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.006893, allocations: 152.1 kB / 323.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.007413, allocations: 0.4933 MB / 323.6 MB, free: 288 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.007633, allocations: 86.08 kB / 323.7 MB, free: 240 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.008102, allocations: 284.6 kB / 324 MB, free: 120 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.008379, allocations: 156.9 kB / 324.1 MB, free: 64 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.25e-05/0.008452, allocations: 39.59 kB / 324.2 MB, free: 64 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.008643, allocations: 75.55 kB / 324.2 MB, free: 52 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.008775, allocations: 92.58 kB / 324.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.008984, allocations: 147.5 kB / 324.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007316/0.009716, allocations: 0.5085 MB / 325 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.00972, allocations: 0 / 325 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009721, allocations: 1.375 kB / 325 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.009729, allocations: 3.938 kB / 325 MB, free: 15.72 MB / 302.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.00143/0.01116, allocations: 0.6592 MB / 325.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.0112, allocations: 14.08 kB / 325.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.01132, allocations: 51.09 kB / 325.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.01181, allocations: 247.6 kB / 326 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.01185, allocations: 26.78 kB / 326 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.01193, allocations: 35.61 kB / 326 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.01283, allocations: 451.8 kB / 326.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.01285, allocations: 4.891 kB / 326.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.01289, allocations: 11.62 kB / 326.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.0129, allocations: 11.72 kB / 326.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.01358, allocations: 232.9 kB / 326.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.01568, allocations: 0.9783 MB / 327.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008097/0.01649, allocations: 245.9 kB / 327.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.01706, allocations: 191 kB / 328.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.01743, allocations: 69.09 kB / 328.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.01748, allocations: 38.16 kB / 328.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.01748, allocations: 4 kB / 328.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001419/0.0189, allocations: 443.4 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.01896, allocations: 83.98 kB / 328.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.01932, allocations: 298.9 kB / 329 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.01936, allocations: 32.2 kB / 329.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.01953, allocations: 219.2 kB / 329.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/0.01962, allocations: 104.8 kB / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.01975, allocations: 69.92 kB / 329.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.01993, allocations: 340.4 kB / 329.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.02019, allocations: 105.5 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.02053, allocations: 206.1 kB / 330.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.02108, allocations: 275 kB / 330.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.02109, allocations: 1.281 kB / 330.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008717/0.02196, allocations: 417 kB / 330.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.02198, allocations: 6.547 kB / 330.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.02199, allocations: 5.562 kB / 330.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.0223, allocations: 70.03 kB / 330.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.02263, allocations: 75.28 kB / 330.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.02478, allocations: 1.812 MB / 332.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.02508, allocations: 40.78 kB / 332.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.02511, allocations: 13 kB / 332.8 MB, free: 10.41 MB / 302.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.0002174/0.02533, allocations: 146.3 kB / 332.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.0254, allocations: 32.64 kB / 333 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007941/0.0262, allocations: 322.6 kB / 333.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.0262, allocations: 3.094 kB / 333.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.0262, allocations: 0 / 333.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.02621, allocations: 2.375 kB / 333.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.02673, allocations: 279.6 kB / 333.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02674, allocations: 1.344 kB / 333.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.02707, allocations: 57.58 kB / 333.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.02728, allocations: 63.19 kB / 333.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.02731, allocations: 7.906 kB / 333.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005183/0.02783, allocations: 0.6079 MB / 334.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02783, allocations: 0 / 334.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.02883, allocations: 0.496 MB / 334.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.02889, allocations: 33.39 kB / 334.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.02895, allocations: 11.17 kB / 334.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.02921, allocations: 18.55 kB / 334.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.02928, allocations: 14.5 kB / 334.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.02931, allocations: 12.14 kB / 334.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.02955, allocations: 205.5 kB / 335.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02955, allocations: 0 / 335.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.03006, allocations: 123.2 kB / 335.2 MB, free: 8.816 MB / 302.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.0002389/0.0303, allocations: 133.6 kB / 335.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00087/0.03117, allocations: 393.6 kB / 335.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03117, allocations: 0.5 kB / 335.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.03153, allocations: 132.8 kB / 335.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.0319, allocations: 33.94 kB / 335.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.03334, allocations: 0.7362 MB / 336.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.03356, allocations: 194 kB / 336.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.0337, allocations: 31.47 kB / 336.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.03379, allocations: 32.98 kB / 336.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.03379, allocations: 0 / 336.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of Templates: time 0.009269/0.04306, allocations: 3.609 MB / 340.5 MB, free: 5.477 MB / 302.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.4547076635062695]