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.TestComponents.Machines.TestSweptVolume.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.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004228, allocations: 8 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3699, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.56/1.93, allocations: 0.604 GB / 0.9646 GB, free: 76.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.93, allocations: 87.89 kB / 0.9647 GB, free: 76.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.573/2.503, allocations: 103.1 MB / 1.065 GB, free: 145.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.484e-06/2.503, allocations: 0 / 1.065 GB, free: 145.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.951e-05/2.503, allocations: 10.25 kB / 1.065 GB, free: 145.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001722/2.505, allocations: 0.8735 MB / 1.066 GB, free: 145.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/2.505, allocations: 11.53 kB / 1.066 GB, free: 145.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/2.506, allocations: 75.44 kB / 1.066 GB, free: 145.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/2.506, allocations: 417.6 kB / 1.067 GB, free: 145.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/2.506, allocations: 60.27 kB / 1.067 GB, free: 145.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/2.507, allocations: 40.28 kB / 1.067 GB, free: 145.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/2.508, allocations: 0.5199 MB / 1.067 GB, free: 145 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/2.508, allocations: 10.22 kB / 1.067 GB, free: 145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/2.508, allocations: 14.44 kB / 1.067 GB, free: 145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/2.508, allocations: 23 kB / 1.067 GB, free: 145 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/2.509, allocations: 420.1 kB / 1.068 GB, free: 145 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/2.513, allocations: 2.435 MB / 1.07 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/2.514, allocations: 354.7 kB / 1.07 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/2.514, allocations: 8.609 kB / 1.071 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006171/2.514, allocations: 271 kB / 1.071 GB, free: 143.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.557e-06/2.514, allocations: 0 / 1.071 GB, free: 143.3 MB / 490.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: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01423/2.529, allocations: 3.608 MB / 1.074 GB, free: 142.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/2.529, allocations: 139.4 kB / 1.074 GB, free: 142.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/2.529, allocations: 331.7 kB / 1.075 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/2.529, allocations: 36.27 kB / 1.075 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/2.529, allocations: 303.7 kB / 1.075 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/2.53, allocations: 164.6 kB / 1.075 GB, free: 142 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/2.53, allocations: 9.5 kB / 1.075 GB, free: 142 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/2.53, allocations: 346 kB / 1.076 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/2.53, allocations: 237.9 kB / 1.076 GB, free: 141.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/2.531, allocations: 436.2 kB / 1.076 GB, free: 141.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/2.532, allocations: 323.5 kB / 1.077 GB, free: 141.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.699e-06/2.532, allocations: 0 / 1.077 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002233/2.535, allocations: 0.7945 MB / 1.077 GB, free: 141.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/2.535, allocations: 32.27 kB / 1.077 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/2.535, allocations: 7.562 kB / 1.077 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/2.535, allocations: 115 kB / 1.077 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/2.536, allocations: 152.4 kB / 1.078 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006606/2.537, allocations: 0.6762 MB / 1.078 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/2.538, allocations: 70.78 kB / 1.078 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/2.538, allocations: 49.53 kB / 1.078 GB, free: 140.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000397/2.538, allocations: 197.9 kB / 1.079 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/2.538, allocations: 48.53 kB / 1.079 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/2.541, allocations: 0.7811 MB / 1.079 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.663e-06/2.541, allocations: 3.75 kB / 1.079 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.541, allocations: 0 / 1.079 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.732e-06/2.541, allocations: 3.422 kB / 1.079 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/2.545, allocations: 1.313 MB / 1.081 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/2.545, allocations: 0 / 1.081 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/2.545, allocations: 121.7 kB / 1.081 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007895/2.546, allocations: 99.89 kB / 1.081 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/2.546, allocations: 15.81 kB / 1.081 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/2.548, allocations: 1.718 MB / 1.083 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.734e-06/2.548, allocations: 3.953 kB / 1.083 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/2.551, allocations: 1.094 MB / 1.084 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/2.552, allocations: 154.8 kB / 1.084 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/2.552, allocations: 15.67 kB / 1.084 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/2.553, allocations: 65.69 kB / 1.084 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/2.553, allocations: 65.47 kB / 1.084 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/2.553, allocations: 30.88 kB / 1.084 GB, free: 137.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003709/2.553, allocations: 258.9 kB / 1.084 GB, free: 137.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.31e-07/2.553, allocations: 0 / 1.084 GB, free: 137.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001399/2.555, allocations: 309.4 kB / 1.084 GB, free: 137.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001626/2.556, allocations: 0.8233 MB / 1.085 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/2.558, allocations: 0.649 MB / 1.086 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.496e-06/2.558, allocations: 0 / 1.086 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009756/2.559, allocations: 432.2 kB / 1.086 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/2.561, allocations: 182.6 kB / 1.086 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/2.569, allocations: 2.909 MB / 1.089 GB, free: 135.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/2.569, allocations: 0.8628 MB / 1.09 GB, free: 134.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/2.57, allocations: 75.59 kB / 1.09 GB, free: 134.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.564e-06/2.57, allocations: 0 / 1.09 GB, free: 134.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02227/2.592, allocations: 14.65 MB / 1.105 GB, free: 127.8 MB / 490.7 MB