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.001479/0.001478, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001531, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2578, allocations: 50.56 MB / 408.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00389/0.2617, allocations: 2.76 MB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.263, allocations: 0.6973 MB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2631, allocations: 4 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.2633, allocations: 39.58 kB / 412.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2635, allocations: 83.27 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.2638, allocations: 111.7 kB / 412.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.2642, allocations: 346.6 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.2643, allocations: 84.69 kB / 413 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.2645, allocations: 131.4 kB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2647, allocations: 143.4 kB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.2648, allocations: 31.94 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.2648, allocations: 32 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.2649, allocations: 67.75 kB / 413.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2651, allocations: 147.2 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.2654, allocations: 321.7 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2655, allocations: 4 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2655, allocations: 0 / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2655, allocations: 0 / 413.8 MB, free: 12.46 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.001214/0.2667, allocations: 0.6377 MB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2667, allocations: 8.031 kB / 414.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.03e-05/0.2668, allocations: 58.73 kB / 414.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.2669, allocations: 32.69 kB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.2673, allocations: 287.6 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2673, allocations: 12.81 kB / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.2674, allocations: 20.38 kB / 414.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.268, allocations: 277.9 kB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.268, allocations: 4 kB / 415.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.2681, allocations: 4 kB / 415.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.2681, allocations: 8 kB / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.2688, allocations: 245.5 kB / 415.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.2704, allocations: 0.9065 MB / 416.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.2721, allocations: 439.4 kB / 416.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.2724, allocations: 92.78 kB / 416.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.2724, allocations: 3.938 kB / 416.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.2729, allocations: 165.8 kB / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.2729, allocations: 0 / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002126/0.2751, allocations: 0.5694 MB / 417.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.2752, allocations: 114.7 kB / 417.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2755, allocations: 270.7 kB / 418 MB, free: 8.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.2755, allocations: 29.7 kB / 418 MB, free: 8.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.2757, allocations: 196 kB / 418.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2757, allocations: 35.73 kB / 418.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.2758, allocations: 45.66 kB / 418.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.276, allocations: 342.8 kB / 418.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.2763, allocations: 95.92 kB / 418.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.2767, allocations: 197.6 kB / 418.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.2775, allocations: 301.8 kB / 419.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2775, allocations: 4 kB / 419.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001217/0.2787, allocations: 427.9 kB / 419.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.2788, allocations: 33.7 kB / 419.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2788, allocations: 7.938 kB / 419.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.2791, allocations: 64.81 kB / 419.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2793, allocations: 51.95 kB / 419.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.2816, allocations: 1.621 MB / 421.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.2819, allocations: 47.84 kB / 421.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2819, allocations: 12 kB / 421.4 MB, free: 4.293 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.0001564/0.2821, allocations: 141.7 kB / 421.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.2822, allocations: 31.86 kB / 421.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.2822, allocations: 25.64 kB / 421.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2822, allocations: 4 kB / 421.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2822, allocations: 0 / 421.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2822, allocations: 0 / 421.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.2836, allocations: 0.6396 MB / 422.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2836, allocations: 4 kB / 422.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2838, allocations: 23.97 kB / 422.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.284, allocations: 56.81 kB / 422.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.284, allocations: 0 / 422.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.2861, allocations: 1.605 MB / 423.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2861, allocations: 3.984 kB / 424 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.2872, allocations: 392 kB / 424.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.2873, allocations: 101.1 kB / 424.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2873, allocations: 4 kB / 424.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2876, allocations: 35.89 kB / 424.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.2877, allocations: 15.98 kB / 424.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2877, allocations: 0 / 424.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.2879, allocations: 201.9 kB / 424.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2879, allocations: 4 kB / 424.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.2883, allocations: 63.89 kB / 424.8 MB, free: 0.7031 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.001416/0.2897, allocations: 0.931 MB / 425.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009849/0.2907, allocations: 389.9 kB / 426.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2907, allocations: 4 kB / 426.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.2911, allocations: 199.3 kB / 426.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.2915, allocations: 44.81 kB / 426.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.2967, allocations: 3 MB / 429.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.2971, allocations: 0.7401 MB / 430 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.2972, allocations: 26.36 kB / 430.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.2974, allocations: 75.41 kB / 430.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2974, allocations: 4 kB / 430.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.3301, allocations: 6.061 MB / 436.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.92, allocations: 12 kB / 436.2 MB, free: 5.152 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.1.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