Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.628/2.628, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004541, allocations: 12 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.349, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.891/2.24, allocations: 0.604 GB / 0.9651 GB, free: 55.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003737/2.24, allocations: 96.45 kB / 0.9652 GB, free: 55.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.855/3.095, allocations: 103.1 MB / 1.066 GB, free: 150.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.355e-06/3.095, allocations: 0 / 1.066 GB, free: 150.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.37e-05/3.095, allocations: 15.22 kB / 1.066 GB, free: 150.2 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.00235/3.098, allocations: 0.864 MB / 1.067 GB, free: 149.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/3.098, allocations: 7.5 kB / 1.067 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/3.098, allocations: 77.44 kB / 1.067 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/3.099, allocations: 423.4 kB / 1.067 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/3.099, allocations: 58.2 kB / 1.067 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/3.099, allocations: 34.62 kB / 1.067 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/3.101, allocations: 0.5364 MB / 1.068 GB, free: 149 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/3.101, allocations: 0 / 1.068 GB, free: 149 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/3.101, allocations: 23.45 kB / 1.068 GB, free: 149 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/3.101, allocations: 11.81 kB / 1.068 GB, free: 149 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/3.103, allocations: 425.8 kB / 1.068 GB, free: 148.8 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.004552/3.107, allocations: 2.436 MB / 1.071 GB, free: 146.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/3.108, allocations: 361.8 kB / 1.071 GB, free: 146.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/3.109, allocations: 12.12 kB / 1.071 GB, free: 146.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000793/3.109, allocations: 259.4 kB / 1.071 GB, free: 146.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.855e-06/3.109, allocations: 4 kB / 1.071 GB, free: 146.7 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.02155/3.131, allocations: 3.605 MB / 1.075 GB, free: 145.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/3.131, allocations: 141.1 kB / 1.075 GB, free: 145.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/3.132, allocations: 378.7 kB / 1.075 GB, free: 145 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/3.132, allocations: 37.52 kB / 1.075 GB, free: 144.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/3.132, allocations: 297.5 kB / 1.076 GB, free: 144.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/3.132, allocations: 160.4 kB / 1.076 GB, free: 144.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/3.132, allocations: 12 kB / 1.076 GB, free: 144.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.329e-05/3.132, allocations: 338.3 kB / 1.076 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/3.133, allocations: 240.5 kB / 1.076 GB, free: 144.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/3.135, allocations: 429.2 kB / 1.077 GB, free: 143.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/3.136, allocations: 324.9 kB / 1.077 GB, free: 143.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/3.136, allocations: 0 / 1.077 GB, free: 143.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002715/3.138, allocations: 0.7896 MB / 1.078 GB, free: 143.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/3.139, allocations: 37.64 kB / 1.078 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/3.139, allocations: 4 kB / 1.078 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/3.139, allocations: 128.1 kB / 1.078 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/3.14, allocations: 155.7 kB / 1.078 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/3.141, allocations: 0.6695 MB / 1.079 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/3.142, allocations: 68 kB / 1.079 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/3.142, allocations: 55.97 kB / 1.079 GB, free: 141.9 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.0004323/3.143, allocations: 193.6 kB / 1.079 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/3.143, allocations: 51.39 kB / 1.079 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/3.146, allocations: 0.7706 MB / 1.08 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/3.146, allocations: 11.94 kB / 1.08 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/3.146, allocations: 4 kB / 1.08 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/3.146, allocations: 3.938 kB / 1.08 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/3.15, allocations: 1.309 MB / 1.081 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/3.151, allocations: 8.031 kB / 1.081 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/3.151, allocations: 115.8 kB / 1.081 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/3.152, allocations: 107.8 kB / 1.081 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/3.153, allocations: 19.98 kB / 1.081 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/3.155, allocations: 1.713 MB / 1.083 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/3.155, allocations: 4.078 kB / 1.083 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/3.159, allocations: 1.032 MB / 1.084 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/3.16, allocations: 160.5 kB / 1.084 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/3.16, allocations: 12 kB / 1.084 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/3.161, allocations: 59.94 kB / 1.084 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/3.161, allocations: 67.86 kB / 1.084 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/3.161, allocations: 35.98 kB / 1.084 GB, free: 136 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004086/3.161, allocations: 259.2 kB / 1.085 GB, free: 135.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.161, allocations: 0 / 1.085 GB, free: 135.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001499/3.163, allocations: 298.7 kB / 1.085 GB, free: 135.5 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.002012/3.165, allocations: 0.825 MB / 1.086 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002678/3.168, allocations: 0.6422 MB / 1.086 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/3.168, allocations: 4 kB / 1.086 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/3.169, allocations: 426.6 kB / 1.087 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/3.171, allocations: 182.8 kB / 1.087 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/3.181, allocations: 2.912 MB / 1.09 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/3.182, allocations: 0.863 MB / 1.091 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/3.182, allocations: 79.42 kB / 1.091 GB, free: 129.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/3.182, allocations: 0 / 1.091 GB, free: 129.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02956/3.212, allocations: 14.65 MB / 1.105 GB, free: 115 MB / 490.7 MB