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.363/2.363, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004455, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006274/0.28, allocations: 260.4 kB / 369.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.2809, allocations: 369.3 kB / 369.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.2809, allocations: 0 / 369.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.2809, allocations: 3.938 kB / 369.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.323e-05/0.281, allocations: 0 / 369.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.2814, allocations: 95.77 kB / 369.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.923e-05/0.2815, allocations: 23.91 kB / 369.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.2815, allocations: 4 kB / 369.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.2816, allocations: 15.92 kB / 369.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.2816, allocations: 23.91 kB / 370 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2817, allocations: 4 kB / 370 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.2819, allocations: 131.8 kB / 370.1 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.282, allocations: 7.984 kB / 370.1 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.282, allocations: 33.64 kB / 370.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.2822, allocations: 71.89 kB / 370.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2822, allocations: 4 kB / 370.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.372e-06/0.2822, allocations: 4 kB / 370.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.671e-06/0.2822, allocations: 3.938 kB / 370.2 MB, free: 9.66 MB / 298.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.0004159/0.2827, allocations: 352 kB / 370.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2827, allocations: 12.02 kB / 370.6 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.2828, allocations: 15.86 kB / 370.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2829, allocations: 159.1 kB / 370.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.2829, allocations: 4 kB / 370.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.283, allocations: 11.94 kB / 370.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2831, allocations: 61.67 kB / 370.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.2832, allocations: 3.984 kB / 370.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2832, allocations: 0 / 370.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.781e-06/0.2832, allocations: 7.953 kB / 370.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2833, allocations: 39.97 kB / 370.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.2835, allocations: 181.5 kB / 371.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.2837, allocations: 86.48 kB / 371.1 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.284, allocations: 109.1 kB / 371.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.2841, allocations: 42.55 kB / 371.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.371e-06/0.2841, allocations: 0 / 371.3 MB, free: 8.418 MB / 298.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.1388/0.4229, allocations: 5.834 MB / 377.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.423, allocations: 51.41 kB / 377.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.4231, allocations: 93.86 kB / 377.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.4231, allocations: 29.7 kB / 377.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.4232, allocations: 150.9 kB / 377.4 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.796e-05/0.4233, allocations: 70.91 kB / 377.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.4234, allocations: 4 kB / 377.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4236, allocations: 327 kB / 377.8 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.4241, allocations: 131.9 kB / 378 MB, free: 1.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.4246, allocations: 135.9 kB / 378.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.4256, allocations: 179.7 kB / 378.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-06/0.4256, allocations: 0 / 378.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001703/0.4273, allocations: 408 kB / 378.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4274, allocations: 7.953 kB / 378.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.855e-06/0.4274, allocations: 0 / 378.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4274, allocations: 4 kB / 378.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.428, allocations: 95.91 kB / 378.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.316e-06/0.428, allocations: 3.938 kB / 378.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.4283, allocations: 35.91 kB / 378.8 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.4283, allocations: 27.97 kB / 378.8 MB, free: 0.7812 MB / 298.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.0001564/0.4285, allocations: 113.8 kB / 378.9 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.4286, allocations: 7.906 kB / 379 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.4306, allocations: 481.8 kB / 379.4 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.438e-06/0.4306, allocations: 8 kB / 379.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4306, allocations: 0 / 379.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.06e-06/0.4306, allocations: 0 / 379.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.4338, allocations: 0.8794 MB / 380.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.713e-06/0.4338, allocations: 0 / 380.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.4342, allocations: 95.92 kB / 380.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-06/0.4342, allocations: 0 / 380.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.4343, allocations: 11.98 kB / 380.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.342e-06/0.4343, allocations: 3.984 kB / 380.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.394e-06/0.4343, allocations: 8 kB / 380.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.436, allocations: 476.8 kB / 380.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.436, allocations: 85.02 kB / 381 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.4361, allocations: 4 kB / 381 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4364, allocations: 39.97 kB / 381 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.4364, allocations: 15.92 kB / 381 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.4365, allocations: 15.98 kB / 381.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.4365, allocations: 79.23 kB / 381.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.005e-06/0.4365, allocations: 0 / 381.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002037/0.4386, allocations: 0.6211 MB / 381.8 MB, free: 13.75 MB / 314.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.003959/0.4426, allocations: 307 kB / 382.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.4437, allocations: 307.7 kB / 382.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4438, allocations: 0 / 382.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.4443, allocations: 155.9 kB / 382.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.4445, allocations: 2.812 kB / 382.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4458, allocations: 434.8 kB / 382.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.4462, allocations: 0.6978 MB / 383.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.4464, allocations: 55.39 kB / 383.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.714e-06/0.4464, allocations: 0 / 383.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of Templates: time 0.03157/0.478, allocations: 16.55 MB / 400.2 MB, free: 11.21 MB / 330.7 MB