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.0007531/0.0007571, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009637/0.0009637, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002105, allocations: 4 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08235, allocations: 51.53 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002711/0.0851, allocations: 2.427 MB / 361.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.08636, allocations: 0.7013 MB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.08655, allocations: 4 kB / 362.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.08669, allocations: 31.77 kB / 362.5 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.08692, allocations: 79.38 kB / 362.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.0872, allocations: 87.91 kB / 362.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.08756, allocations: 330.6 kB / 363 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.08773, allocations: 69.14 kB / 363.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.08791, allocations: 111.5 kB / 363.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.0881, allocations: 127.4 kB / 363.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.08815, allocations: 16 kB / 363.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.0882, allocations: 12 kB / 363.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.08826, allocations: 55.7 kB / 363.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.0884, allocations: 157 kB / 363.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.08867, allocations: 303 kB / 363.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.08868, allocations: 0 / 363.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08869, allocations: 4 kB / 363.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.0887, allocations: 0 / 363.9 MB, free: 8.668 MB / 302.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.001111/0.08982, allocations: 0.6016 MB / 364.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.08988, allocations: 16.03 kB / 364.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.445e-05/0.08996, allocations: 50.73 kB / 364.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.09004, allocations: 32.56 kB / 364.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.09036, allocations: 271.5 kB / 364.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.09039, allocations: 16.81 kB / 364.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.09043, allocations: 16.38 kB / 364.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.09109, allocations: 297.8 kB / 365.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.09111, allocations: 0 / 365.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.09114, allocations: 12 kB / 365.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.09115, allocations: 4 kB / 365.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.09192, allocations: 277.6 kB / 365.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.09343, allocations: 0.9335 MB / 366.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.09495, allocations: 499.4 kB / 366.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.09528, allocations: 104.8 kB / 367 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.09531, allocations: 4 kB / 367 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.09578, allocations: 185.7 kB / 367.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.09579, allocations: 0 / 367.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002045/0.09784, allocations: 0.6474 MB / 367.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.09791, allocations: 102.8 kB / 367.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.09818, allocations: 278.6 kB / 368.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.09821, allocations: 33.64 kB / 368.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.09833, allocations: 191.6 kB / 368.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.09836, allocations: 31.55 kB / 368.4 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.09841, allocations: 29.7 kB / 368.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.09851, allocations: 338.7 kB / 368.8 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.09885, allocations: 107.9 kB / 368.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.09925, allocations: 215.4 kB / 369.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.09996, allocations: 332.9 kB / 369.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.09997, allocations: 4 kB / 369.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001171/0.1011, allocations: 463.9 kB / 369.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.1012, allocations: 37.69 kB / 369.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1012, allocations: 4 kB / 369.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.1015, allocations: 72.88 kB / 370 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.1017, allocations: 51.91 kB / 370 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.1036, allocations: 1.526 MB / 371.6 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.1039, allocations: 68.17 kB / 371.6 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.104, allocations: 16 kB / 371.6 MB, free: 312 kB / 302.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.0001219/0.1041, allocations: 144.2 kB / 371.8 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1041, allocations: 23.72 kB / 371.8 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1042, allocations: 33.62 kB / 371.8 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1042, allocations: 11.98 kB / 371.9 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1042, allocations: 0 / 371.9 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1042, allocations: 0 / 371.9 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1348/0.239, allocations: 0.6674 MB / 372.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2391, allocations: 0.9688 kB / 372.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2392, allocations: 33.33 kB / 372.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.2395, allocations: 64.83 kB / 372.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2395, allocations: 2.281 kB / 372.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.2411, allocations: 1.52 MB / 374.1 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2411, allocations: 0 / 374.1 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2421, allocations: 431.1 kB / 374.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.2422, allocations: 106.3 kB / 374.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.2422, allocations: 1.953 kB / 374.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.2425, allocations: 46.16 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.2426, allocations: 18.52 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2426, allocations: 7.734 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.2428, allocations: 192 kB / 374.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2428, allocations: 0 / 374.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.2431, allocations: 59.86 kB / 375 MB, free: 17.62 MB / 302.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.001178/0.2443, allocations: 0.97 MB / 376 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.2452, allocations: 415.4 kB / 376.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2452, allocations: 0 / 376.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.2456, allocations: 224.9 kB / 376.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.246, allocations: 43.27 kB / 376.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.2507, allocations: 3.187 MB / 379.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2508, allocations: 0.7431 MB / 380.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.2509, allocations: 27.36 kB / 380.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.251, allocations: 73.38 kB / 380.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.251, allocations: 0 / 380.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.2671, allocations: 5.416 MB / 386.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/0.2672, allocations: 244.6 kB / 386.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.975, allocations: 1.281 kB / 386.3 MB, free: 13.22 MB / 302.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