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.LowPass.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.LowPass,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 211.1 MB, free: 7.496 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003797, allocations: 8 kB / 264.1 MB, free: 2.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2855, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003837/0.2894, allocations: 2.279 MB / 310.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2911, allocations: 0.683 MB / 311.5 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2913, allocations: 7.938 kB / 311.5 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.211e-05/0.2914, allocations: 31.75 kB / 311.6 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.2918, allocations: 107.7 kB / 311.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.2921, allocations: 59.88 kB / 311.7 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.2925, allocations: 239.4 kB / 312 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.2928, allocations: 77.25 kB / 312 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.293, allocations: 119.5 kB / 312.2 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2933, allocations: 135.4 kB / 312.3 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.2934, allocations: 16 kB / 312.3 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.2934, allocations: 16 kB / 312.3 MB, free: 8.871 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.2935, allocations: 51.81 kB / 312.4 MB, free: 8.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.2936, allocations: 77.52 kB / 312.5 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.294, allocations: 252.2 kB / 312.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.294, allocations: 0 / 312.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2941, allocations: 0 / 312.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2941, allocations: 0 / 312.7 MB, free: 8.492 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001526/0.2956, allocations: 0.5989 MB / 313.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2957, allocations: 8.031 kB / 313.3 MB, free: 7.828 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.685e-05/0.2958, allocations: 58.48 kB / 313.4 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.2959, allocations: 35.62 kB / 313.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.2963, allocations: 270.5 kB / 313.7 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.2964, allocations: 20.44 kB / 313.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.2965, allocations: 20 kB / 313.7 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.2974, allocations: 255.2 kB / 314 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2974, allocations: 4 kB / 314 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.2974, allocations: 8 kB / 314 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.2975, allocations: 4 kB / 314 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2986, allocations: 245.6 kB / 314.2 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.301, allocations: 0.8862 MB / 315.1 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3021, allocations: 323.5 kB / 315.4 MB, free: 5.578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.3021, allocations: 4 kB / 315.4 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006624/0.3028, allocations: 179.6 kB / 315.6 MB, free: 5.379 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.144e-06/0.3028, allocations: 0 / 315.6 MB, free: 5.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.00278/0.3056, allocations: 0.5263 MB / 316.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.3057, allocations: 110.8 kB / 316.2 MB, free: 4.691 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.3061, allocations: 266.8 kB / 316.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.3062, allocations: 29.7 kB / 316.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.3064, allocations: 172 kB / 316.7 MB, free: 4.215 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.3064, allocations: 55.2 kB / 316.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.3065, allocations: 8 kB / 316.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3066, allocations: 342.8 kB / 317.1 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.3071, allocations: 96.41 kB / 317.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.3077, allocations: 168.7 kB / 317.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.3083, allocations: 142.6 kB / 317.5 MB, free: 3.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3083, allocations: 4 kB / 317.5 MB, free: 3.375 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001777/0.3101, allocations: 413 kB / 317.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.3102, allocations: 30.33 kB / 317.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3102, allocations: 4 kB / 317.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/0.3109, allocations: 80.81 kB / 318 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.3114, allocations: 67.89 kB / 318.1 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.3144, allocations: 1.493 MB / 319.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.3149, allocations: 63.7 kB / 319.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.315, allocations: 11.98 kB / 319.6 MB, free: 1.062 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 (26): * Single equations (assignments): 24 * 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.0002137/0.3152, allocations: 137.8 kB / 319.8 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.3153, allocations: 23.72 kB / 319.8 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.3153, allocations: 30.17 kB / 319.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3153, allocations: 4 kB / 319.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3154, allocations: 0 / 319.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3154, allocations: 4 kB / 319.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.3175, allocations: 0.7101 MB / 320.5 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3176, allocations: 0 / 320.5 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.318, allocations: 51.89 kB / 320.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/0.3187, allocations: 80.91 kB / 320.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.3187, allocations: 11.89 kB / 320.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.3215, allocations: 1.489 MB / 322.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3216, allocations: 0 / 322.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.3237, allocations: 0.5256 MB / 322.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3238, allocations: 100.8 kB / 322.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.3239, allocations: 4 kB / 322.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.3244, allocations: 35.97 kB / 322.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3245, allocations: 28.02 kB / 322.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3245, allocations: 4 kB / 322.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002756/0.3248, allocations: 186 kB / 323 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3248, allocations: 0 / 323 MB, free: 13.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005003/0.3253, allocations: 71.84 kB / 323.1 MB, free: 13.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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.002517/0.3279, allocations: 1.067 MB / 324.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.3293, allocations: 409.9 kB / 324.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3293, allocations: 4.375 kB / 324.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.33, allocations: 234.4 kB / 324.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.3304, allocations: 40.55 kB / 324.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.3355, allocations: 1.717 MB / 326.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.336, allocations: 0.7635 MB / 327.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.3363, allocations: 22.3 kB / 327.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3365, allocations: 79.41 kB / 327.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of SimCode: time 1.223e-06/0.3365, allocations: 0 / 327.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3692, allocations: 5.518 MB / 332.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.3697, allocations: 217.8 kB / 333.2 MB, free: 3.094 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/2.872, allocations: 7.938 kB / 333.2 MB, free: 3.086 MB / 266.7 MB "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R1,R2,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,fG,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