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.VoltageFollower.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.VoltageFollower,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.VoltageFollower") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003475, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08243, allocations: 44.52 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003327/0.0858, allocations: 2.181 MB / 310.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.08722, allocations: 0.6401 MB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.08741, allocations: 4 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.198e-05/0.08749, allocations: 31.75 kB / 311.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.08778, allocations: 95.72 kB / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.08803, allocations: 55.86 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.0884, allocations: 219.4 kB / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.08861, allocations: 65.14 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.0888, allocations: 107.6 kB / 311.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.08905, allocations: 119.5 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.08911, allocations: 16 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.528e-05/0.08918, allocations: 12 kB / 311.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.08926, allocations: 47.81 kB / 312 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.065e-05/0.08936, allocations: 69.58 kB / 312 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.08969, allocations: 223.6 kB / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.787e-06/0.08971, allocations: 0 / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.945e-06/0.08972, allocations: 0 / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.76e-06/0.08974, allocations: 4 kB / 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.001189/0.09094, allocations: 0.5755 MB / 312.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.09099, allocations: 8.031 kB / 312.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.0911, allocations: 31.7 kB / 312.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.09152, allocations: 259.5 kB / 313.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.09157, allocations: 20.42 kB / 313.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.09163, allocations: 20 kB / 313.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.09235, allocations: 231.2 kB / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.09238, allocations: 0 / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.09243, allocations: 8 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.09245, allocations: 4 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.09326, allocations: 229.6 kB / 313.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.09522, allocations: 0.8201 MB / 314.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.09648, allocations: 327.6 kB / 314.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.09655, allocations: 4 kB / 314.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/0.09708, allocations: 165.8 kB / 314.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.85e-06/0.0971, allocations: 0 / 314.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.00193/0.09904, allocations: 483.1 kB / 315.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.09917, allocations: 110.8 kB / 315.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.09958, allocations: 266.5 kB / 315.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.09964, allocations: 33.7 kB / 315.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.09984, allocations: 234.2 kB / 316 MB, free: 9.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.0999, allocations: 35.55 kB / 316.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.09993, allocations: 4 kB / 316.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1001, allocations: 322.8 kB / 316.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.1005, allocations: 91.94 kB / 316.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.1009, allocations: 184.8 kB / 316.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1014, allocations: 125.6 kB / 316.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.032e-06/0.1014, allocations: 8 kB / 316.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001323/0.1027, allocations: 380.1 kB / 317.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.1028, allocations: 33.7 kB / 317.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.079e-06/0.1028, allocations: 0 / 317.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/0.1033, allocations: 80.83 kB / 317.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.1036, allocations: 63.89 kB / 317.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.1063, allocations: 1.497 MB / 318.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.1068, allocations: 55.77 kB / 318.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.1068, allocations: 8 kB / 318.9 MB, free: 5.953 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: 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 (23): * Single equations (assignments): 21 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.1071, allocations: 146.1 kB / 319 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.1071, allocations: 19.72 kB / 319 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.1072, allocations: 29.7 kB / 319.1 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1072, allocations: 3.938 kB / 319.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-06/0.1072, allocations: 3.938 kB / 319.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-06/0.1072, allocations: 4 kB / 319.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.1088, allocations: 0.6122 MB / 319.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.69e-06/0.1088, allocations: 4 kB / 319.7 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.109, allocations: 27.97 kB / 319.7 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.1094, allocations: 76.8 kB / 319.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.1095, allocations: 7.891 kB / 319.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.1119, allocations: 1.489 MB / 321.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.112, allocations: 0 / 321.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.1131, allocations: 368.1 kB / 321.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1132, allocations: 108.7 kB / 321.8 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.1133, allocations: 4 kB / 321.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.1136, allocations: 31.97 kB / 321.8 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/0.1137, allocations: 19.97 kB / 321.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1138, allocations: 0 / 321.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002766/0.1141, allocations: 190 kB / 322 MB, free: 2.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.1141, allocations: 0 / 322 MB, free: 2.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005074/0.1146, allocations: 63.84 kB / 322.1 MB, free: 2.523 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001714/0.1148, allocations: 115.2 kB / 322.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1158, allocations: 374.5 kB / 322.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.54e-06/0.1159, allocations: 0 / 322.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.1163, allocations: 206.7 kB / 322.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1168, allocations: 36.66 kB / 322.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1179, allocations: 0.4919 MB / 323.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.1184, allocations: 0.7559 MB / 324 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.1185, allocations: 19.44 kB / 324 MB, free: 448 kB / 266.7 MB Notification: Performance of SimCode: time 1.617e-06/0.1185, allocations: 0 / 324 MB, free: 448 kB / 266.7 MB Notification: Performance of Templates: time 0.007931/0.1264, allocations: 3.842 MB / 327.9 MB, free: 12.59 MB / 282.7 MB