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 2.033/2.033, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.033e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09043, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.635/1.725, allocations: 0.5971 GB / 0.916 GB, free: 76.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.726, allocations: 88.25 kB / 0.9161 GB, free: 76.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.562/2.288, allocations: 102.8 MB / 1.017 GB, free: 101.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.031e-06/2.288, allocations: 3.438 kB / 1.017 GB, free: 101.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.362e-05/2.288, allocations: 17.14 kB / 1.017 GB, free: 101.7 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.001848/2.29, allocations: 0.8091 MB / 1.017 GB, free: 101.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/2.29, allocations: 10.75 kB / 1.017 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005484/2.29, allocations: 75.81 kB / 1.017 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008879/2.291, allocations: 420.8 kB / 1.018 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/2.291, allocations: 60.94 kB / 1.018 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/2.291, allocations: 38.16 kB / 1.018 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009699/2.292, allocations: 489.9 kB / 1.018 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/2.292, allocations: 3.469 kB / 1.018 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/2.292, allocations: 24.09 kB / 1.018 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/2.293, allocations: 18.98 kB / 1.018 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/2.293, allocations: 331.9 kB / 1.019 GB, free: 100.8 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003617/2.297, allocations: 2.425 MB / 1.021 GB, free: 99.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/2.298, allocations: 272.3 kB / 1.021 GB, free: 99.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/2.298, allocations: 128.9 kB / 1.022 GB, free: 99.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/2.298, allocations: 4.219 kB / 1.022 GB, free: 99.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/2.298, allocations: 225.4 kB / 1.022 GB, free: 99.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 4.16e-06/2.298, allocations: 3.938 kB / 1.022 GB, free: 99.13 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.01076/2.309, allocations: 2.658 MB / 1.024 GB, free: 98.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/2.309, allocations: 138.3 kB / 1.024 GB, free: 98.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/2.31, allocations: 328.2 kB / 1.025 GB, free: 98.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/2.31, allocations: 36.86 kB / 1.025 GB, free: 98.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/2.31, allocations: 309.5 kB / 1.025 GB, free: 97.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/2.31, allocations: 157.5 kB / 1.025 GB, free: 97.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/2.31, allocations: 10.53 kB / 1.025 GB, free: 97.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.201e-05/2.31, allocations: 337 kB / 1.026 GB, free: 97.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/2.311, allocations: 158.1 kB / 1.026 GB, free: 97.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/2.311, allocations: 347.1 kB / 1.026 GB, free: 97.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/2.312, allocations: 242.9 kB / 1.026 GB, free: 97.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/2.312, allocations: 0 / 1.026 GB, free: 97.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001377/2.313, allocations: 0.6324 MB / 1.027 GB, free: 97.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/2.313, allocations: 34.67 kB / 1.027 GB, free: 97.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/2.313, allocations: 3.906 kB / 1.027 GB, free: 97.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/2.314, allocations: 116 kB / 1.027 GB, free: 97.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/2.315, allocations: 151.2 kB / 1.027 GB, free: 97.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006022/2.315, allocations: 0.6686 MB / 1.028 GB, free: 96.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/2.316, allocations: 72.44 kB / 1.028 GB, free: 96.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/2.316, allocations: 44.48 kB / 1.028 GB, free: 96.67 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 () * 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.0002084/2.316, allocations: 147 kB / 1.028 GB, free: 96.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/2.316, allocations: 52.91 kB / 1.028 GB, free: 96.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/2.318, allocations: 0.6138 MB / 1.029 GB, free: 96.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.369e-06/2.318, allocations: 3.938 kB / 1.029 GB, free: 96.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.446e-06/2.318, allocations: 0 / 1.029 GB, free: 96.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-06/2.318, allocations: 3.234 kB / 1.029 GB, free: 96.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/2.321, allocations: 1.144 MB / 1.03 GB, free: 96.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.101e-06/2.321, allocations: 0 / 1.03 GB, free: 96.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/2.322, allocations: 116.2 kB / 1.03 GB, free: 96.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00077/2.323, allocations: 112.5 kB / 1.03 GB, free: 96.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/2.323, allocations: 17.33 kB / 1.03 GB, free: 96.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/2.325, allocations: 1.672 MB / 1.032 GB, free: 94.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.572e-06/2.325, allocations: 0 / 1.032 GB, free: 94.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/2.327, allocations: 0.8497 MB / 1.033 GB, free: 94.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/2.327, allocations: 158.9 kB / 1.033 GB, free: 94.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/2.328, allocations: 11.09 kB / 1.033 GB, free: 94.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/2.328, allocations: 67.23 kB / 1.033 GB, free: 94.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/2.329, allocations: 68.86 kB / 1.033 GB, free: 94.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/2.329, allocations: 37.09 kB / 1.033 GB, free: 94.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003622/2.329, allocations: 257.7 kB / 1.033 GB, free: 94.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.028e-06/2.329, allocations: 0 / 1.033 GB, free: 94.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001411/2.33, allocations: 301 kB / 1.033 GB, free: 94.28 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) * 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.001706/2.332, allocations: 0.8117 MB / 1.034 GB, free: 94.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/2.333, allocations: 499.2 kB / 1.035 GB, free: 94.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.16e-06/2.333, allocations: 5.875 kB / 1.035 GB, free: 94.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/2.334, allocations: 336 kB / 1.035 GB, free: 93.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/2.335, allocations: 181 kB / 1.035 GB, free: 93.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008075/2.343, allocations: 2.306 MB / 1.037 GB, free: 93.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/2.344, allocations: 0.8658 MB / 1.038 GB, free: 92.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/2.344, allocations: 82.09 kB / 1.038 GB, free: 92.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/2.344, allocations: 0 / 1.038 GB, free: 92.86 MB / 426.7 MB Notification: Performance of Templates: time 0.02392/2.368, allocations: 14.6 MB / 1.053 GB, free: 91.67 MB / 426.7 MB