Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.929/1.929, allocations: 209.2 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004965, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.29, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.462/1.752, allocations: 0.5972 GB / 0.9207 GB, free: 8.164 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/1.753, allocations: 86.27 kB / 0.9208 GB, free: 8.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5848/2.337, allocations: 103.1 MB / 1.022 GB, free: 78.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.442e-06/2.338, allocations: 0 / 1.022 GB, free: 78.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.77e-05/2.338, allocations: 8 kB / 1.022 GB, free: 78.08 MB / 426.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.001827/2.339, allocations: 0.8725 MB / 1.022 GB, free: 77.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/2.339, allocations: 11.98 kB / 1.022 GB, free: 77.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005039/2.34, allocations: 71.33 kB / 1.022 GB, free: 77.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007961/2.341, allocations: 427.4 kB / 1.023 GB, free: 76.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/2.341, allocations: 54.7 kB / 1.023 GB, free: 76.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/2.341, allocations: 36 kB / 1.023 GB, free: 76.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/2.342, allocations: 0.5331 MB / 1.023 GB, free: 75.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/2.342, allocations: 7.922 kB / 1.023 GB, free: 75.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/2.342, allocations: 16 kB / 1.024 GB, free: 75.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/2.342, allocations: 16.66 kB / 1.024 GB, free: 75.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/2.343, allocations: 422.2 kB / 1.024 GB, free: 75.48 MB / 426.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.003526/2.347, allocations: 2.425 MB / 1.026 GB, free: 72.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009759/2.348, allocations: 355.5 kB / 1.027 GB, free: 72.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/2.348, allocations: 8.281 kB / 1.027 GB, free: 72.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006303/2.349, allocations: 268.8 kB / 1.027 GB, free: 72.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.763e-06/2.349, allocations: 4 kB / 1.027 GB, free: 72.23 MB / 426.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.01426/2.363, allocations: 3.604 MB / 1.03 GB, free: 68.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/2.363, allocations: 144.5 kB / 1.031 GB, free: 68.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/2.364, allocations: 328.7 kB / 1.031 GB, free: 68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/2.364, allocations: 37.7 kB / 1.031 GB, free: 67.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/2.364, allocations: 302.3 kB / 1.031 GB, free: 67.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/2.364, allocations: 157.7 kB / 1.031 GB, free: 67.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/2.364, allocations: 16 kB / 1.031 GB, free: 67.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/2.364, allocations: 334.8 kB / 1.032 GB, free: 67.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/2.365, allocations: 245.1 kB / 1.032 GB, free: 66.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/2.366, allocations: 430.7 kB / 1.032 GB, free: 66.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008128/2.367, allocations: 322.2 kB / 1.033 GB, free: 66.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.209e-06/2.367, allocations: 4 kB / 1.033 GB, free: 66.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002093/2.369, allocations: 0.7828 MB / 1.033 GB, free: 65.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/2.369, allocations: 45.06 kB / 1.033 GB, free: 65.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/2.369, allocations: 8.719 kB / 1.033 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/2.369, allocations: 120.8 kB / 1.034 GB, free: 65.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/2.37, allocations: 151.8 kB / 1.034 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006325/2.371, allocations: 0.6772 MB / 1.034 GB, free: 64.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/2.372, allocations: 75.95 kB / 1.034 GB, free: 64.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.36e-05/2.372, allocations: 47.98 kB / 1.034 GB, free: 64.13 MB / 426.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.0003972/2.372, allocations: 193.7 kB / 1.035 GB, free: 63.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/2.372, allocations: 51.42 kB / 1.035 GB, free: 63.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/2.375, allocations: 0.7757 MB / 1.035 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/2.375, allocations: 4 kB / 1.035 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-06/2.375, allocations: 0 / 1.035 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.795e-06/2.375, allocations: 3.953 kB / 1.035 GB, free: 63.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/2.378, allocations: 1.315 MB / 1.037 GB, free: 61.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.517e-06/2.378, allocations: 0 / 1.037 GB, free: 61.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/2.379, allocations: 115.9 kB / 1.037 GB, free: 61.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006788/2.379, allocations: 112.8 kB / 1.037 GB, free: 61.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/2.38, allocations: 12 kB / 1.037 GB, free: 61.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/2.382, allocations: 1.718 MB / 1.039 GB, free: 59.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-06/2.382, allocations: 4.031 kB / 1.039 GB, free: 59.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/2.385, allocations: 1.096 MB / 1.04 GB, free: 58.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/2.385, allocations: 152.5 kB / 1.04 GB, free: 58.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/2.385, allocations: 15.98 kB / 1.04 GB, free: 58.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/2.386, allocations: 55.95 kB / 1.04 GB, free: 58.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/2.386, allocations: 71.78 kB / 1.04 GB, free: 58.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/2.386, allocations: 39.94 kB / 1.04 GB, free: 58.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003696/2.386, allocations: 263.1 kB / 1.04 GB, free: 57.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.76e-07/2.386, allocations: 0 / 1.04 GB, free: 57.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001409/2.388, allocations: 299.8 kB / 1.041 GB, free: 57.54 MB / 426.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.00173/2.39, allocations: 0.8122 MB / 1.041 GB, free: 56.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002003/2.392, allocations: 0.6539 MB / 1.042 GB, free: 56.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/2.392, allocations: 0 / 1.042 GB, free: 56.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/2.393, allocations: 426.9 kB / 1.042 GB, free: 55.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/2.394, allocations: 180.2 kB / 1.043 GB, free: 55.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/2.402, allocations: 2.906 MB / 1.045 GB, free: 52.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/2.403, allocations: 0.8669 MB / 1.046 GB, free: 51.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/2.403, allocations: 83.41 kB / 1.046 GB, free: 51.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.701e-06/2.403, allocations: 0 / 1.046 GB, free: 51.52 MB / 426.7 MB Notification: Performance of Templates: time 0.02209/2.425, allocations: 14.64 MB / 1.061 GB, free: 36.89 MB / 426.7 MB