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.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 2.405/2.405, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 44.5 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.5535, allocations: 74.92 MB / 384 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5539, allocations: 71.77 kB / 384 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03684/0.5907, allocations: 8.347 MB / 392.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5908, allocations: 0 / 392.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.5908, allocations: 7.656 kB / 392.4 MB, free: 14.61 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001551/0.5924, allocations: 0.6794 MB / 393.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5924, allocations: 11.34 kB / 393.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.5926, allocations: 54.52 kB / 393.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.593, allocations: 290.5 kB / 393.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.593, allocations: 22.94 kB / 393.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.5931, allocations: 36.16 kB / 393.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.5941, allocations: 356 kB / 393.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5941, allocations: 0 / 393.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.5942, allocations: 10.38 kB / 393.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5942, allocations: 11.44 kB / 393.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/0.595, allocations: 237 kB / 394.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.5977, allocations: 1.193 MB / 395.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5987, allocations: 290.8 kB / 395.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.5995, allocations: 1.123 MB / 396.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5995, allocations: 41.48 kB / 396.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.166e-06/0.5995, allocations: 0 / 396.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001786/0.6013, allocations: 0.5015 MB / 397.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.6014, allocations: 80.89 kB / 397.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.6019, allocations: 339.9 kB / 397.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.6019, allocations: 29.52 kB / 397.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6021, allocations: 214.6 kB / 397.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.792e-05/0.6022, allocations: 111.5 kB / 398 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.6022, allocations: 7.062 kB / 398 MB, free: 11.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.6023, allocations: 347 kB / 398.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.6027, allocations: 114.9 kB / 398.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.6031, allocations: 192 kB / 398.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.6036, allocations: 126.2 kB / 398.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6036, allocations: 0 / 398.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009864/0.6046, allocations: 385.1 kB / 399.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6046, allocations: 3.938 kB / 399.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.6046, allocations: 7.828 kB / 399.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.6047, allocations: 3.875 kB / 399.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.6054, allocations: 102.8 kB / 399.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.6054, allocations: 3.969 kB / 399.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.6058, allocations: 46.41 kB / 399.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.6059, allocations: 11.25 kB / 399.3 MB, free: 10.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.6061, allocations: 150.1 kB / 399.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.6062, allocations: 35 kB / 399.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.6073, allocations: 335.7 kB / 399.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6073, allocations: 3.938 kB / 399.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6073, allocations: 0 / 399.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6074, allocations: 0 / 399.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.608, allocations: 396 kB / 400.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.608, allocations: 3.938 kB / 400.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006751/0.6087, allocations: 69.67 kB / 400.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.6091, allocations: 43.09 kB / 400.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.6091, allocations: 11.16 kB / 400.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004426/0.6096, allocations: 0.5685 MB / 400.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6096, allocations: 4.062 kB / 400.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.611, allocations: 0.5222 MB / 401.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.6112, allocations: 139.8 kB / 401.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-05/0.6113, allocations: 7.156 kB / 401.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.6118, allocations: 25.5 kB / 401.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.6119, allocations: 22.31 kB / 401.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.6119, allocations: 11.38 kB / 401.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003376/0.6123, allocations: 238.1 kB / 401.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6123, allocations: 0 / 401.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005872/0.6129, allocations: 104.8 kB / 402 MB, free: 9.406 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (23): * Single equations (assignments): 22 * 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: 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002432/0.6131, allocations: 131.4 kB / 402.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009108/0.6141, allocations: 276.3 kB / 402.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6141, allocations: 0 / 402.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.6146, allocations: 140.4 kB / 402.5 MB, free: 9.285 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.6152, allocations: 38.48 kB / 402.5 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.6173, allocations: 1.041 MB / 403.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6176, allocations: 0.8074 MB / 404.4 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003367/0.6179, allocations: 41.33 kB / 404.4 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.6181, allocations: 25.62 kB / 404.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6181, allocations: 0 / 404.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of Templates: time 0.01121/0.6293, allocations: 3.192 MB / 407.6 MB, free: 7.199 MB / 314.7 MB "" Variables in the reference:time,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.v_in,opAmp.v_source,opAmp.x Variables in the result:constantVoltage.V,constantVoltage.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.p.v,constantVoltage1.v,opAmp.Avcm_val,opAmp.Avd0,opAmp.Avd0_val,opAmp.CMRR,opAmp.Cin,opAmp.I1,opAmp.I2,opAmp.Ib,opAmp.Imaxsi,opAmp.Imaxsi_val,opAmp.Imaxso,opAmp.Imaxso_val,opAmp.Ios,opAmp.Rcm,opAmp.Rdm,opAmp.Rout,opAmp.Ts,opAmp.Vos,opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.m_supply.v,opAmp.p_supply.v,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.sr_m,opAmp.sr_m_val,opAmp.sr_p,opAmp.sr_p_val,opAmp.v_3,opAmp.v_in,opAmp.v_neg,opAmp.v_pos,opAmp.v_source,opAmp.v_vos,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_heatPort,resistor2.T_ref,resistor2.alpha,sineVoltage.V,sineVoltage.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time