Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadModel(ModelicaTest): time 1.936/1.936, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006267, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4086, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.665/2.074, allocations: 0.5972 GB / 0.9212 GB, free: 54.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/2.074, allocations: 93.33 kB / 0.9213 GB, free: 54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.642/2.716, allocations: 103.1 MB / 1.022 GB, free: 130.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/2.716, allocations: 3.938 kB / 1.022 GB, free: 130.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.418e-05/2.716, allocations: 15.69 kB / 1.022 GB, free: 130.1 MB / 442.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.00285/2.719, allocations: 0.8696 MB / 1.023 GB, free: 129.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/2.719, allocations: 15.7 kB / 1.023 GB, free: 129.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/2.72, allocations: 76.72 kB / 1.023 GB, free: 129.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/2.721, allocations: 418.2 kB / 1.023 GB, free: 129.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/2.721, allocations: 62.11 kB / 1.023 GB, free: 129.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/2.722, allocations: 35.34 kB / 1.023 GB, free: 129.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/2.723, allocations: 0.5292 MB / 1.024 GB, free: 128.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/2.723, allocations: 0 / 1.024 GB, free: 128.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/2.723, allocations: 19.66 kB / 1.024 GB, free: 128.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/2.723, allocations: 15.03 kB / 1.024 GB, free: 128.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/2.725, allocations: 427.5 kB / 1.024 GB, free: 128.7 MB / 442.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.004941/2.73, allocations: 2.424 MB / 1.027 GB, free: 126.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/2.731, allocations: 359.7 kB / 1.027 GB, free: 126.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-05/2.731, allocations: 4.219 kB / 1.027 GB, free: 126.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008446/2.732, allocations: 262.1 kB / 1.027 GB, free: 126.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.336e-06/2.732, allocations: 0 / 1.027 GB, free: 126.2 MB / 442.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.02191/2.754, allocations: 3.614 MB / 1.031 GB, free: 124.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/2.754, allocations: 139.5 kB / 1.031 GB, free: 124.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/2.755, allocations: 382.5 kB / 1.031 GB, free: 123.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/2.755, allocations: 37.61 kB / 1.031 GB, free: 123.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/2.755, allocations: 301.8 kB / 1.032 GB, free: 123.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/2.756, allocations: 164.8 kB / 1.032 GB, free: 123.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/2.756, allocations: 11.19 kB / 1.032 GB, free: 123.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/2.756, allocations: 334.7 kB / 1.032 GB, free: 123 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/2.757, allocations: 240.7 kB / 1.032 GB, free: 122.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/2.758, allocations: 439 kB / 1.033 GB, free: 122.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/2.759, allocations: 316.1 kB / 1.033 GB, free: 122.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/2.759, allocations: 0 / 1.033 GB, free: 122.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0029/2.762, allocations: 0.7931 MB / 1.034 GB, free: 122 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/2.762, allocations: 36.14 kB / 1.034 GB, free: 122 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/2.762, allocations: 3.375 kB / 1.034 GB, free: 122 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007751/2.763, allocations: 121.9 kB / 1.034 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/2.764, allocations: 153.2 kB / 1.034 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007643/2.765, allocations: 0.6703 MB / 1.035 GB, free: 121.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/2.766, allocations: 73.56 kB / 1.035 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/2.766, allocations: 46.5 kB / 1.035 GB, free: 121.2 MB / 442.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.0004837/2.767, allocations: 204 kB / 1.035 GB, free: 121.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/2.767, allocations: 44.38 kB / 1.035 GB, free: 121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/2.77, allocations: 0.7795 MB / 1.036 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/2.77, allocations: 6.594 kB / 1.036 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/2.77, allocations: 3.984 kB / 1.036 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/2.77, allocations: 0 / 1.036 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/2.775, allocations: 1.31 MB / 1.037 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/2.775, allocations: 4 kB / 1.037 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/2.776, allocations: 124.4 kB / 1.037 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/2.777, allocations: 103.1 kB / 1.038 GB, free: 119.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/2.777, allocations: 22.45 kB / 1.038 GB, free: 119.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/2.779, allocations: 1.707 MB / 1.039 GB, free: 118 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.779, allocations: 0 / 1.039 GB, free: 118 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/2.783, allocations: 1.037 MB / 1.04 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/2.784, allocations: 159.6 kB / 1.04 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/2.784, allocations: 15.69 kB / 1.04 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/2.785, allocations: 66.56 kB / 1.04 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/2.785, allocations: 63.27 kB / 1.041 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/2.785, allocations: 34.98 kB / 1.041 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004297/2.786, allocations: 256.6 kB / 1.041 GB, free: 117 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.31e-07/2.786, allocations: 0 / 1.041 GB, free: 117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001671/2.787, allocations: 309.7 kB / 1.041 GB, free: 116.8 MB / 442.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.002083/2.79, allocations: 0.813 MB / 1.042 GB, free: 116 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0027/2.792, allocations: 0.6501 MB / 1.043 GB, free: 115.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/2.792, allocations: 0 / 1.043 GB, free: 115.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/2.794, allocations: 428.4 kB / 1.043 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/2.795, allocations: 172.4 kB / 1.043 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/2.806, allocations: 2.91 MB / 1.046 GB, free: 112 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/2.807, allocations: 0.863 MB / 1.047 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/2.807, allocations: 79.42 kB / 1.047 GB, free: 111 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/2.807, allocations: 0 / 1.047 GB, free: 111 MB / 442.7 MB Notification: Performance of Templates: time 0.03002/2.838, allocations: 14.65 MB / 1.061 GB, free: 96.36 MB / 442.7 MB