Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.072e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 54.86 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4376, allocations: 78.42 MB / 436.5 MB, free: 444 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4379, allocations: 63.97 kB / 436.5 MB, free: 380 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001766/0.4397, allocations: 0.5637 MB / 437.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.4397, allocations: 0 / 437.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.398e-06/0.4397, allocations: 0 / 437.1 MB, free: 15.8 MB / 378.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.0003287/0.4401, allocations: 326.4 kB / 437.4 MB, free: 15.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4401, allocations: 12.03 kB / 437.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.4402, allocations: 3.953 kB / 437.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.4403, allocations: 163.1 kB / 437.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4404, allocations: 0 / 437.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4404, allocations: 4 kB / 437.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.802e-05/0.4404, allocations: 8 kB / 437.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.4406, allocations: 59.3 kB / 437.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4406, allocations: 3.984 kB / 437.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-06/0.4406, allocations: 0 / 437.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.402e-06/0.4406, allocations: 3.953 kB / 437.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.441, allocations: 297.7 kB / 437.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.769e-05/0.4411, allocations: 22.58 kB / 438 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.4411, allocations: 16.86 kB / 438 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4411, allocations: 4 kB / 438 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.4412, allocations: 34.5 kB / 438 MB, free: 14.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.08e-06/0.4412, allocations: 0 / 438 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002432/0.4415, allocations: 45.78 kB / 438.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.4415, allocations: 55.36 kB / 438.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.4416, allocations: 89 kB / 438.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.4416, allocations: 25.83 kB / 438.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.4417, allocations: 162.5 kB / 438.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.4418, allocations: 15.81 kB / 438.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-06/0.4418, allocations: 0 / 438.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4419, allocations: 310.8 kB / 438.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.442, allocations: 4 kB / 438.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.442, allocations: 17.72 kB / 438.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.4421, allocations: 11.98 kB / 438.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-06/0.4421, allocations: 4 kB / 438.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001494/0.4423, allocations: 53.62 kB / 438.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4423, allocations: 4 kB / 438.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.607e-06/0.4423, allocations: 0 / 438.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4423, allocations: 0 / 438.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.4424, allocations: 8 kB / 438.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.4425, allocations: 3.984 kB / 438.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.4425, allocations: 16.02 kB / 438.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4425, allocations: 4 kB / 438.8 MB, free: 13.84 MB / 378.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.83e-05/0.4426, allocations: 109 kB / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.4427, allocations: 4 kB / 438.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.4429, allocations: 53.81 kB / 439 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.316e-06/0.4429, allocations: 4 kB / 439 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.101e-06/0.4429, allocations: 0 / 439 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-06/0.4429, allocations: 0 / 439 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.4431, allocations: 142.1 kB / 439.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-06/0.4431, allocations: 0 / 439.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.4432, allocations: 11.98 kB / 439.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.584e-06/0.4432, allocations: 3.938 kB / 439.2 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.4432, allocations: 4.094 kB / 439.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.45e-06/0.4432, allocations: 0 / 439.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.707e-06/0.4432, allocations: 3.938 kB / 439.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4435, allocations: 155.4 kB / 439.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.4435, allocations: 81.11 kB / 439.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.4436, allocations: 0 / 439.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.4437, allocations: 0 / 439.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.4437, allocations: 11.98 kB / 439.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.4437, allocations: 4 kB / 439.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.4438, allocations: 75.28 kB / 439.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4438, allocations: 0 / 439.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.4441, allocations: 4 kB / 439.5 MB, free: 13.1 MB / 378.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.0001644/0.4443, allocations: 103.2 kB / 439.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.656e-05/0.4444, allocations: 19.94 kB / 439.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.413e-06/0.4444, allocations: 0 / 439.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.4445, allocations: 20.16 kB / 439.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.4446, allocations: 7.016 kB / 439.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.4449, allocations: 89.64 kB / 439.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4453, allocations: 0.6807 MB / 440.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.4453, allocations: 11.44 kB / 440.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.502e-06/0.4453, allocations: 0 / 440.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of Templates: time 0.002206/0.4476, allocations: 0.5609 MB / 441 MB, free: 11.55 MB / 378.7 MB