Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 105 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003072/0.003071, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.793/2.793, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 51.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3588, allocations: 49.43 MB / 400.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004648/0.3635, allocations: 2.74 MB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3652, allocations: 0.6661 MB / 403.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.3656, allocations: 4 kB / 403.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3659, allocations: 39.58 kB / 403.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.3665, allocations: 91.25 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.367, allocations: 99.81 kB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.3678, allocations: 354.5 kB / 404.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.368, allocations: 76.72 kB / 404.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.3683, allocations: 139.4 kB / 404.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.3685, allocations: 139.4 kB / 404.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.3686, allocations: 28 kB / 404.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.3687, allocations: 32 kB / 404.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.3687, allocations: 67.7 kB / 404.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.3689, allocations: 143.2 kB / 404.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.3693, allocations: 320.6 kB / 405.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3693, allocations: 0 / 405.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3693, allocations: 0 / 405.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3693, allocations: 0 / 405.2 MB, free: 3.863 MB / 318.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.001316/0.3707, allocations: 0.6379 MB / 405.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3707, allocations: 8.031 kB / 405.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.337e-05/0.3708, allocations: 54.73 kB / 405.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.3709, allocations: 28.66 kB / 405.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.3714, allocations: 279.6 kB / 406.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3714, allocations: 16.81 kB / 406.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.3715, allocations: 20.36 kB / 406.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.3722, allocations: 273.9 kB / 406.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3722, allocations: 4 kB / 406.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3722, allocations: 12 kB / 406.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3722, allocations: 4 kB / 406.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.373, allocations: 249.5 kB / 406.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.3745, allocations: 0.9062 MB / 407.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.3761, allocations: 439.4 kB / 408.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.3764, allocations: 96.66 kB / 408.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3764, allocations: 4 kB / 408.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.3769, allocations: 165.9 kB / 408.3 MB, free: 472 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.3769, allocations: 0 / 408.3 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.002092/0.379, allocations: 0.5692 MB / 408.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.3791, allocations: 102.8 kB / 409 MB, free: 15.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.3794, allocations: 282.6 kB / 409.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3794, allocations: 25.7 kB / 409.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3796, allocations: 187.6 kB / 409.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.3796, allocations: 31.55 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.3797, allocations: 49.7 kB / 409.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3798, allocations: 330.8 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.3802, allocations: 99.91 kB / 410 MB, free: 14.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.3806, allocations: 201.6 kB / 410.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.3813, allocations: 297.5 kB / 410.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3813, allocations: 3.938 kB / 410.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001229/0.3825, allocations: 431.8 kB / 410.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.071e-05/0.3826, allocations: 37.7 kB / 410.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3826, allocations: 4.062 kB / 410.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.383, allocations: 60.75 kB / 411 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.3832, allocations: 51.97 kB / 411.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.3856, allocations: 1.621 MB / 412.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.3859, allocations: 59.59 kB / 412.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.386, allocations: 12 kB / 412.8 MB, free: 11.7 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.0001597/0.3861, allocations: 146.3 kB / 412.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.3862, allocations: 19.75 kB / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.3862, allocations: 29.7 kB / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3863, allocations: 0 / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3863, allocations: 0 / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3863, allocations: 0 / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.388, allocations: 0.6473 MB / 413.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.388, allocations: 0 / 413.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.3882, allocations: 27.97 kB / 413.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.3885, allocations: 56.81 kB / 413.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3885, allocations: 4 kB / 413.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.3911, allocations: 1.597 MB / 415.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3911, allocations: 0 / 415.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3924, allocations: 388 kB / 415.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3925, allocations: 100.8 kB / 415.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.3926, allocations: 4 kB / 415.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.3929, allocations: 31.95 kB / 415.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.3931, allocations: 19.92 kB / 415.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3931, allocations: 7.938 kB / 415.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.3933, allocations: 194 kB / 416 MB, free: 8.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3934, allocations: 0 / 416 MB, free: 8.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005318/0.3939, allocations: 67.84 kB / 416.1 MB, free: 8.129 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.001712/0.3956, allocations: 0.9355 MB / 417 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.3969, allocations: 389.9 kB / 417.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3969, allocations: 0 / 417.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.3974, allocations: 203.3 kB / 417.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.398, allocations: 50.36 kB / 417.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/0.405, allocations: 2.989 MB / 420.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.4055, allocations: 0.7443 MB / 421.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.4057, allocations: 26.28 kB / 421.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.4059, allocations: 71.42 kB / 421.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4059, allocations: 7.938 kB / 421.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/0.459, allocations: 6.173 MB / 427.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 28.53/28.99, allocations: 8.688 kB / 427.6 MB, free: 12.46 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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