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.002023/0.002023, allocations: 76.55 kB / 21.24 MB, free: 476 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.002519/0.002519, allocations: 168.1 kB / 24.49 MB, free: 3.645 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.373/1.373, allocations: 158.6 MB / 186.3 MB, free: 6.492 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.00187/0.00187, allocations: 59.92 kB / 298.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2418, allocations: 49.14 MB / 347.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004412/0.2462, allocations: 2.905 MB / 350.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2479, allocations: 0.9475 MB / 351.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.248, allocations: 7.938 kB / 351.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.2482, allocations: 59.41 kB / 351.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.2486, allocations: 130.9 kB / 351.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2489, allocations: 147.6 kB / 351.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.2494, allocations: 485.9 kB / 352.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.2497, allocations: 107.3 kB / 352.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.25, allocations: 299.1 kB / 352.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2503, allocations: 179.1 kB / 353 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.2503, allocations: 40 kB / 353 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2505, allocations: 67.97 kB / 353.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.2506, allocations: 95.67 kB / 353.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.2508, allocations: 183.1 kB / 353.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.2514, allocations: 0.4893 MB / 353.9 MB, free: 9.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2514, allocations: 3.938 kB / 353.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2514, allocations: 8 kB / 353.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2514, allocations: 0 / 353.9 MB, free: 9.562 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.001332/0.2527, allocations: 0.6646 MB / 354.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2527, allocations: 11.98 kB / 354.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.2529, allocations: 52.66 kB / 354.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.2533, allocations: 245.3 kB / 354.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.2533, allocations: 29.03 kB / 354.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.2534, allocations: 32.38 kB / 354.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.2541, allocations: 448.2 kB / 355.3 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2541, allocations: 4 kB / 355.3 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.2541, allocations: 19.94 kB / 355.4 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2541, allocations: 8 kB / 355.4 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.2546, allocations: 226.5 kB / 355.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.2569, allocations: 0.9811 MB / 356.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/0.2579, allocations: 251.5 kB / 356.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/0.2586, allocations: 189.2 kB / 357 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/0.259, allocations: 68.16 kB / 357.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.2591, allocations: 38.8 kB / 357.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 3.035e-06/0.2591, allocations: 0 / 357.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.002021/0.2611, allocations: 445.3 kB / 357.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.2612, allocations: 85.05 kB / 357.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.2617, allocations: 300.4 kB / 357.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.2618, allocations: 33.7 kB / 357.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.262, allocations: 220.3 kB / 358.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2621, allocations: 107.1 kB / 358.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2623, allocations: 70.02 kB / 358.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.2626, allocations: 342.8 kB / 358.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.2629, allocations: 104.7 kB / 358.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.2634, allocations: 203.7 kB / 359 MB, free: 4.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.2642, allocations: 276 kB / 359.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.2642, allocations: 0 / 359.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001283/0.2655, allocations: 421.4 kB / 359.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2655, allocations: 4 kB / 359.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2655, allocations: 4 kB / 359.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.2659, allocations: 72.69 kB / 359.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.2664, allocations: 75.89 kB / 359.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.2694, allocations: 1.813 MB / 361.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.2698, allocations: 31.73 kB / 361.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.2699, allocations: 19.98 kB / 361.7 MB, free: 1.348 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.00027/0.2701, allocations: 153.8 kB / 361.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.2702, allocations: 35.75 kB / 361.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.2714, allocations: 317.6 kB / 362.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2714, allocations: 4 kB / 362.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2714, allocations: 0 / 362.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2714, allocations: 3.984 kB / 362.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.272, allocations: 277 kB / 362.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.272, allocations: 4 kB / 362.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.2725, allocations: 51.95 kB / 362.5 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003002/0.2728, allocations: 56.91 kB / 362.5 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.2728, allocations: 11.98 kB / 362.6 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008682/0.2737, allocations: 0.6109 MB / 363.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2737, allocations: 4.062 kB / 363.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2752, allocations: 0.4926 MB / 363.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.2754, allocations: 55.66 kB / 363.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.2754, allocations: 8 kB / 363.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.2759, allocations: 23.92 kB / 363.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.2759, allocations: 15.95 kB / 363.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.276, allocations: 16.19 kB / 363.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003653/0.2763, allocations: 203.1 kB / 364 MB, free: 14.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2763, allocations: 3.938 kB / 364 MB, free: 14.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008588/0.2772, allocations: 123.7 kB / 364.1 MB, free: 14.8 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.0002722/0.2775, allocations: 127.1 kB / 364.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.2787, allocations: 378.4 kB / 364.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2787, allocations: 0 / 364.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.2793, allocations: 132.3 kB / 364.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.2799, allocations: 32.59 kB / 364.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.2822, allocations: 0.8559 MB / 365.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.2825, allocations: 186.5 kB / 365.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.2827, allocations: 38.89 kB / 365.8 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2828, allocations: 32.48 kB / 365.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.383e-06/0.2828, allocations: 0 / 365.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of Templates: time 0.01345/0.2963, allocations: 3.604 MB / 369.5 MB, free: 9.363 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 -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.826789768412709]