Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009205/0.0009206, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 226.5 MB / 244.7 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007985/0.0007985, allocations: 101.9 kB / 296.7 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000213/0.0002131, allocations: 8 kB / 356.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1825, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.001907/0.1844, allocations: 2.339 MB / 410.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.1852, allocations: 0.6617 MB / 411.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1853, allocations: 4.562 kB / 411.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.1854, allocations: 36.86 kB / 411.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1855, allocations: 77.22 kB / 411.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.1857, allocations: 59.92 kB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1859, allocations: 322.5 kB / 411.6 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1861, allocations: 74.47 kB / 411.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.1862, allocations: 107.6 kB / 411.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1863, allocations: 132.1 kB / 411.9 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.1863, allocations: 16 kB / 412 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.543e-05/0.1864, allocations: 18.31 kB / 412 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.1864, allocations: 47.75 kB / 412 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.663e-05/0.1865, allocations: 141.1 kB / 412.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1867, allocations: 236.6 kB / 412.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1867, allocations: 0 / 412.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1867, allocations: 3.938 kB / 412.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1867, allocations: 8 kB / 412.4 MB, free: 23.42 MB / 298.7 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.0008823/0.1876, allocations: 0.603 MB / 413 MB, free: 22.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1876, allocations: 8.031 kB / 413 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.1877, allocations: 58.72 kB / 413.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.1877, allocations: 32.56 kB / 413.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.188, allocations: 263.8 kB / 413.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.188, allocations: 16.81 kB / 413.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.188, allocations: 28.36 kB / 413.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.1886, allocations: 289.9 kB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1886, allocations: 4 kB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.1886, allocations: 4 kB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1886, allocations: 4 kB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.1893, allocations: 273.6 kB / 414 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1905, allocations: 0.9296 MB / 414.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.1919, allocations: 499.4 kB / 415.4 MB, free: 20.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.1921, allocations: 108.8 kB / 415.5 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1922, allocations: 0 / 415.5 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.1926, allocations: 181.8 kB / 415.7 MB, free: 19.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1926, allocations: 4 kB / 415.7 MB, free: 19.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001815/0.1944, allocations: 0.6437 MB / 416.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1945, allocations: 110.9 kB / 416.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1946, allocations: 274.5 kB / 416.7 MB, free: 18.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1947, allocations: 29.7 kB / 416.7 MB, free: 18.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.1947, allocations: 179.7 kB / 416.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1948, allocations: 39.53 kB / 416.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.1948, allocations: 8 kB / 416.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.1948, allocations: 334.8 kB / 417.3 MB, free: 18.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.1952, allocations: 111.9 kB / 417.4 MB, free: 18.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.1955, allocations: 217.5 kB / 417.6 MB, free: 17.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.1961, allocations: 317.5 kB / 417.9 MB, free: 17.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1961, allocations: 4 kB / 417.9 MB, free: 17.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001033/0.1972, allocations: 471.8 kB / 418.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1972, allocations: 33.7 kB / 418.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1972, allocations: 4 kB / 418.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.1975, allocations: 64.81 kB / 418.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1977, allocations: 59.94 kB / 418.5 MB, free: 16.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.1992, allocations: 1.53 MB / 420.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.1995, allocations: 55.75 kB / 420.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1995, allocations: 16 kB / 420.1 MB, free: 15.12 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/0.1996, allocations: 138.7 kB / 420.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1997, allocations: 23.72 kB / 420.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.1997, allocations: 29.58 kB / 420.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1997, allocations: 4 kB / 420.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.1997, allocations: 0 / 420.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1997, allocations: 3.984 kB / 420.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2008, allocations: 0.6824 MB / 421 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2008, allocations: 7.984 kB / 421 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.201, allocations: 27.92 kB / 421 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.2012, allocations: 64.81 kB / 421.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2012, allocations: 4.094 kB / 421.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.2025, allocations: 1.514 MB / 422.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2026, allocations: 7.922 kB / 422.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.2035, allocations: 428 kB / 423 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.2035, allocations: 96.83 kB / 423.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.2036, allocations: 11.92 kB / 423.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.2038, allocations: 43.97 kB / 423.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2039, allocations: 15.97 kB / 423.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2039, allocations: 4 kB / 423.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.204, allocations: 190 kB / 423.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.204, allocations: 0 / 423.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.2043, allocations: 67.84 kB / 423.5 MB, free: 11.54 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.2054, allocations: 0.9703 MB / 424.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007599/0.2062, allocations: 410 kB / 424.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2062, allocations: 0 / 424.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.2065, allocations: 223.2 kB / 425.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2069, allocations: 53.08 kB / 425.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2095, allocations: 1.7 MB / 426.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.2097, allocations: 0.744 MB / 427.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2098, allocations: 77.7 kB / 427.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2098, allocations: 0 / 427.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.997/3.207, allocations: 4.638 MB / 432.3 MB, free: 2.551 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_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.simplifiedExpr,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.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_start,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.count,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