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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.243/2.243, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.786e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2756, allocations: 54.86 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.73, allocations: 0.6032 GB / 0.9529 GB, free: 28.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.731, allocations: 81.33 kB / 0.953 GB, free: 28.36 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.568/2.299, allocations: 101.5 MB / 1.052 GB, free: 118.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.14e-06/2.299, allocations: 0 / 1.052 GB, free: 118.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.575e-05/2.299, allocations: 19.94 kB / 1.052 GB, free: 118.2 MB / 474.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.001723/2.3, allocations: 0.8086 MB / 1.053 GB, free: 117.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/2.301, allocations: 12.02 kB / 1.053 GB, free: 117.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/2.301, allocations: 75.33 kB / 1.053 GB, free: 117.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/2.302, allocations: 412 kB / 1.053 GB, free: 116.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/2.302, allocations: 42.48 kB / 1.053 GB, free: 116.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/2.302, allocations: 27.95 kB / 1.053 GB, free: 116.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006843/2.303, allocations: 297.5 kB / 1.054 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/2.304, allocations: 441.8 kB / 1.054 GB, free: 116 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/2.304, allocations: 3.984 kB / 1.054 GB, free: 116 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/2.304, allocations: 0 / 1.054 GB, free: 116 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/2.304, allocations: 16.78 kB / 1.054 GB, free: 115.9 MB / 474.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.003421/2.307, allocations: 2.385 MB / 1.056 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/2.308, allocations: 239.7 kB / 1.057 GB, free: 113.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/2.308, allocations: 120.8 kB / 1.057 GB, free: 113.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/2.308, allocations: 4 kB / 1.057 GB, free: 113 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/2.308, allocations: 185.9 kB / 1.057 GB, free: 112.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.377e-06/2.308, allocations: 0 / 1.057 GB, free: 112.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.007432/2.316, allocations: 1.941 MB / 1.059 GB, free: 110.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/2.316, allocations: 132.5 kB / 1.059 GB, free: 110.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/2.316, allocations: 325 kB / 1.059 GB, free: 110.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/2.316, allocations: 29.7 kB / 1.059 GB, free: 110.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/2.317, allocations: 306.2 kB / 1.06 GB, free: 110 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/2.317, allocations: 153.8 kB / 1.06 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/2.317, allocations: 0 / 1.06 GB, free: 109.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/2.317, allocations: 330.8 kB / 1.06 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/2.317, allocations: 157.5 kB / 1.06 GB, free: 109.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/2.318, allocations: 326.5 kB / 1.061 GB, free: 108.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/2.318, allocations: 224.9 kB / 1.061 GB, free: 108.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-06/2.318, allocations: 0 / 1.061 GB, free: 108.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001291/2.32, allocations: 0.5513 MB / 1.061 GB, free: 108.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/2.32, allocations: 33.7 kB / 1.061 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/2.32, allocations: 4 kB / 1.061 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/2.32, allocations: 104.8 kB / 1.061 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/2.321, allocations: 156.2 kB / 1.062 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005841/2.321, allocations: 0.6848 MB / 1.062 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/2.322, allocations: 64 kB / 1.062 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/2.322, allocations: 47.98 kB / 1.062 GB, free: 107 MB / 474.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 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.0001895/2.322, allocations: 134.7 kB / 1.063 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/2.323, allocations: 47.44 kB / 1.063 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/2.324, allocations: 0.5243 MB / 1.063 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/2.324, allocations: 4 kB / 1.063 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.276e-06/2.324, allocations: 4 kB / 1.063 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.455e-06/2.324, allocations: 7.922 kB / 1.063 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/2.326, allocations: 1.026 MB / 1.064 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-06/2.326, allocations: 0 / 1.064 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/2.327, allocations: 124 kB / 1.064 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006297/2.328, allocations: 100.8 kB / 1.064 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/2.328, allocations: 8 kB / 1.064 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/2.33, allocations: 1.635 MB / 1.066 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.781e-06/2.33, allocations: 4.062 kB / 1.066 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/2.331, allocations: 0.7686 MB / 1.067 GB, free: 102.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/2.332, allocations: 156.5 kB / 1.067 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/2.332, allocations: 0 / 1.067 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/2.333, allocations: 59.94 kB / 1.067 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/2.333, allocations: 67.8 kB / 1.067 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/2.333, allocations: 35.98 kB / 1.067 GB, free: 102.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003104/2.333, allocations: 235 kB / 1.067 GB, free: 101.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.86e-07/2.333, allocations: 7.938 kB / 1.067 GB, free: 101.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001287/2.335, allocations: 267.8 kB / 1.067 GB, free: 101.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (40): * Single equations (assignments): 37 * 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.00166/2.336, allocations: 0.9091 MB / 1.068 GB, free: 100.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/2.337, allocations: 461.4 kB / 1.069 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/2.337, allocations: 7.938 kB / 1.069 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005561/2.338, allocations: 309.9 kB / 1.069 GB, free: 99.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/2.339, allocations: 169 kB / 1.069 GB, free: 99.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007996/2.347, allocations: 2.256 MB / 1.071 GB, free: 97.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/2.347, allocations: 0.8708 MB / 1.072 GB, free: 96.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/2.348, allocations: 83.41 kB / 1.072 GB, free: 96.58 MB / 474.7 MB Notification: Performance of SimCode: time 1.847e-06/2.348, allocations: 0 / 1.072 GB, free: 96.58 MB / 474.7 MB Notification: Performance of Templates: time 0.02196/2.37, allocations: 14.53 MB / 1.087 GB, free: 82.05 MB / 474.7 MB