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.Differentiator.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.Differentiator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 194.9 MB / 211.1 MB, free: 7.441 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003524, allocations: 8 kB / 264.1 MB, free: 2.359 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2879, allocations: 44.5 MB / 308.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003655/0.2917, allocations: 2.107 MB / 310.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2932, allocations: 0.6285 MB / 311.3 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2934, allocations: 7.938 kB / 311.3 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.098e-05/0.2935, allocations: 31.7 kB / 311.3 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.2938, allocations: 87.73 kB / 311.4 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.2941, allocations: 39.95 kB / 311.5 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.2945, allocations: 207.4 kB / 311.7 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2947, allocations: 56.8 kB / 311.7 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.295, allocations: 103.7 kB / 311.8 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.2952, allocations: 119.5 kB / 311.9 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.2953, allocations: 16 kB / 312 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.2953, allocations: 12 kB / 312 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.2954, allocations: 35.83 kB / 312 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.2955, allocations: 73.52 kB / 312.1 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.2958, allocations: 212.4 kB / 312.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2959, allocations: 0 / 312.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2959, allocations: 0 / 312.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2959, allocations: 0 / 312.3 MB, free: 8.883 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001443/0.2974, allocations: 0.5635 MB / 312.8 MB, free: 8.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.2974, allocations: 12.03 kB / 312.9 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.448e-05/0.2975, allocations: 50.48 kB / 312.9 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.2976, allocations: 23.72 kB / 312.9 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.298, allocations: 258.5 kB / 313.2 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.298, allocations: 12.38 kB / 313.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.2981, allocations: 20 kB / 313.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.2989, allocations: 228.3 kB / 313.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.299, allocations: 0 / 313.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.299, allocations: 4 kB / 313.4 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.299, allocations: 11.98 kB / 313.5 MB, free: 7.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3001, allocations: 223.6 kB / 313.7 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.3022, allocations: 0.8054 MB / 314.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3033, allocations: 218.6 kB / 314.7 MB, free: 6.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3034, allocations: 3.953 kB / 314.7 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006571/0.304, allocations: 165.1 kB / 314.9 MB, free: 6.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.3041, allocations: 3.938 kB / 314.9 MB, free: 6.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.00146/0.3055, allocations: 289.3 kB / 315.1 MB, free: 5.809 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.3056, allocations: 77.11 kB / 315.2 MB, free: 5.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.306, allocations: 235.3 kB / 315.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3061, allocations: 29.64 kB / 315.5 MB, free: 5.441 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.3063, allocations: 168 kB / 315.6 MB, free: 5.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.3063, allocations: 39.45 kB / 315.7 MB, free: 5.234 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.3064, allocations: 4 kB / 315.7 MB, free: 5.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3065, allocations: 326.8 kB / 316 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.307, allocations: 96.25 kB / 316.1 MB, free: 4.809 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.3076, allocations: 147.5 kB / 316.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.3081, allocations: 113.7 kB / 316.4 MB, free: 4.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3081, allocations: 0 / 316.4 MB, free: 4.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001218/0.3094, allocations: 315 kB / 316.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.3094, allocations: 33.7 kB / 316.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3095, allocations: 0 / 316.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.3095, allocations: 4 kB / 316.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.3099, allocations: 55.89 kB / 316.8 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.31, allocations: 4 kB / 316.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.3104, allocations: 47.84 kB / 316.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.3105, allocations: 8 kB / 316.8 MB, free: 4.047 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.3107, allocations: 135.5 kB / 316.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.3108, allocations: 23.67 kB / 317 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.3109, allocations: 25.39 kB / 317 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3109, allocations: 0 / 317 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3109, allocations: 0 / 317 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3109, allocations: 4 kB / 317 MB, free: 3.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.3113, allocations: 277.4 kB / 317.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3113, allocations: 4 kB / 317.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.3117, allocations: 39.97 kB / 317.3 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.3117, allocations: 7.938 kB / 317.3 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.3118, allocations: 7.938 kB / 317.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3118, allocations: 0 / 317.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3118, allocations: 0 / 317.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.3133, allocations: 332.7 kB / 317.6 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3134, allocations: 100.8 kB / 317.7 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.3135, allocations: 8.062 kB / 317.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3139, allocations: 27.92 kB / 317.8 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.314, allocations: 19.97 kB / 317.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.314, allocations: 4 kB / 317.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.3143, allocations: 168.5 kB / 318 MB, free: 2.789 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3143, allocations: 0 / 318 MB, free: 2.789 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004008/0.3147, allocations: 59.84 kB / 318 MB, free: 2.73 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00189/0.3166, allocations: 0.8738 MB / 318.9 MB, free: 1.828 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3178, allocations: 262.8 kB / 319.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3178, allocations: 0 / 319.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.3184, allocations: 100.2 kB / 319.3 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.3188, allocations: 37.47 kB / 319.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.323, allocations: 1.448 MB / 320.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3235, allocations: 0.7482 MB / 321.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.3237, allocations: 21.95 kB / 321.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3239, allocations: 63.41 kB / 321.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3239, allocations: 0 / 321.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3518, allocations: 4.227 MB / 325.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003489/0.3522, allocations: 194 kB / 326 MB, free: 10.62 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/2.76, allocations: 0 / 326 MB, free: 10.62 MB / 266.7 MB "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,Vin,Vns,Vps,c.C,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),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,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.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