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.NonInvertingAmp.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.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003755, allocations: 11.98 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003605/0.2928, allocations: 2.193 MB / 310.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2942, allocations: 0.6363 MB / 311.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.2944, allocations: 4 kB / 311.4 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.747e-05/0.2945, allocations: 31.75 kB / 311.4 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.2948, allocations: 103.7 kB / 311.5 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.2951, allocations: 47.88 kB / 311.6 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.2955, allocations: 227.4 kB / 311.8 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.2957, allocations: 65.14 kB / 311.9 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2959, allocations: 103.6 kB / 312 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.2961, allocations: 119.5 kB / 312.1 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.2962, allocations: 16 kB / 312.1 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.2963, allocations: 12 kB / 312.1 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.2964, allocations: 51.81 kB / 312.2 MB, free: 9.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.2965, allocations: 73.52 kB / 312.2 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.2968, allocations: 228.3 kB / 312.5 MB, free: 8.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.2968, allocations: 0 / 312.5 MB, free: 8.738 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2968, allocations: 0 / 312.5 MB, free: 8.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2969, allocations: 4 kB / 312.5 MB, free: 8.734 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.001419/0.2983, allocations: 0.5794 MB / 313 MB, free: 8.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2983, allocations: 12.03 kB / 313.1 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.258e-05/0.2984, allocations: 50.55 kB / 313.1 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.2985, allocations: 27.72 kB / 313.1 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.299, allocations: 267.5 kB / 313.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.299, allocations: 12.44 kB / 313.4 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.2991, allocations: 20 kB / 313.4 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.2999, allocations: 227.2 kB / 313.6 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2999, allocations: 0 / 313.6 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.3, allocations: 12 kB / 313.7 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3, allocations: 7.938 kB / 313.7 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3011, allocations: 233.5 kB / 313.9 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.3033, allocations: 0.8542 MB / 314.7 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3044, allocations: 214.6 kB / 315 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3044, allocations: 4 kB / 315 MB, free: 6.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006483/0.3051, allocations: 177.8 kB / 315.1 MB, free: 5.844 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.3051, allocations: 0 / 315.1 MB, free: 5.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.003199/0.3083, allocations: 0.5499 MB / 315.7 MB, free: 5.266 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.3084, allocations: 106.8 kB / 315.8 MB, free: 5.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.3088, allocations: 264.8 kB / 316 MB, free: 4.871 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.3089, allocations: 29.7 kB / 316.1 MB, free: 4.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.309, allocations: 171.9 kB / 316.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.3091, allocations: 51.31 kB / 316.3 MB, free: 4.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.3091, allocations: 4 kB / 316.3 MB, free: 4.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3093, allocations: 330.8 kB / 316.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.3098, allocations: 99.94 kB / 316.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.3103, allocations: 165.3 kB / 316.9 MB, free: 3.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.3109, allocations: 125.7 kB / 317 MB, free: 3.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3109, allocations: 4 kB / 317 MB, free: 3.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001781/0.3127, allocations: 411.7 kB / 317.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.3127, allocations: 41.7 kB / 317.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3127, allocations: 0 / 317.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/0.3135, allocations: 96.78 kB / 317.5 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.3139, allocations: 47.91 kB / 317.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/0.3176, allocations: 1.774 MB / 319.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.3181, allocations: 44.09 kB / 319.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.3182, allocations: 12 kB / 319.4 MB, free: 1.266 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.3184, allocations: 148.5 kB / 319.6 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.3185, allocations: 23.7 kB / 319.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.3186, allocations: 25.84 kB / 319.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3186, allocations: 0 / 319.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3186, allocations: 0 / 319.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3186, allocations: 7.984 kB / 319.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.319, allocations: 293.3 kB / 319.9 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.319, allocations: 0 / 319.9 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3193, allocations: 31.91 kB / 319.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007018/0.32, allocations: 96.78 kB / 320 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.32, allocations: 0 / 320 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.3235, allocations: 1.75 MB / 321.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3235, allocations: 0 / 321.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.3251, allocations: 338 kB / 322.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.3252, allocations: 108.8 kB / 322.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.3253, allocations: 0 / 322.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.3257, allocations: 35.97 kB / 322.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3258, allocations: 24.09 kB / 322.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3258, allocations: 4 kB / 322.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.3261, allocations: 184.5 kB / 322.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3261, allocations: 0 / 322.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005311/0.3266, allocations: 71.84 kB / 322.5 MB, free: 13.91 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/0.3286, allocations: 0.8784 MB / 323.4 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.33, allocations: 398 kB / 323.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.33, allocations: 4 kB / 323.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000688/0.3307, allocations: 234.8 kB / 324 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.331, allocations: 32.55 kB / 324.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.3376, allocations: 1.736 MB / 325.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.3381, allocations: 0.7518 MB / 326.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.3383, allocations: 26.28 kB / 326.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3384, allocations: 67.42 kB / 326.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of SimCode: time 1.163e-06/0.3384, allocations: 4 kB / 326.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.3707, allocations: 5.326 MB / 332 MB, free: 4.344 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/0.3711, allocations: 223 kB / 332.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/2.881, allocations: 3.938 kB / 332.2 MB, free: 4.094 MB / 266.7 MB "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:R1,R2,Vin,Vns,Vps,f,ground.p.i,ground.p.v,k,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,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.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