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.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003583, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07985/0.08023, allocations: 44.51 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003417/0.0837, allocations: 2.177 MB / 310.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.08513, allocations: 0.6518 MB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.0853, allocations: 4 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.659e-05/0.08539, allocations: 31.75 kB / 311.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.08569, allocations: 103.7 kB / 311.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.08592, allocations: 39.95 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.08629, allocations: 231.3 kB / 311.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.08649, allocations: 61.16 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.08667, allocations: 99.62 kB / 311.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.08689, allocations: 127.4 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.08697, allocations: 19.98 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.08703, allocations: 12 kB / 311.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.08711, allocations: 47.83 kB / 312 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.08721, allocations: 69.58 kB / 312 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.08754, allocations: 223.6 kB / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.547e-06/0.08755, allocations: 0 / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.202e-06/0.08756, allocations: 0 / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.08758, allocations: 0 / 312.2 MB, free: 13.11 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001175/0.08877, allocations: 0.5833 MB / 312.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.08883, allocations: 12.03 kB / 312.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.08892, allocations: 23.72 kB / 312.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.08933, allocations: 263.5 kB / 313.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.08938, allocations: 12.44 kB / 313.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.08945, allocations: 23.94 kB / 313.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.09014, allocations: 231.2 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.09017, allocations: 0 / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.09022, allocations: 15.98 kB / 313.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.214e-06/0.09024, allocations: 4 kB / 313.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.09102, allocations: 225.6 kB / 313.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.09297, allocations: 0.8581 MB / 314.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.09378, allocations: 222.5 kB / 314.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.09382, allocations: 4 kB / 314.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.09434, allocations: 173.8 kB / 314.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.925e-06/0.09436, allocations: 0 / 314.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.002212/0.09658, allocations: 0.5538 MB / 315.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.0967, allocations: 106.8 kB / 315.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.09711, allocations: 264.8 kB / 315.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.09717, allocations: 37.64 kB / 315.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.09736, allocations: 230.3 kB / 316.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.09744, allocations: 47.39 kB / 316.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.09747, allocations: 4 kB / 316.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.09764, allocations: 318.8 kB / 316.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.098, allocations: 91.94 kB / 316.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.09842, allocations: 165.4 kB / 316.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.09882, allocations: 134.5 kB / 316.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-06/0.09884, allocations: 0 / 316.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001322/0.1002, allocations: 399.9 kB / 317.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.1002, allocations: 30.95 kB / 317.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1003, allocations: 8.031 kB / 317.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.1008, allocations: 96.78 kB / 317.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1011, allocations: 51.89 kB / 317.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.1042, allocations: 1.766 MB / 319.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.1046, allocations: 51.78 kB / 319.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.1047, allocations: 11.98 kB / 319.2 MB, free: 5.66 MB / 266.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: 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 (20): * Single equations (assignments): 18 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.1049, allocations: 137.7 kB / 319.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.105, allocations: 23.81 kB / 319.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.105, allocations: 22.05 kB / 319.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.833e-06/0.1051, allocations: 4 kB / 319.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-06/0.1051, allocations: 3.938 kB / 319.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-06/0.1051, allocations: 192 / 319.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.1055, allocations: 301.3 kB / 319.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-06/0.1055, allocations: 0 / 319.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1057, allocations: 23.98 kB / 319.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.1062, allocations: 96.77 kB / 319.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1062, allocations: 11.98 kB / 319.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/0.1092, allocations: 1.75 MB / 321.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.964e-06/0.1092, allocations: 0 / 321.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1103, allocations: 334 kB / 321.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1105, allocations: 104.8 kB / 322 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.1105, allocations: 11.95 kB / 322 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.1108, allocations: 27.97 kB / 322 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.1109, allocations: 23.97 kB / 322.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1109, allocations: 0 / 322.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002681/0.1112, allocations: 188.5 kB / 322.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.1112, allocations: 7.938 kB / 322.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005642/0.1118, allocations: 71.84 kB / 322.3 MB, free: 2.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.112, allocations: 99.25 kB / 322.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1131, allocations: 401.8 kB / 322.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.261e-06/0.1131, allocations: 0.5 kB / 322.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.1137, allocations: 226.6 kB / 323 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.114, allocations: 40.42 kB / 323.1 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.1163, allocations: 0.7062 MB / 323.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.1168, allocations: 0.7482 MB / 324.5 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.1169, allocations: 19.44 kB / 324.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of SimCode: time 2.38e-06/0.1169, allocations: 0 / 324.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of Templates: time 0.007637/0.1245, allocations: 3.881 MB / 328.4 MB, free: 12.09 MB / 282.7 MB