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.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003699, allocations: 19.98 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07737/0.07776, allocations: 44.5 MB / 308.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.4075, allocations: 74.54 MB / 383 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4078, allocations: 78.52 kB / 383.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01861/0.4265, allocations: 4.955 MB / 388 MB, free: 18.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4265, allocations: 0 / 388 MB, free: 18.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.4265, allocations: 5.594 kB / 388 MB, free: 18.16 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009073/0.4274, allocations: 0.5615 MB / 388.6 MB, free: 17.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4275, allocations: 13 kB / 388.6 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.4276, allocations: 29.94 kB / 388.6 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4279, allocations: 260.5 kB / 388.9 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.4279, allocations: 12.03 kB / 388.9 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.428, allocations: 19.97 kB / 388.9 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.4286, allocations: 225.8 kB / 389.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4286, allocations: 0 / 389.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.4287, allocations: 3.875 kB / 389.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.681e-06/0.4287, allocations: 3.938 kB / 389.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.4294, allocations: 228.9 kB / 389.4 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.4309, allocations: 0.838 MB / 390.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.4317, allocations: 208.5 kB / 390.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4317, allocations: 3.906 kB / 390.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.4322, allocations: 171.7 kB / 390.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.698e-06/0.4322, allocations: 0 / 390.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009285/0.4331, allocations: 281.6 kB / 390.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4332, allocations: 84.86 kB / 390.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.4334, allocations: 210.1 kB / 391.2 MB, free: 16.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.4335, allocations: 29.67 kB / 391.2 MB, free: 16.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.4336, allocations: 218.3 kB / 391.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.4336, allocations: 37.62 kB / 391.4 MB, free: 16.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.4337, allocations: 11.25 kB / 391.4 MB, free: 16.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.4337, allocations: 317.2 kB / 391.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.4341, allocations: 91.52 kB / 391.8 MB, free: 16.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.4345, allocations: 153.9 kB / 392 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.4348, allocations: 117.8 kB / 392.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4349, allocations: 0 / 392.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008618/0.4357, allocations: 292.7 kB / 392.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.4358, allocations: 46.75 kB / 392.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.858e-06/0.4358, allocations: 3.562 kB / 392.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4358, allocations: 0 / 392.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4362, allocations: 56.8 kB / 392.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4362, allocations: 9.703 kB / 392.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.4365, allocations: 42.88 kB / 392.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4366, allocations: 7.719 kB / 392.6 MB, free: 15.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.4367, allocations: 133 kB / 392.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.4368, allocations: 15.59 kB / 392.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.4368, allocations: 28.67 kB / 392.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-06/0.4369, allocations: 0 / 392.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.985e-06/0.4369, allocations: 0 / 392.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.233e-06/0.4369, allocations: 0 / 392.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.4372, allocations: 285 kB / 393 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-06/0.4372, allocations: 3.938 kB / 393 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.4374, allocations: 46 kB / 393.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.72e-06/0.4375, allocations: 0 / 393.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4375, allocations: 7.594 kB / 393.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.13e-06/0.4375, allocations: 3.953 kB / 393.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.841e-06/0.4375, allocations: 0 / 393.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/0.4385, allocations: 335.9 kB / 393.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4386, allocations: 94.31 kB / 393.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.4387, allocations: 3.562 kB / 393.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.4389, allocations: 32.38 kB / 393.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.439, allocations: 25.33 kB / 393.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4391, allocations: 1.828 kB / 393.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001729/0.4393, allocations: 175.5 kB / 393.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.4393, allocations: 0 / 393.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000387/0.4397, allocations: 58.34 kB / 393.8 MB, free: 15.16 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: 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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.4398, allocations: 110.2 kB / 393.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.4405, allocations: 262.7 kB / 394.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.16e-06/0.4405, allocations: 0 / 394.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.4408, allocations: 99.5 kB / 394.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.4411, allocations: 34.17 kB / 394.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.4422, allocations: 0.5732 MB / 394.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.4424, allocations: 0.7402 MB / 395.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.4425, allocations: 23.19 kB / 395.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.492e-06/0.4425, allocations: 3.938 kB / 395.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of Templates: time 0.005055/0.4475, allocations: 2.716 MB / 398.3 MB, free: 13.7 MB / 314.7 MB