Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003618, allocations: 12 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004239/0.2961, allocations: 2.177 MB / 310.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2977, allocations: 0.6402 MB / 311.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2979, allocations: 7.938 kB / 311.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.128e-05/0.298, allocations: 35.69 kB / 311.4 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.2983, allocations: 99.72 kB / 311.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2986, allocations: 51.89 kB / 311.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.299, allocations: 219.4 kB / 311.8 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2992, allocations: 65.09 kB / 311.9 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.2995, allocations: 103.6 kB / 312 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.2997, allocations: 119.5 kB / 312.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.2998, allocations: 12 kB / 312.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.2999, allocations: 16 kB / 312.1 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.2999, allocations: 43.81 kB / 312.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3, allocations: 73.58 kB / 312.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.3004, allocations: 228.3 kB / 312.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3004, allocations: 0 / 312.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3004, allocations: 4 kB / 312.4 MB, free: 8.859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3004, allocations: 0 / 312.4 MB, free: 8.859 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001493/0.3019, allocations: 0.5716 MB / 313 MB, free: 8.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.302, allocations: 12.03 kB / 313 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.763e-05/0.3021, allocations: 54.53 kB / 313.1 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.3022, allocations: 27.72 kB / 313.1 MB, free: 8.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.3026, allocations: 255.5 kB / 313.4 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3027, allocations: 24.44 kB / 313.4 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.3028, allocations: 16 kB / 313.4 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.3036, allocations: 235.2 kB / 313.6 MB, free: 7.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3036, allocations: 0 / 313.6 MB, free: 7.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.3037, allocations: 12 kB / 313.6 MB, free: 7.547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3037, allocations: 7.984 kB / 313.6 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3048, allocations: 233.5 kB / 313.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.307, allocations: 0.8202 MB / 314.7 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.3088, allocations: 327.6 kB / 315 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3088, allocations: 0 / 315 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/0.3095, allocations: 162 kB / 315.2 MB, free: 5.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.3095, allocations: 0 / 315.2 MB, free: 5.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.002758/0.3122, allocations: 487.1 kB / 315.6 MB, free: 5.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.3124, allocations: 110.8 kB / 315.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.3128, allocations: 266.5 kB / 316 MB, free: 5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.3128, allocations: 29.7 kB / 316 MB, free: 4.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.313, allocations: 179.7 kB / 316.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.3131, allocations: 39.53 kB / 316.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.3131, allocations: 0 / 316.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3133, allocations: 342.8 kB / 316.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.3138, allocations: 83.94 kB / 316.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.3144, allocations: 189.5 kB / 316.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.3149, allocations: 129.6 kB / 317 MB, free: 3.957 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.3149, allocations: 4 kB / 317 MB, free: 3.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001757/0.3167, allocations: 391.9 kB / 317.4 MB, free: 3.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.3168, allocations: 37.7 kB / 317.4 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3168, allocations: 4 kB / 317.4 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006849/0.3175, allocations: 76.83 kB / 317.5 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.3179, allocations: 63.89 kB / 317.6 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.321, allocations: 1.501 MB / 319.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.3216, allocations: 47.81 kB / 319.1 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3217, allocations: 12 kB / 319.1 MB, free: 1.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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 0.0002111/0.3219, allocations: 145.2 kB / 319.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.322, allocations: 27.7 kB / 319.3 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.3221, allocations: 25.64 kB / 319.3 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3221, allocations: 4 kB / 319.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3221, allocations: 0 / 319.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.3221, allocations: 3.953 kB / 319.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.324, allocations: 0.6088 MB / 319.9 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.324, allocations: 0 / 319.9 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.3243, allocations: 31.97 kB / 320 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006089/0.3249, allocations: 80.69 kB / 320 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.3249, allocations: 8 kB / 320 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/0.3279, allocations: 1.501 MB / 321.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3279, allocations: 0 / 321.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.3295, allocations: 372 kB / 321.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3296, allocations: 100.8 kB / 322 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.3297, allocations: 0 / 322 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.3301, allocations: 31.97 kB / 322 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.3302, allocations: 19.97 kB / 322.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3303, allocations: 8 kB / 322.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002777/0.3306, allocations: 186 kB / 322.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3306, allocations: 4 kB / 322.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005173/0.3311, allocations: 55.94 kB / 322.3 MB, free: 14.23 MB / 266.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.001852/0.333, allocations: 0.9042 MB / 323.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.3343, allocations: 382.2 kB / 323.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3343, allocations: 0 / 323.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.3349, allocations: 211.2 kB / 323.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3354, allocations: 28.55 kB / 323.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.3399, allocations: 1.527 MB / 325.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.3404, allocations: 0.7479 MB / 326.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.3406, allocations: 22.3 kB / 326.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3408, allocations: 71.41 kB / 326.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3408, allocations: 0 / 326.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.3706, allocations: 5.064 MB / 331.2 MB, free: 5.141 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/0.3709, allocations: 223.2 kB / 331.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/2.815, allocations: 0 / 331.5 MB, free: 4.895 MB / 266.7 MB "" 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.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.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