Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002409/0.002409, allocations: 210.1 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.2 MB / 256.2 MB, free: 8.566 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 64.03 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2499, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004632/0.2545, allocations: 3.276 MB / 433.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.2563, allocations: 1.025 MB / 434.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.2564, allocations: 4 kB / 434.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.2566, allocations: 63.36 kB / 434.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.257, allocations: 138.8 kB / 434.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.2573, allocations: 147.7 kB / 434.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.2578, allocations: 486 kB / 434.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.258, allocations: 103.1 kB / 435 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.2583, allocations: 187.3 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2585, allocations: 211.1 kB / 435.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.173e-05/0.2586, allocations: 40 kB / 435.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.2587, allocations: 75.97 kB / 435.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.2588, allocations: 99.61 kB / 435.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.259, allocations: 210.9 kB / 435.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.2596, allocations: 0.4993 MB / 436.3 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2596, allocations: 0 / 436.3 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2596, allocations: 0 / 436.3 MB, free: 1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2596, allocations: 0 / 436.3 MB, free: 1 MB / 334.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.001442/0.2611, allocations: 0.7553 MB / 437.1 MB, free: 200 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2611, allocations: 16.03 kB / 437.1 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.2613, allocations: 56.59 kB / 437.2 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.2617, allocations: 311.6 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.2618, allocations: 29.03 kB / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.2618, allocations: 32.38 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.2625, allocations: 349.3 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2625, allocations: 4 kB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.2626, allocations: 16 kB / 437.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2626, allocations: 8 kB / 437.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.2631, allocations: 230.5 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.2651, allocations: 1.178 MB / 439.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.2658, allocations: 267.6 kB / 439.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.2663, allocations: 201.1 kB / 439.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009334/0.2672, allocations: 1.121 MB / 440.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2672, allocations: 38.8 kB / 440.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.2672, allocations: 0 / 440.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001444/0.2687, allocations: 0.5289 MB / 441.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.2687, allocations: 81.11 kB / 441.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.2691, allocations: 337.7 kB / 441.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.2692, allocations: 29.7 kB / 441.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.2693, allocations: 216.5 kB / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.2694, allocations: 107.1 kB / 442.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2695, allocations: 74.02 kB / 442.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2697, allocations: 354.7 kB / 442.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.27, allocations: 100.7 kB / 442.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.2703, allocations: 193.9 kB / 442.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.2708, allocations: 279.6 kB / 443.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2708, allocations: 0 / 443.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008411/0.2716, allocations: 438 kB / 443.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2716, allocations: 8 kB / 443.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2716, allocations: 0 / 443.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.2719, allocations: 72.81 kB / 443.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.2722, allocations: 75.89 kB / 443.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.2744, allocations: 1.959 MB / 445.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.2747, allocations: 35.73 kB / 445.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.2747, allocations: 19.98 kB / 445.8 MB, free: 6.816 MB / 350.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.0001884/0.2749, allocations: 149.8 kB / 445.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.275, allocations: 39.77 kB / 445.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.2757, allocations: 326.3 kB / 446.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2757, allocations: 4 kB / 446.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2757, allocations: 3.938 kB / 446.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2757, allocations: 4 kB / 446.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.2762, allocations: 393.3 kB / 446.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2762, allocations: 0 / 446.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.2766, allocations: 59.89 kB / 446.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.2768, allocations: 52.83 kB / 446.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.2768, allocations: 11.98 kB / 446.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004616/0.2772, allocations: 0.6109 MB / 447.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2772, allocations: 0 / 447.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.2782, allocations: 0.5289 MB / 447.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.2783, allocations: 108.9 kB / 448 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.2783, allocations: 7.984 kB / 448 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.2786, allocations: 19.98 kB / 448.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.2787, allocations: 19.92 kB / 448.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.2787, allocations: 15.98 kB / 448.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.279, allocations: 239.2 kB / 448.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.279, allocations: 4 kB / 448.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.2795, allocations: 115.8 kB / 448.4 MB, free: 4.004 MB / 350.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.0002226/0.2797, allocations: 127 kB / 448.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008569/0.2805, allocations: 406.3 kB / 449 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2805, allocations: 0 / 449 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.2809, allocations: 131.9 kB / 449.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.2812, allocations: 41.45 kB / 449.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.2827, allocations: 0.8846 MB / 450 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.2832, allocations: 0.7951 MB / 450.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.2833, allocations: 34.95 kB / 450.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.2834, allocations: 35.42 kB / 450.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2834, allocations: 0 / 450.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Templates: time 0.009303/0.2927, allocations: 4.164 MB / 455 MB, free: 13.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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,constantVoltage.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.p.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.m_supply.v,opAmp.p_supply.v,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_3,opAmp.v_in,opAmp.v_neg,opAmp.v_pos,opAmp.v_source,opAmp.v_vos,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_heatPort,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.865404773503542]