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.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_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007006/0.0007011, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1076, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4896/0.5972, allocations: 74.54 MB / 383.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5976, allocations: 82.94 kB / 383.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02447/0.6221, allocations: 4.962 MB / 388.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.6221, allocations: 3.938 kB / 388.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.6222, allocations: 3.844 kB / 388.7 MB, free: 14.77 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.001253/0.6234, allocations: 0.5642 MB / 389.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6235, allocations: 7.781 kB / 389.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.6236, allocations: 26.97 kB / 389.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.624, allocations: 256.7 kB / 389.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.624, allocations: 11.94 kB / 389.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.6241, allocations: 24.89 kB / 389.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.6249, allocations: 221.5 kB / 389.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6249, allocations: 0 / 389.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.625, allocations: 10.16 kB / 389.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.625, allocations: 3.906 kB / 389.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.6259, allocations: 218.7 kB / 390 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.6278, allocations: 0.8396 MB / 390.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.6289, allocations: 213.4 kB / 391 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.629, allocations: 0 / 391 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.6296, allocations: 169.6 kB / 391.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.354e-06/0.6296, allocations: 0 / 391.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001352/0.631, allocations: 288.4 kB / 391.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.631, allocations: 84.61 kB / 391.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.6313, allocations: 229.4 kB / 391.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.6314, allocations: 28.83 kB / 391.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.6315, allocations: 165.6 kB / 392 MB, free: 13.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.6315, allocations: 37.55 kB / 392 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.6316, allocations: 7.562 kB / 392 MB, free: 13.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.6317, allocations: 328.9 kB / 392.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.6321, allocations: 88.69 kB / 392.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.6326, allocations: 147.1 kB / 392.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.6331, allocations: 120.9 kB / 392.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6331, allocations: 2.531 kB / 392.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001073/0.6342, allocations: 308.4 kB / 393 MB, free: 12.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.6342, allocations: 37.5 kB / 393 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6342, allocations: 3.938 kB / 393 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.6343, allocations: 3.938 kB / 393 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.6347, allocations: 57.69 kB / 393.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6347, allocations: 3.875 kB / 393.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.6351, allocations: 41.41 kB / 393.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.6352, allocations: 3.875 kB / 393.1 MB, free: 12.47 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.0001754/0.6354, allocations: 145.6 kB / 393.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.6354, allocations: 23.34 kB / 393.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.6355, allocations: 23.45 kB / 393.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.6355, allocations: 0 / 393.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6355, allocations: 7.906 kB / 393.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6355, allocations: 2.438 kB / 393.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.6358, allocations: 275.5 kB / 393.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.6358, allocations: 0 / 393.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.6362, allocations: 50.11 kB / 393.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6362, allocations: 0 / 393.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.6363, allocations: 10.39 kB / 393.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.6363, allocations: 3.953 kB / 393.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6363, allocations: 0 / 393.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.6376, allocations: 339.8 kB / 394 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.6377, allocations: 99.62 kB / 394.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.6378, allocations: 0 / 394.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.6382, allocations: 36.27 kB / 394.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.6383, allocations: 17.03 kB / 394.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.6383, allocations: 6.5 kB / 394.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.6385, allocations: 166.7 kB / 394.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6385, allocations: 0 / 394.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004019/0.6389, allocations: 61.31 kB / 394.4 MB, free: 11.84 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.0001602/0.6391, allocations: 109.1 kB / 394.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009599/0.6401, allocations: 262.2 kB / 394.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6401, allocations: 3.875 kB / 394.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.6405, allocations: 94.69 kB / 394.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.6409, allocations: 34.91 kB / 394.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.6422, allocations: 0.5412 MB / 395.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.6424, allocations: 0.7474 MB / 396.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000173/0.6425, allocations: 23.8 kB / 396.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.6426, allocations: 22.59 kB / 396.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6427, allocations: 0 / 396.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of Templates: time 0.007423/0.6501, allocations: 2.3 MB / 398.5 MB, free: 10.42 MB / 314.7 MB