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: 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_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadModel(Modelica): time 2.27/2.27, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004967, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.5749, allocations: 73.23 MB / 382.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.5753, allocations: 84.45 kB / 382.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.5938, allocations: 4.389 MB / 386.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5939, allocations: 1.094 kB / 386.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.5939, allocations: 6.594 kB / 386.8 MB, free: 14.78 MB / 314.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.001022/0.595, allocations: 0.5357 MB / 387.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.595, allocations: 8.938 kB / 387.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.5951, allocations: 34.22 kB / 387.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.5955, allocations: 263.4 kB / 387.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.5956, allocations: 22.11 kB / 387.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.5957, allocations: 31.34 kB / 387.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.5963, allocations: 257.4 kB / 387.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5964, allocations: 0 / 387.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.5964, allocations: 16.97 kB / 387.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5964, allocations: 7.812 kB / 387.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.597, allocations: 204 kB / 388.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.5997, allocations: 1.122 MB / 389.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.6004, allocations: 196.7 kB / 389.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.6004, allocations: 7.828 kB / 389.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6005, allocations: 38.5 kB / 389.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 3.998e-06/0.6005, allocations: 0 / 389.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.003461/0.604, allocations: 0.6643 MB / 390.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.6041, allocations: 63.14 kB / 390.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.6045, allocations: 255.9 kB / 390.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.6045, allocations: 29.48 kB / 390.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.6047, allocations: 198.1 kB / 390.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.6047, allocations: 70.08 kB / 390.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.6048, allocations: 15.03 kB / 390.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.6048, allocations: 330.1 kB / 391.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.605, allocations: 63.81 kB / 391.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.6052, allocations: 152.8 kB / 391.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.6055, allocations: 82.14 kB / 391.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.6055, allocations: 0 / 391.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001688/0.6072, allocations: 415.5 kB / 391.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6072, allocations: 11.69 kB / 391.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6072, allocations: 3.969 kB / 391.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.6088, allocations: 172.5 kB / 392 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.6093, allocations: 56.89 kB / 392 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.6153, allocations: 3.283 MB / 395.3 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.6158, allocations: 30.41 kB / 395.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.6158, allocations: 14.91 kB / 395.4 MB, free: 9.469 MB / 314.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.000206/0.616, allocations: 138.9 kB / 395.5 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.6161, allocations: 22.75 kB / 395.5 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.6162, allocations: 31.67 kB / 395.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.6162, allocations: 0 / 395.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6162, allocations: 11.89 kB / 395.6 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6162, allocations: 0 / 395.6 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.6167, allocations: 313.9 kB / 395.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6167, allocations: 0 / 395.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.6169, allocations: 30.33 kB / 395.9 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.6183, allocations: 172.2 kB / 396.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.6183, allocations: 0 / 396.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005421/0.6238, allocations: 3.166 MB / 399.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6238, allocations: 0 / 399.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.6255, allocations: 486.1 kB / 399.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.6256, allocations: 106.6 kB / 399.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.6257, allocations: 2.75 kB / 399.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.626, allocations: 14.14 kB / 399.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.6261, allocations: 12.53 kB / 399.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.6261, allocations: 11.41 kB / 399.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.6264, allocations: 174.8 kB / 400 MB, free: 6.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6264, allocations: 4.062 kB / 400 MB, free: 6.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006469/0.627, allocations: 99.58 kB / 400.1 MB, free: 6.082 MB / 314.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.0001702/0.6272, allocations: 112.5 kB / 400.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000759/0.628, allocations: 411.1 kB / 400.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.628, allocations: 0 / 400.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.6284, allocations: 313.3 kB / 400.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.6288, allocations: 42.25 kB / 401 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.6301, allocations: 0.6402 MB / 401.6 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.6304, allocations: 0.7767 MB / 402.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.6306, allocations: 26.44 kB / 402.4 MB, free: 4.402 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.6307, allocations: 19.31 kB / 402.4 MB, free: 4.398 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6307, allocations: 0 / 402.4 MB, free: 4.398 MB / 314.7 MB Notification: Performance of Templates: time 0.009857/0.6405, allocations: 3.113 MB / 405.6 MB, free: 4.176 MB / 314.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.v,f,opAmp1.V0,opAmp1.Vns,opAmp1.Vps,opAmp1.out.i,opAmp1.out.v,opAmp1.useSupply,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.out.i,opAmp2.out.v,opAmp2.useSupply,opAmp2.vns,opAmp2.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time,vOutRectangle.v,vOutTriangle.v