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.001445/0.001445, allocations: 83.73 kB / 22 MB, free: 5.18 MB / 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.001481/0.001481, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.347/1.347, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 55.92 kB / 299.4 MB, free: 6.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.212, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004578/0.2166, allocations: 2.905 MB / 351.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2183, allocations: 0.9475 MB / 352.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.2185, allocations: 11.94 kB / 352.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2187, allocations: 55.42 kB / 352.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.219, allocations: 130.9 kB / 352.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.2194, allocations: 151.6 kB / 352.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.22, allocations: 493.8 kB / 353.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.2202, allocations: 99.34 kB / 353.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.2205, allocations: 191.3 kB / 353.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.2207, allocations: 183.1 kB / 353.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.2208, allocations: 40 kB / 353.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.221, allocations: 71.97 kB / 353.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.2211, allocations: 87.69 kB / 353.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2213, allocations: 187.1 kB / 354 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.2218, allocations: 0.4886 MB / 354.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2218, allocations: 4 kB / 354.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2218, allocations: 0 / 354.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2219, allocations: 3.938 kB / 354.5 MB, free: 9.496 MB / 318.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.001366/0.2232, allocations: 0.6685 MB / 355.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2233, allocations: 11.98 kB / 355.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.2233, allocations: 48.66 kB / 355.3 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.2238, allocations: 249.3 kB / 355.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2238, allocations: 25.03 kB / 355.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.2239, allocations: 36.38 kB / 355.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.2246, allocations: 452.2 kB / 356 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2246, allocations: 0 / 356 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.2247, allocations: 16 kB / 356 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2247, allocations: 8 kB / 356 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.2252, allocations: 226.5 kB / 356.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.2271, allocations: 0.985 MB / 357.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.2278, allocations: 251.5 kB / 357.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.2283, allocations: 189.2 kB / 357.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.2287, allocations: 72.16 kB / 357.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.2287, allocations: 38.8 kB / 357.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.2287, allocations: 0 / 357.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.00145/0.2302, allocations: 441.6 kB / 358.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.2303, allocations: 85.05 kB / 358.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.2306, allocations: 300.5 kB / 358.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.2306, allocations: 29.7 kB / 358.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2308, allocations: 224.3 kB / 358.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.2309, allocations: 99.06 kB / 358.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.231, allocations: 78.02 kB / 359 MB, free: 4.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2312, allocations: 346.8 kB / 359.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.2314, allocations: 100.7 kB / 359.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.2318, allocations: 203.7 kB / 359.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.2323, allocations: 280 kB / 359.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2323, allocations: 0 / 359.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008774/0.2332, allocations: 417.4 kB / 360.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2332, allocations: 8 kB / 360.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2332, allocations: 4 kB / 360.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.2335, allocations: 68.75 kB / 360.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.2338, allocations: 71.91 kB / 360.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.2358, allocations: 1.809 MB / 362.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.2361, allocations: 39.75 kB / 362.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.2361, allocations: 16.06 kB / 362.3 MB, free: 1.281 MB / 318.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.0001722/0.2363, allocations: 157.7 kB / 362.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.2364, allocations: 31.75 kB / 362.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007614/0.2371, allocations: 313.7 kB / 362.8 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2371, allocations: 11.94 kB / 362.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2372, allocations: 0 / 362.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2372, allocations: 3.984 kB / 362.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.2375, allocations: 285 kB / 363.1 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2375, allocations: 0 / 363.1 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.2379, allocations: 51.95 kB / 363.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.2381, allocations: 60.81 kB / 363.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.2382, allocations: 4 kB / 363.2 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005077/0.2387, allocations: 0.6186 MB / 363.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2387, allocations: 0 / 363.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.2396, allocations: 0.4888 MB / 364.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2398, allocations: 59.64 kB / 364.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.2398, allocations: 11.94 kB / 364.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.2401, allocations: 19.98 kB / 364.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.2401, allocations: 16.03 kB / 364.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2401, allocations: 12 kB / 364.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.2404, allocations: 207.1 kB / 364.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2404, allocations: 0 / 364.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004731/0.2409, allocations: 119.9 kB / 364.8 MB, free: 14.73 MB / 334.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.000179/0.241, allocations: 119.2 kB / 364.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008637/0.2419, allocations: 390.3 kB / 365.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2419, allocations: 0 / 365.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.2423, allocations: 128.3 kB / 365.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2426, allocations: 36.58 kB / 365.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2441, allocations: 0.8559 MB / 366.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.2443, allocations: 186.5 kB / 366.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2444, allocations: 38.89 kB / 366.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.2445, allocations: 24.5 kB / 366.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2445, allocations: 0 / 366.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Templates: time 0.008928/0.2534, allocations: 3.604 MB / 370.1 MB, free: 9.301 MB / 334.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/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.540007262956351]