Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001386/0.001386, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001506/0.001506, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.076e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004303/0.004333, allocations: 2.899 MB / 301.9 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.006169, allocations: 0.9515 MB / 302.8 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.006323, allocations: 8 kB / 302.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.006489, allocations: 55.42 kB / 302.9 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.006855, allocations: 138.8 kB / 303 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.007194, allocations: 147.5 kB / 303.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.007731, allocations: 0.5016 MB / 303.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.007929, allocations: 87.69 kB / 303.7 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.0083, allocations: 287.4 kB / 304 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.008534, allocations: 151.5 kB / 304.2 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.008601, allocations: 40 kB / 304.2 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.008766, allocations: 75.91 kB / 304.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.008858, allocations: 91.66 kB / 304.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.009042, allocations: 151.6 kB / 304.5 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.009644, allocations: 0.5062 MB / 305 MB, free: 2.605 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009648, allocations: 0 / 305 MB, free: 2.605 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.009649, allocations: 0 / 305 MB, free: 2.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.00966, allocations: 0 / 305 MB, free: 2.605 MB / 286.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.001388/0.01105, allocations: 0.6645 MB / 305.7 MB, free: 1.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.01109, allocations: 27.91 kB / 305.7 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.01119, allocations: 44.66 kB / 305.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.01165, allocations: 248.5 kB / 306 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.01168, allocations: 25.03 kB / 306 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.01176, allocations: 36.38 kB / 306.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.0125, allocations: 444.4 kB / 306.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.01252, allocations: 192 / 306.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.01256, allocations: 12.38 kB / 306.5 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.01257, allocations: 7.938 kB / 306.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.01308, allocations: 238.5 kB / 306.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.01497, allocations: 0.9889 MB / 307.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.01572, allocations: 247.5 kB / 308 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/0.01625, allocations: 189.2 kB / 308.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.01658, allocations: 72.16 kB / 308.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.01661, allocations: 38.8 kB / 308.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.01661, allocations: 0 / 308.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001399/0.01801, allocations: 444.6 kB / 308.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.01807, allocations: 81.11 kB / 308.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.01841, allocations: 300.5 kB / 309.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.01845, allocations: 33.7 kB / 309.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.01862, allocations: 220.2 kB / 309.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.01871, allocations: 107.2 kB / 309.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.01883, allocations: 70.06 kB / 309.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.019, allocations: 346.8 kB / 309.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.01923, allocations: 96.7 kB / 309.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.01953, allocations: 199.7 kB / 310.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.02008, allocations: 287 kB / 310.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.02009, allocations: 4.031 kB / 310.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008346/0.02092, allocations: 413.6 kB / 310.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.02094, allocations: 14.97 kB / 310.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.02095, allocations: 0 / 310.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.02125, allocations: 72.75 kB / 310.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.02157, allocations: 67.91 kB / 311 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.02367, allocations: 1.813 MB / 312.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.02391, allocations: 35.73 kB / 312.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.02394, allocations: 12 kB / 312.8 MB, free: 10.39 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.0002006/0.02414, allocations: 149.7 kB / 313 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.02421, allocations: 35.88 kB / 313 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007492/0.02496, allocations: 317.6 kB / 313.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.02496, allocations: 4 kB / 313.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.02496, allocations: 0 / 313.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.02497, allocations: 3.938 kB / 313.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.02537, allocations: 281 kB / 313.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.02537, allocations: 0 / 313.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.0257, allocations: 51.97 kB / 313.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.02591, allocations: 64.8 kB / 313.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.02594, allocations: 8 kB / 313.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005184/0.02646, allocations: 0.607 MB / 314.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02646, allocations: 0 / 314.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.02744, allocations: 0.5005 MB / 314.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.02757, allocations: 55.7 kB / 314.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.02762, allocations: 7.938 kB / 314.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.02789, allocations: 19.98 kB / 314.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.02795, allocations: 15.97 kB / 314.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.02797, allocations: 8 kB / 314.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.02819, allocations: 207.1 kB / 315.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02819, allocations: 4 kB / 315.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004602/0.02865, allocations: 119.7 kB / 315.3 MB, free: 7.863 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.0002368/0.02889, allocations: 131.2 kB / 315.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.02974, allocations: 386.6 kB / 315.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02974, allocations: 4.188 kB / 315.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.03009, allocations: 127.8 kB / 315.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.03044, allocations: 36.62 kB / 315.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.0317, allocations: 0.7381 MB / 316.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.0319, allocations: 190.5 kB / 316.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.03202, allocations: 38.89 kB / 316.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.0321, allocations: 24.5 kB / 316.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.0321, allocations: 0 / 316.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of Templates: time 0.008508/0.04061, allocations: 3.6 MB / 320.5 MB, free: 2.547 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.473172012716532]