Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 50.54 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004268/0.2838, allocations: 2.754 MB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.285, allocations: 0.6972 MB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2852, allocations: 4 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2853, allocations: 43.58 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.2855, allocations: 87.25 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.2858, allocations: 99.81 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.2861, allocations: 354.5 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2864, allocations: 84.69 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2865, allocations: 131.5 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.2867, allocations: 143.4 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.2868, allocations: 28 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/0.2868, allocations: 28 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.2869, allocations: 71.7 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.287, allocations: 143.2 kB / 413.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2874, allocations: 328.5 kB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2874, allocations: 0 / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.2874, allocations: 4 kB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2874, allocations: 0 / 413.8 MB, free: 12.48 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001202/0.2886, allocations: 0.6301 MB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2887, allocations: 12.03 kB / 414.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.2888, allocations: 54.67 kB / 414.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.2888, allocations: 32.64 kB / 414.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.2892, allocations: 275.5 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2892, allocations: 16.8 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.2893, allocations: 28.31 kB / 414.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.2899, allocations: 273.9 kB / 415.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2899, allocations: 4 kB / 415.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.29, allocations: 8 kB / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.29, allocations: 4 kB / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006914/0.2907, allocations: 237.6 kB / 415.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2921, allocations: 0.9101 MB / 416.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2934, allocations: 439.4 kB / 416.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.2937, allocations: 92.78 kB / 416.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2938, allocations: 0 / 416.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.2942, allocations: 173.7 kB / 416.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2942, allocations: 0 / 416.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001834/0.296, allocations: 0.5692 MB / 417.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.2961, allocations: 110.8 kB / 417.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.2964, allocations: 266.7 kB / 417.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2965, allocations: 33.7 kB / 417.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2966, allocations: 183.6 kB / 418.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2967, allocations: 39.55 kB / 418.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.2968, allocations: 41.7 kB / 418.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2969, allocations: 338.8 kB / 418.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.2972, allocations: 95.92 kB / 418.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.2976, allocations: 202 kB / 418.8 MB, free: 7.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.2983, allocations: 300.9 kB / 419.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2983, allocations: 0 / 419.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001159/0.2995, allocations: 439.8 kB / 419.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.2995, allocations: 37.64 kB / 419.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2996, allocations: 0 / 419.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.2999, allocations: 64.88 kB / 419.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.3001, allocations: 51.91 kB / 419.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.3021, allocations: 1.621 MB / 421.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.3025, allocations: 55.66 kB / 421.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3025, allocations: 8 kB / 421.3 MB, free: 4.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.3027, allocations: 149.7 kB / 421.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.3027, allocations: 27.81 kB / 421.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.3028, allocations: 21.7 kB / 421.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3028, allocations: 0 / 421.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.3028, allocations: 0 / 421.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3028, allocations: 4 kB / 421.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.3041, allocations: 0.6432 MB / 422.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3041, allocations: 8 kB / 422.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3042, allocations: 27.97 kB / 422.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.3044, allocations: 52.81 kB / 422.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3045, allocations: 0 / 422.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.3062, allocations: 1.597 MB / 423.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3063, allocations: 0 / 423.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.3072, allocations: 400 kB / 424.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.3073, allocations: 93.02 kB / 424.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.3073, allocations: 11.94 kB / 424.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3076, allocations: 35.95 kB / 424.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.3077, allocations: 11.98 kB / 424.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3077, allocations: 7.984 kB / 424.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.3079, allocations: 194 kB / 424.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3079, allocations: 4 kB / 424.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.3083, allocations: 63.84 kB / 424.7 MB, free: 0.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.3095, allocations: 0.9236 MB / 425.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008813/0.3104, allocations: 393.9 kB / 426 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3104, allocations: 0 / 426 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.3108, allocations: 203.3 kB / 426.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3112, allocations: 52.44 kB / 426.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.3158, allocations: 3.001 MB / 429.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3161, allocations: 0.7401 MB / 430 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.3162, allocations: 26.28 kB / 430 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.3163, allocations: 71.42 kB / 430.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3163, allocations: 0 / 430.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.346, allocations: 6.193 MB / 436.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.38, allocations: 12 kB / 436.3 MB, free: 5.07 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:Ri,Rl,Vin,Vns,Vps,f,ground.p.i,ground.p.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.strict,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,ri.LossPower,ri.R,ri.R_actual,ri.T,ri.T_heatPort,ri.T_ref,ri.alpha,ri.i,ri.n.i,ri.n.v,ri.p.i,ri.p.v,ri.useHeatPort,ri.v,rl.LossPower,rl.R,rl.R_actual,rl.T,rl.T_heatPort,rl.T_ref,rl.alpha,rl.i,rl.n.i,rl.n.v,rl.p.i,rl.p.v,rl.useHeatPort,rl.v,time,vIn.V,vIn.falling,vIn.i,vIn.n.i,vIn.n.v,vIn.nperiod,vIn.offset,vIn.p.i,vIn.p.v,vIn.period,vIn.rising,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.signalSource.y,vIn.startTime,vIn.v,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v