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.001254/0.001254, allocations: 109.8 kB / 17.06 MB, free: 6.016 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.001316/0.001316, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 47.94 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.312, allocations: 49.44 MB / 400.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004452/0.3165, allocations: 2.741 MB / 403 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.318, allocations: 0.6661 MB / 403.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.3183, allocations: 4 kB / 403.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.3185, allocations: 47.58 kB / 403.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.3188, allocations: 83.25 kB / 403.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.3191, allocations: 95.77 kB / 403.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.3197, allocations: 366.5 kB / 404.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.3199, allocations: 76.72 kB / 404.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3202, allocations: 139.4 kB / 404.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.3204, allocations: 139.4 kB / 404.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.3205, allocations: 32 kB / 404.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.3205, allocations: 28 kB / 404.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.3206, allocations: 63.7 kB / 404.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3208, allocations: 143.3 kB / 404.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.3212, allocations: 325.7 kB / 405.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3212, allocations: 0 / 405.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3212, allocations: 0 / 405.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3212, allocations: 0 / 405.2 MB, free: 3.867 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.001539/0.3228, allocations: 0.6533 MB / 405.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.3229, allocations: 8.031 kB / 405.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.323, allocations: 54.73 kB / 405.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.323, allocations: 28.75 kB / 405.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.3235, allocations: 279.8 kB / 406.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3236, allocations: 12.81 kB / 406.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.3236, allocations: 20.38 kB / 406.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.3243, allocations: 281.9 kB / 406.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3243, allocations: 0 / 406.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.3244, allocations: 4 kB / 406.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3244, allocations: 8 kB / 406.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.3252, allocations: 249.5 kB / 406.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.327, allocations: 0.9026 MB / 407.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.3285, allocations: 439.4 kB / 408.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.3289, allocations: 96.72 kB / 408.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3289, allocations: 4 kB / 408.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/0.3294, allocations: 157.9 kB / 408.3 MB, free: 476 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.3294, allocations: 0 / 408.3 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.002112/0.3315, allocations: 0.5849 MB / 408.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.3316, allocations: 106.8 kB / 409 MB, free: 15.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.3319, allocations: 270.7 kB / 409.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3319, allocations: 29.7 kB / 409.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3321, allocations: 184 kB / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3321, allocations: 35.73 kB / 409.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.3322, allocations: 45.66 kB / 409.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3324, allocations: 346.8 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.3327, allocations: 91.92 kB / 410 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.3332, allocations: 197.6 kB / 410.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007376/0.3339, allocations: 307.6 kB / 410.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3339, allocations: 3.938 kB / 410.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001286/0.3352, allocations: 424 kB / 410.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.3353, allocations: 37.69 kB / 411 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3353, allocations: 4 kB / 411 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.3356, allocations: 64.81 kB / 411 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.3359, allocations: 47.97 kB / 411.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.3382, allocations: 1.624 MB / 412.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.3386, allocations: 51.8 kB / 412.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.3386, allocations: 16.06 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.0001531/0.3388, allocations: 142.2 kB / 412.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.3388, allocations: 27.8 kB / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.3389, allocations: 21.7 kB / 413 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3389, allocations: 4 kB / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3389, allocations: 0 / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3389, allocations: 3.984 kB / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3403, allocations: 0.6438 MB / 413.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3403, allocations: 3.984 kB / 413.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3405, allocations: 19.98 kB / 413.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.3407, allocations: 60.81 kB / 413.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3407, allocations: 0 / 413.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.3428, allocations: 1.601 MB / 415.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3428, allocations: 0 / 415.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3439, allocations: 392.1 kB / 415.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.344, allocations: 101 kB / 415.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.344, allocations: 4 kB / 415.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.3443, allocations: 31.97 kB / 415.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.3444, allocations: 23.91 kB / 415.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3444, allocations: 3.938 kB / 415.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.3446, allocations: 198 kB / 416 MB, free: 8.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3446, allocations: 0 / 416 MB, free: 8.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.345, allocations: 63.89 kB / 416.1 MB, free: 8.117 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.00139/0.3464, allocations: 0.9277 MB / 417 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.3474, allocations: 397.7 kB / 417.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3474, allocations: 288 / 417.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.3479, allocations: 211.4 kB / 417.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3482, allocations: 49.39 kB / 417.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.3534, allocations: 2.999 MB / 420.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3538, allocations: 0.744 MB / 421.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3539, allocations: 22.3 kB / 421.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.354, allocations: 75.41 kB / 421.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.354, allocations: 0 / 421.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.3873, allocations: 6.04 MB / 427.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 7.375 kB / 427.5 MB, free: 12.58 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