Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.213e-05/1.225e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3073, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4182, allocations: 72.04 MB / 392 MB, free: 8.422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4185, allocations: 63.95 kB / 392.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001724/0.4203, allocations: 0.5637 MB / 392.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.968e-06/0.4203, allocations: 0 / 392.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.9e-06/0.4203, allocations: 0 / 392.7 MB, free: 7.793 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003252/0.4206, allocations: 322.5 kB / 393 MB, free: 7.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4207, allocations: 8.031 kB / 393 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.4207, allocations: 4 kB / 393 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4209, allocations: 159.1 kB / 393.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4209, allocations: 3.953 kB / 393.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4209, allocations: 3.984 kB / 393.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.589e-05/0.421, allocations: 12 kB / 393.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.4211, allocations: 55.36 kB / 393.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.92e-06/0.4211, allocations: 3.938 kB / 393.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-06/0.4212, allocations: 0 / 393.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-06/0.4212, allocations: 7.938 kB / 393.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.4215, allocations: 301.7 kB / 393.5 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.4216, allocations: 22.58 kB / 393.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.4217, allocations: 20.84 kB / 393.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.4217, allocations: 0 / 393.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4217, allocations: 38.5 kB / 393.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.841e-06/0.4218, allocations: 0 / 393.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002401/0.422, allocations: 49.69 kB / 393.7 MB, free: 6.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4221, allocations: 51.41 kB / 393.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.4221, allocations: 89 kB / 393.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4222, allocations: 29.83 kB / 393.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.4223, allocations: 150.6 kB / 394 MB, free: 6.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4223, allocations: 15.8 kB / 394 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-06/0.4223, allocations: 0 / 394 MB, free: 6.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4225, allocations: 314.8 kB / 394.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.4225, allocations: 0 / 394.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.4226, allocations: 21.72 kB / 394.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.4226, allocations: 11.98 kB / 394.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.371e-06/0.4227, allocations: 0 / 394.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001504/0.4228, allocations: 57.58 kB / 394.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4228, allocations: 8 kB / 394.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.4229, allocations: 0 / 394.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4229, allocations: 0 / 394.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.423, allocations: 8 kB / 394.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.936e-06/0.423, allocations: 0 / 394.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.423, allocations: 7.922 kB / 394.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.4231, allocations: 8 kB / 394.4 MB, free: 5.832 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.517e-05/0.4232, allocations: 111.7 kB / 394.5 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.4232, allocations: 7.859 kB / 394.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.4234, allocations: 57.81 kB / 394.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4234, allocations: 0 / 394.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.066e-06/0.4234, allocations: 0 / 394.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.518e-06/0.4234, allocations: 0 / 394.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4236, allocations: 134.2 kB / 394.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-06/0.4236, allocations: 0 / 394.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.4237, allocations: 8 kB / 394.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4237, allocations: 4 kB / 394.7 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4238, allocations: 7.938 kB / 394.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.069e-06/0.4238, allocations: 4 kB / 394.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-06/0.4238, allocations: 0 / 394.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.424, allocations: 151.7 kB / 394.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.4241, allocations: 77.11 kB / 395 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.4241, allocations: 3.938 kB / 395 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.4242, allocations: 3.953 kB / 395 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.4242, allocations: 12 kB / 395 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-06/0.4242, allocations: 3.984 kB / 395 MB, free: 5.176 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.4243, allocations: 79.28 kB / 395.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4243, allocations: 0 / 395.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.4246, allocations: 4 kB / 395.1 MB, free: 5.094 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001481/0.4248, allocations: 95.25 kB / 395.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.4249, allocations: 23.94 kB / 395.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.673e-06/0.4249, allocations: 4.156 kB / 395.2 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.542e-05/0.4249, allocations: 12 kB / 395.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.4251, allocations: 4 kB / 395.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.4254, allocations: 98.62 kB / 395.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4257, allocations: 0.6807 MB / 396 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.4258, allocations: 7.438 kB / 396 MB, free: 4.105 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4258, allocations: 0 / 396 MB, free: 4.105 MB / 330.7 MB Notification: Performance of Templates: time 0.002256/0.428, allocations: 0.5691 MB / 396.6 MB, free: 3.539 MB / 330.7 MB