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.TestRegRoot2ZeroDerivative.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004371, allocations: 16 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.3932, allocations: 79.79 MB / 449.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.3934, allocations: 67.91 kB / 449.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01398/0.4074, allocations: 3.099 MB / 452.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.175e-06/0.4075, allocations: 0 / 452.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.042e-06/0.4075, allocations: 4 kB / 452.2 MB, free: 7.621 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004314/0.408, allocations: 363.2 kB / 452.6 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.408, allocations: 12.03 kB / 452.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.4081, allocations: 7.906 kB / 452.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4082, allocations: 167 kB / 452.8 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4082, allocations: 4 kB / 452.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.4083, allocations: 8 kB / 452.8 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4085, allocations: 61.66 kB / 452.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4085, allocations: 0 / 452.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.4085, allocations: 7.953 kB / 452.8 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.899e-06/0.4085, allocations: 4 kB / 452.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.4087, allocations: 39.95 kB / 452.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.4089, allocations: 181.6 kB / 453.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.4091, allocations: 90.41 kB / 453.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.4094, allocations: 113.1 kB / 453.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4094, allocations: 40.66 kB / 453.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.096e-06/0.4094, allocations: 0 / 453.3 MB, free: 6.367 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1241/0.5336, allocations: 5.523 MB / 458.8 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.5337, allocations: 51.41 kB / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.5338, allocations: 97 kB / 459 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.5338, allocations: 25.7 kB / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.5339, allocations: 150.9 kB / 459.1 MB, free: 460 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.534, allocations: 74.91 kB / 459.2 MB, free: 384 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.5341, allocations: 8 kB / 459.2 MB, free: 376 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5342, allocations: 322.8 kB / 459.5 MB, free: 44 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.5348, allocations: 144 kB / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.5353, allocations: 131.9 kB / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.5363, allocations: 179.7 kB / 460 MB, free: 15.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-06/0.5363, allocations: 0 / 460 MB, free: 15.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001745/0.5381, allocations: 404 kB / 460.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5381, allocations: 6.656 kB / 460.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5381, allocations: 4 kB / 460.4 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5382, allocations: 4 kB / 460.4 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.5387, allocations: 91.84 kB / 460.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5387, allocations: 0 / 460.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.539, allocations: 43.91 kB / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.5391, allocations: 19.98 kB / 460.5 MB, free: 15.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001469/0.5392, allocations: 117.8 kB / 460.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.5393, allocations: 15.86 kB / 460.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.5413, allocations: 469.9 kB / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5413, allocations: 4 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.27e-06/0.5413, allocations: 3.984 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-06/0.5414, allocations: 0 / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.5444, allocations: 0.8698 MB / 462 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.643e-06/0.5445, allocations: 8.062 kB / 462 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.5449, allocations: 83.86 kB / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.5449, allocations: 4 kB / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.545, allocations: 15.98 kB / 462.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.838e-06/0.545, allocations: 0 / 462.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.772e-06/0.545, allocations: 7.984 kB / 462.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.5467, allocations: 0.4956 MB / 462.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.5468, allocations: 85.02 kB / 462.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.5468, allocations: 7.953 kB / 462.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.5471, allocations: 35.97 kB / 462.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.5472, allocations: 15.98 kB / 462.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.5472, allocations: 19.98 kB / 462.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.16e-05/0.5473, allocations: 75.28 kB / 462.9 MB, free: 12.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.5473, allocations: 0 / 462.9 MB, free: 12.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00189/0.5492, allocations: 0.6051 MB / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.003609/0.5528, allocations: 350.5 kB / 463.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.554, allocations: 303.8 kB / 464.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.315e-06/0.554, allocations: 0 / 464.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.5545, allocations: 154.6 kB / 464.3 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.5548, allocations: 15.88 kB / 464.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.5561, allocations: 422.8 kB / 464.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.5565, allocations: 0.7016 MB / 465.4 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.5567, allocations: 51.39 kB / 465.4 MB, free: 9.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.681e-06/0.5567, allocations: 4 kB / 465.4 MB, free: 9.926 MB / 394.7 MB Notification: Performance of Templates: time 0.267/0.8237, allocations: 14.94 MB / 480.4 MB, free: 91.35 MB / 394.7 MB