Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08099/0.08138, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003424/0.08485, allocations: 2.351 MB / 310.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.08636, allocations: 0.679 MB / 311.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.08661, allocations: 4 kB / 311.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.698e-05/0.08673, allocations: 39.73 kB / 311.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.08712, allocations: 127.6 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.08736, allocations: 47.95 kB / 311.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.08778, allocations: 255.3 kB / 311.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.08805, allocations: 106 kB / 312 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.08823, allocations: 115.6 kB / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.08847, allocations: 135.4 kB / 312.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.08853, allocations: 19.94 kB / 312.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.0886, allocations: 16 kB / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.08868, allocations: 51.81 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.08879, allocations: 81.52 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.08915, allocations: 251.5 kB / 312.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.643e-06/0.08916, allocations: 0 / 312.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.301e-06/0.08918, allocations: 0 / 312.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.503e-06/0.0892, allocations: 8 kB / 312.6 MB, free: 12.73 MB / 266.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.0009704/0.09018, allocations: 0.534 MB / 313.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.09024, allocations: 12.03 kB / 313.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.09034, allocations: 31.62 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.09079, allocations: 282.4 kB / 313.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.09084, allocations: 24.66 kB / 313.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.09091, allocations: 24 kB / 313.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.09153, allocations: 254.1 kB / 313.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.09157, allocations: 0 / 313.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.09162, allocations: 19.98 kB / 313.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.09165, allocations: 8 kB / 313.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.09216, allocations: 194.5 kB / 314 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.09453, allocations: 1.049 MB / 315 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.0952, allocations: 198.8 kB / 315.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.09526, allocations: 11.94 kB / 315.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.09531, allocations: 34.56 kB / 315.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 4.095e-06/0.09533, allocations: 0 / 315.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.002484/0.09782, allocations: 0.6641 MB / 315.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.09793, allocations: 67.28 kB / 316 MB, free: 9.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.09835, allocations: 252.9 kB / 316.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.09841, allocations: 29.7 kB / 316.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.09862, allocations: 258.3 kB / 316.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.09872, allocations: 63.09 kB / 316.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.09875, allocations: 12 kB / 316.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.09894, allocations: 326.8 kB / 316.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.09913, allocations: 59.97 kB / 317 MB, free: 8.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.09938, allocations: 147.1 kB / 317.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.09961, allocations: 79.94 kB / 317.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.09964, allocations: 4 kB / 317.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001326/0.101, allocations: 406.3 kB / 317.6 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.101, allocations: 8 kB / 317.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.079e-06/0.101, allocations: 0 / 317.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009321/0.102, allocations: 173.6 kB / 317.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.1023, allocations: 51.92 kB / 317.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.1082, allocations: 3.274 MB / 321.1 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.1085, allocations: 27.69 kB / 321.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.1085, allocations: 16 kB / 321.2 MB, free: 3.582 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.0002331/0.1088, allocations: 145.8 kB / 321.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.1089, allocations: 23.72 kB / 321.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.109, allocations: 34.11 kB / 321.4 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.411e-06/0.109, allocations: 4 kB / 321.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.683e-06/0.109, allocations: 3.953 kB / 321.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.131e-06/0.109, allocations: 0 / 321.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.1095, allocations: 313.4 kB / 321.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-06/0.1095, allocations: 0 / 321.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.1097, allocations: 27.98 kB / 321.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008668/0.1106, allocations: 169.6 kB / 321.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.1107, allocations: 240 / 321.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/0.116, allocations: 3.165 MB / 325 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.194e-06/0.1161, allocations: 0 / 325 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1174, allocations: 480.8 kB / 325.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.1175, allocations: 100.8 kB / 325.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.1176, allocations: 4 kB / 325.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.1178, allocations: 15.98 kB / 325.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1179, allocations: 23.98 kB / 325.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.1179, allocations: 4.438 kB / 325.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002656/0.1182, allocations: 192.3 kB / 325.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.1182, allocations: 0 / 325.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.1189, allocations: 87.84 kB / 325.9 MB, free: 14.43 MB / 282.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.0001736/0.1191, allocations: 107.2 kB / 326 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00084/0.1199, allocations: 409.1 kB / 326.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1199, allocations: 0 / 326.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.1204, allocations: 318.9 kB / 326.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1208, allocations: 40.5 kB / 326.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1225, allocations: 0.6771 MB / 327.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.1231, allocations: 0.7719 MB / 328.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.1232, allocations: 19.44 kB / 328.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.631e-06/0.1232, allocations: 0 / 328.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of Templates: time 0.009496/0.1327, allocations: 5.063 MB / 333.3 MB, free: 6.922 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,der(c.v),c.i,c.n.i,c.n.v,c.p.i,c.p.v,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.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.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.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