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.001177/0.001177, allocations: 122.8 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 198 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 63.89 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2779, allocations: 50.55 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003615/0.2816, allocations: 2.75 MB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2828, allocations: 0.6972 MB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.2829, allocations: 4 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.2831, allocations: 43.58 kB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.2832, allocations: 87.25 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2835, allocations: 99.81 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.2839, allocations: 350.5 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.284, allocations: 88.69 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2842, allocations: 135.5 kB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.2844, allocations: 143.4 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.2844, allocations: 28 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.2845, allocations: 28 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.2845, allocations: 67.7 kB / 413.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2847, allocations: 135.3 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.285, allocations: 328.5 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.285, allocations: 0 / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.285, allocations: 0 / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.285, allocations: 4 kB / 413.8 MB, free: 12.54 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.001175/0.2862, allocations: 0.6379 MB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2862, allocations: 11.97 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.2863, allocations: 54.73 kB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.2864, allocations: 32.64 kB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.2867, allocations: 275.5 kB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2868, allocations: 16.81 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.2868, allocations: 20.38 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.2874, allocations: 277.9 kB / 415.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2875, allocations: 3.938 kB / 415.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.2875, allocations: 12 kB / 415.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2875, allocations: 4 kB / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.2883, allocations: 241.6 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2898, allocations: 0.8985 MB / 416.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.2913, allocations: 443.4 kB / 416.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.2916, allocations: 88.78 kB / 416.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2917, allocations: 12 kB / 416.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.2921, allocations: 169.3 kB / 416.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 4.238e-06/0.2921, allocations: 0 / 416.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002069/0.2942, allocations: 0.577 MB / 417.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.2943, allocations: 102.8 kB / 417.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.2945, allocations: 270.7 kB / 417.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.2946, allocations: 25.7 kB / 417.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2947, allocations: 187.6 kB / 418.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2948, allocations: 31.55 kB / 418.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.2948, allocations: 49.7 kB / 418.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.295, allocations: 338.8 kB / 418.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2953, allocations: 92.3 kB / 418.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.2957, allocations: 205.5 kB / 418.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.2964, allocations: 305.4 kB / 419.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2964, allocations: 0 / 419.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00116/0.2976, allocations: 439.7 kB / 419.5 MB, free: 6.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.2976, allocations: 33.7 kB / 419.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2976, allocations: 4 kB / 419.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.2979, allocations: 60.88 kB / 419.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2981, allocations: 51.91 kB / 419.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.3002, allocations: 1.613 MB / 421.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.3005, allocations: 59.72 kB / 421.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.3006, allocations: 12 kB / 421.3 MB, free: 4.387 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.0001265/0.3007, allocations: 145.7 kB / 421.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3007, allocations: 19.75 kB / 421.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.3008, allocations: 29.7 kB / 421.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3008, allocations: 0 / 421.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.3008, allocations: 0 / 421.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3008, allocations: 0 / 421.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.3021, allocations: 0.6473 MB / 422.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.3021, allocations: 0 / 422.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3023, allocations: 31.84 kB / 422.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.3025, allocations: 60.81 kB / 422.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3025, allocations: 4 kB / 422.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.3044, allocations: 1.597 MB / 423.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3044, allocations: 0 / 423.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3055, allocations: 399.9 kB / 424.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.3056, allocations: 92.92 kB / 424.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.3056, allocations: 4 kB / 424.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.3059, allocations: 35.95 kB / 424.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.306, allocations: 19.97 kB / 424.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.306, allocations: 11.98 kB / 424.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3062, allocations: 186 kB / 424.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3062, allocations: 0 / 424.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.3065, allocations: 67.84 kB / 424.7 MB, free: 0.7969 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.001306/0.3078, allocations: 0.9237 MB / 425.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009035/0.3088, allocations: 393.8 kB / 426 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3088, allocations: 0.8125 kB / 426 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.3092, allocations: 214.5 kB / 426.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3096, allocations: 40.11 kB / 426.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.3145, allocations: 2.993 MB / 429.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3148, allocations: 0.7479 MB / 430 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.3149, allocations: 26.28 kB / 430 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.315, allocations: 71.75 kB / 430 MB, free: 11.15 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.315, allocations: 0 / 430 MB, free: 11.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3441, allocations: 6.192 MB / 436.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.46, allocations: 8 kB / 436.2 MB, free: 5.125 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