Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.991/1.991, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005043, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.5262, allocations: 74.54 MB / 383.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/0.5266, allocations: 83.98 kB / 383.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02855/0.5552, allocations: 4.961 MB / 388.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5552, allocations: 0 / 388.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.5553, allocations: 9.062 kB / 388.6 MB, free: 14.18 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.001632/0.5569, allocations: 0.5634 MB / 389.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.557, allocations: 7.906 kB / 389.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.5571, allocations: 28.84 kB / 389.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.5576, allocations: 258 kB / 389.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.5576, allocations: 12 kB / 389.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.5577, allocations: 23.42 kB / 389.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5588, allocations: 227.5 kB / 389.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5588, allocations: 0 / 389.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.5589, allocations: 7.688 kB / 389.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.5589, allocations: 3.938 kB / 389.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.5602, allocations: 216.2 kB / 389.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.5627, allocations: 0.8417 MB / 390.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.564, allocations: 214.7 kB / 390.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.5641, allocations: 0 / 390.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007443/0.5649, allocations: 168.6 kB / 391.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.525e-06/0.5649, allocations: 0 / 391.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001776/0.5667, allocations: 293.7 kB / 391.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.5667, allocations: 77.11 kB / 391.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.5671, allocations: 235.6 kB / 391.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.5672, allocations: 28.08 kB / 391.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.5673, allocations: 217.9 kB / 391.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.5674, allocations: 44.45 kB / 392 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.5674, allocations: 3.938 kB / 392 MB, free: 12.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.5675, allocations: 320.5 kB / 392.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.5681, allocations: 89.5 kB / 392.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.5688, allocations: 138.6 kB / 392.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.5694, allocations: 125.3 kB / 392.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5694, allocations: 0 / 392.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001435/0.5709, allocations: 301.6 kB / 392.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.5709, allocations: 48.03 kB / 393 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.571, allocations: 0 / 393 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.571, allocations: 3.688 kB / 393 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.5716, allocations: 54.66 kB / 393 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5716, allocations: 3.781 kB / 393.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.5722, allocations: 43.95 kB / 393.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.5722, allocations: 7.75 kB / 393.1 MB, free: 11.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.0001435/0.5724, allocations: 134.2 kB / 393.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.5724, allocations: 18.89 kB / 393.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.5725, allocations: 28.45 kB / 393.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.5725, allocations: 0 / 393.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5725, allocations: 4 kB / 393.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5725, allocations: 3.641 kB / 393.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.5728, allocations: 279.7 kB / 393.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5728, allocations: 0 / 393.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.5732, allocations: 44.5 kB / 393.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5732, allocations: 0 / 393.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.5733, allocations: 3.969 kB / 393.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.5733, allocations: 7.953 kB / 393.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5733, allocations: 4 kB / 393.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.5747, allocations: 335.9 kB / 393.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.5748, allocations: 99.89 kB / 394 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.5748, allocations: 3.938 kB / 394 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.5752, allocations: 27.61 kB / 394.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.5753, allocations: 22.14 kB / 394.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.5753, allocations: 3.938 kB / 394.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.5755, allocations: 167.6 kB / 394.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5756, allocations: 4 kB / 394.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.5759, allocations: 61.73 kB / 394.3 MB, free: 11.18 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.0001354/0.5761, allocations: 106.7 kB / 394.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009398/0.577, allocations: 267.8 kB / 394.7 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.577, allocations: 0 / 394.7 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.5775, allocations: 93.27 kB / 394.8 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.5778, allocations: 35.56 kB / 394.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.579, allocations: 0.5703 MB / 395.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.5792, allocations: 0.757 MB / 396.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5793, allocations: 19.06 kB / 396.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5794, allocations: 0 / 396.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of Templates: time 0.005756/0.5851, allocations: 2.708 MB / 398.9 MB, free: 9.715 MB / 314.7 MB