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.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 194.9 MB / 211.1 MB, free: 8.43 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004783, allocations: 12 kB / 264.1 MB, free: 3.34 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2894, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003889/0.2933, allocations: 2.348 MB / 310.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.295, allocations: 0.683 MB / 311.6 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.2953, allocations: 7.938 kB / 311.6 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2954, allocations: 43.73 kB / 311.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.2958, allocations: 123.6 kB / 311.8 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.2961, allocations: 51.94 kB / 311.8 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000471/0.2966, allocations: 251.3 kB / 312.1 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.2969, allocations: 98.03 kB / 312.2 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.297, allocations: 115.6 kB / 312.3 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.2973, allocations: 139.4 kB / 312.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.2974, allocations: 16 kB / 312.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.2975, allocations: 16 kB / 312.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.2975, allocations: 51.77 kB / 312.5 MB, free: 8.812 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.2976, allocations: 73.58 kB / 312.6 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.298, allocations: 264.2 kB / 312.8 MB, free: 8.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2981, allocations: 3.938 kB / 312.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2981, allocations: 0 / 312.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2981, allocations: 0 / 312.8 MB, free: 8.473 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001101/0.2992, allocations: 0.5418 MB / 313.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2993, allocations: 8.031 kB / 313.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.2994, allocations: 66.53 kB / 313.4 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.2995, allocations: 35.62 kB / 313.5 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.2999, allocations: 266.4 kB / 313.7 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3, allocations: 32.64 kB / 313.8 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.3001, allocations: 28 kB / 313.8 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.3008, allocations: 250.1 kB / 314 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3008, allocations: 0 / 314 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.3009, allocations: 16 kB / 314.1 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3009, allocations: 8 kB / 314.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.3015, allocations: 206.5 kB / 314.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.3041, allocations: 1.042 MB / 315.3 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.3048, allocations: 199.2 kB / 315.5 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.3049, allocations: 11.95 kB / 315.5 MB, free: 5.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.305, allocations: 34.56 kB / 315.5 MB, free: 5.551 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 2.916e-06/0.305, allocations: 3.938 kB / 315.6 MB, free: 5.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.003513/0.3085, allocations: 0.671 MB / 316.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.3086, allocations: 59.3 kB / 316.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.309, allocations: 252.9 kB / 316.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.3091, allocations: 29.7 kB / 316.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3092, allocations: 199.8 kB / 316.8 MB, free: 4.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.3093, allocations: 71 kB / 316.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.3094, allocations: 4 kB / 316.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3095, allocations: 334.8 kB / 317.2 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3097, allocations: 63.97 kB / 317.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.31, allocations: 143.1 kB / 317.4 MB, free: 3.613 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.3102, allocations: 91.92 kB / 317.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3103, allocations: 4 kB / 317.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001779/0.3121, allocations: 410.8 kB / 317.8 MB, free: 3.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3121, allocations: 4 kB / 317.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3121, allocations: 4 kB / 317.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.3135, allocations: 165.6 kB / 318 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.3139, allocations: 63.91 kB / 318.1 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006673/0.3206, allocations: 3.274 MB / 321.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.3209, allocations: 27.69 kB / 321.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.321, allocations: 16 kB / 321.4 MB, free: 15.27 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.3212, allocations: 141.7 kB / 321.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.3213, allocations: 35.7 kB / 321.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.3214, allocations: 22.19 kB / 321.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3214, allocations: 4 kB / 321.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3214, allocations: 3.953 kB / 321.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3214, allocations: 3.984 kB / 321.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.3219, allocations: 313.4 kB / 321.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3219, allocations: 3.984 kB / 321.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.3222, allocations: 20 kB / 321.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.3235, allocations: 165.6 kB / 322.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.3236, allocations: 11.98 kB / 322.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/0.3297, allocations: 3.169 MB / 325.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3297, allocations: 0 / 325.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.3314, allocations: 472.8 kB / 325.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3316, allocations: 108.8 kB / 325.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3316, allocations: 3.938 kB / 325.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.3319, allocations: 16 kB / 325.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.332, allocations: 16.03 kB / 325.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.332, allocations: 11.94 kB / 325.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.3323, allocations: 184.4 kB / 326.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3323, allocations: 0 / 326.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006312/0.333, allocations: 91.8 kB / 326.2 MB, free: 10.12 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002148/0.3351, allocations: 1.008 MB / 327.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008993/0.3361, allocations: 420 kB / 327.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3361, allocations: 0 / 327.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.3366, allocations: 309.4 kB / 327.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3371, allocations: 33.12 kB / 327.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.3415, allocations: 1.657 MB / 329.6 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3419, allocations: 0.768 MB / 330.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.3421, allocations: 26.28 kB / 330.4 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3423, allocations: 83.41 kB / 330.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3423, allocations: 0 / 330.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.3766, allocations: 5.496 MB / 335.9 MB, free: 184 kB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.377, allocations: 223.1 kB / 336.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/2.869, allocations: 3.938 kB / 336.2 MB, free: 15.93 MB / 282.7 MB "" Variables in the reference:time,c.v,opAmp1.out.v,opAmp1.out.i,opAmp2.out.v,opAmp2.out.i Variables in the result:C,R,R1,R2,VAmp,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,opAmp1.V0,opAmp1.Vns,opAmp1.Vps,opAmp1.i_s,opAmp1.in_n.i,opAmp1.in_n.v,opAmp1.in_p.i,opAmp1.in_p.v,opAmp1.out.i,opAmp1.out.v,opAmp1.p_in,opAmp1.p_out,opAmp1.p_s,opAmp1.useSupply,opAmp1.v_in,opAmp1.v_out,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.i_s,opAmp2.in_n.i,opAmp2.in_n.v,opAmp2.in_p.i,opAmp2.in_p.v,opAmp2.out.i,opAmp2.out.v,opAmp2.p_in,opAmp2.p_out,opAmp2.p_s,opAmp2.useSupply,opAmp2.v_in,opAmp2.v_out,opAmp2.vns,opAmp2.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,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,vOutRectangle.n.i,vOutRectangle.n.v,vOutRectangle.p.i,vOutRectangle.p.v,vOutRectangle.v,vOutTriangle.n.i,vOutTriangle.n.v,vOutTriangle.p.i,vOutTriangle.p.v,vOutTriangle.v