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.002485/0.002485, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002751/0.002751, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.597/1.597, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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 1.723e-06/1.723e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.766e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004982/0.005009, allocations: 3.178 MB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.007061, allocations: 0.9817 MB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.00724, allocations: 4 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.007449, allocations: 63.36 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.007849, allocations: 130.8 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.00826, allocations: 159.6 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.008851, allocations: 0.5016 MB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.009068, allocations: 91.48 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.009548, allocations: 291.4 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.009808, allocations: 155.5 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.009885, allocations: 40 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.01007, allocations: 71.97 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.01018, allocations: 99.58 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.01038, allocations: 151.6 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.01122, allocations: 0.5178 MB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01122, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01122, allocations: 4 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.01124, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 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.001521/0.01276, allocations: 0.7798 MB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.0128, allocations: 11.98 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.01305, allocations: 76.66 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.01352, allocations: 267.3 kB / 279.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.01355, allocations: 29.03 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.01363, allocations: 36.38 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.01439, allocations: 454.1 kB / 280.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.0144, allocations: 8.125 kB / 280.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.01444, allocations: 16.38 kB / 280.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01445, allocations: 11.94 kB / 280.3 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.01495, allocations: 214.5 kB / 280.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.01719, allocations: 1.118 MB / 281.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.01781, allocations: 240.1 kB / 281.9 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.01838, allocations: 204.1 kB / 282.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.01867, allocations: 68.17 kB / 282.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.01871, allocations: 41.61 kB / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.01871, allocations: 8 kB / 282.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001423/0.02013, allocations: 431.4 kB / 282.6 MB, free: 7.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.0202, allocations: 77.11 kB / 282.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.02065, allocations: 398.2 kB / 283.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.02068, allocations: 33.7 kB / 283.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.02091, allocations: 279 kB / 283.4 MB, free: 6.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.02103, allocations: 115 kB / 283.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.02118, allocations: 79.72 kB / 283.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003069/0.02149, allocations: 0.5313 MB / 284.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.02171, allocations: 88.72 kB / 284.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.02206, allocations: 235.7 kB / 284.4 MB, free: 5.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.02261, allocations: 312.8 kB / 284.7 MB, free: 4.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02261, allocations: 0 / 284.7 MB, free: 4.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008728/0.02348, allocations: 428.3 kB / 285.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.0235, allocations: 8 kB / 285.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.02351, allocations: 0 / 285.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.02397, allocations: 83.7 kB / 285.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.02431, allocations: 71.89 kB / 285.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.027, allocations: 2.426 MB / 287.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.02727, allocations: 39.73 kB / 287.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.02729, allocations: 8 kB / 287.8 MB, free: 1.711 MB / 266.7 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.0002271/0.02752, allocations: 196.5 kB / 288 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.02761, allocations: 39.81 kB / 288 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007534/0.02836, allocations: 324.2 kB / 288.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02836, allocations: 0 / 288.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.02836, allocations: 0 / 288.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.02837, allocations: 0 / 288.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.02887, allocations: 328.3 kB / 288.6 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.02888, allocations: 4 kB / 288.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.02922, allocations: 55.95 kB / 288.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002663/0.02949, allocations: 71.64 kB / 288.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.02952, allocations: 8 kB / 288.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007832/0.0303, allocations: 0.882 MB / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0303, allocations: 0 / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.03132, allocations: 0.5561 MB / 290.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.03139, allocations: 27.75 kB / 290.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.03145, allocations: 15.92 kB / 290.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.03168, allocations: 16.03 kB / 290.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.03175, allocations: 23.95 kB / 290.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.03177, allocations: 4 kB / 290.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003042/0.03208, allocations: 267 kB / 290.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03208, allocations: 0 / 290.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.03257, allocations: 107.8 kB / 290.7 MB, free: 14.7 MB / 282.7 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.0002593/0.03283, allocations: 143 kB / 290.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009484/0.03378, allocations: 459.7 kB / 291.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.03378, allocations: 0 / 291.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.03414, allocations: 139.5 kB / 291.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.03448, allocations: 37.14 kB / 291.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.03588, allocations: 0.7558 MB / 292.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.0362, allocations: 186.5 kB / 292.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.03633, allocations: 34.95 kB / 292.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.03641, allocations: 28.48 kB / 292.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03641, allocations: 0 / 292.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of Templates: time 0.009402/0.04582, allocations: 3.641 MB / 296.1 MB, free: 9.258 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] 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,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.continuous,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.837903999025002]