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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.205/2.205, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 15.98 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2739, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4725/0.7465, allocations: 133 MB / 0.4904 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007794/0.7543, allocations: 4.899 MB / 0.4952 GB, free: 12.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007573/0.7551, allocations: 15.28 kB / 0.4952 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006304/0.7558, allocations: 169.4 kB / 0.4954 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.7582, allocations: 0.6659 MB / 0.496 GB, free: 12.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.7601, allocations: 0.5277 MB / 0.4965 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.7612, allocations: 0.7202 MB / 0.4973 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004875/0.7617, allocations: 271 kB / 0.4975 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.7625, allocations: 361.2 kB / 0.4979 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.763, allocations: 265.5 kB / 0.4981 GB, free: 12.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.7631, allocations: 22 kB / 0.4981 GB, free: 12.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.7643, allocations: 426.2 kB / 0.4985 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.7645, allocations: 126.8 kB / 0.4987 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.7647, allocations: 115.4 kB / 0.4988 GB, free: 11.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.7658, allocations: 0.6448 MB / 0.4994 GB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.936e-06/0.7658, allocations: 0 / 0.4994 GB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7658, allocations: 3.938 kB / 0.4994 GB, free: 11.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.331e-06/0.7658, allocations: 0 / 0.4994 GB, free: 11.66 MB / 410.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.001772/0.7676, allocations: 0.8127 MB / 0.5002 GB, free: 11.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7676, allocations: 8.406 kB / 0.5002 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.7681, allocations: 68.3 kB / 0.5003 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.7689, allocations: 384.2 kB / 0.5006 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.801e-05/0.769, allocations: 56.05 kB / 0.5007 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.7691, allocations: 49.31 kB / 0.5007 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.7703, allocations: 0.5399 MB / 0.5013 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.7704, allocations: 2.656 kB / 0.5013 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.7704, allocations: 16.41 kB / 0.5013 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.7705, allocations: 13.78 kB / 0.5013 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.7716, allocations: 423 kB / 0.5017 GB, free: 10.32 MB / 410.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.004136/0.7758, allocations: 2.505 MB / 0.5041 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.7768, allocations: 374.5 kB / 0.5045 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.7769, allocations: 6.719 kB / 0.5045 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006776/0.7776, allocations: 269.9 kB / 0.5048 GB, free: 8.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.497e-06/0.7776, allocations: 0 / 0.5048 GB, free: 8.168 MB / 410.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.01443/0.792, allocations: 3.578 MB / 0.5083 GB, free: 6.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7922, allocations: 140.7 kB / 0.5084 GB, free: 6.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.7927, allocations: 376.5 kB / 0.5087 GB, free: 6.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.7928, allocations: 35.92 kB / 0.5088 GB, free: 6.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.7931, allocations: 306 kB / 0.5091 GB, free: 6.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.7933, allocations: 159.9 kB / 0.5092 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.7933, allocations: 12.25 kB / 0.5092 GB, free: 6.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.7935, allocations: 331.8 kB / 0.5096 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/0.7943, allocations: 241.7 kB / 0.5098 GB, free: 5.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.7953, allocations: 442 kB / 0.5102 GB, free: 5.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008348/0.7961, allocations: 317.6 kB / 0.5105 GB, free: 5.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.65e-06/0.7961, allocations: 0 / 0.5105 GB, free: 5.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002344/0.7985, allocations: 0.8116 MB / 0.5113 GB, free: 5.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.7986, allocations: 34.33 kB / 0.5113 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7986, allocations: 5.906 kB / 0.5113 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/0.7992, allocations: 116.7 kB / 0.5115 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.7999, allocations: 161.6 kB / 0.5116 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008092/0.8007, allocations: 0.6698 MB / 0.5123 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.8014, allocations: 68.53 kB / 0.5123 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/0.8015, allocations: 49.48 kB / 0.5124 GB, free: 4.375 MB / 410.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.0003908/0.8019, allocations: 198.9 kB / 0.5126 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.802, allocations: 46.84 kB / 0.5126 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.8046, allocations: 0.7873 MB / 0.5134 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.985e-06/0.8046, allocations: 9.281 kB / 0.5134 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-06/0.8047, allocations: 0 / 0.5134 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.99e-06/0.8047, allocations: 0 / 0.5134 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.808, allocations: 1.315 MB / 0.5147 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.215e-06/0.808, allocations: 2.969 kB / 0.5147 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/0.8087, allocations: 119 kB / 0.5148 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/0.8094, allocations: 106.6 kB / 0.5149 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.8094, allocations: 18.61 kB / 0.5149 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.812, allocations: 1.722 MB / 0.5166 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.532e-06/0.812, allocations: 6.984 kB / 0.5166 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/0.8149, allocations: 1.037 MB / 0.5176 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.8153, allocations: 161.5 kB / 0.5178 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8154, allocations: 10.84 kB / 0.5178 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.816, allocations: 64.31 kB / 0.5178 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.8162, allocations: 59.12 kB / 0.5179 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.8163, allocations: 41.77 kB / 0.5179 GB, free: 1.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000382/0.8167, allocations: 254.7 kB / 0.5182 GB, free: 1.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.8167, allocations: 0 / 0.5182 GB, free: 1.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001024/0.8178, allocations: 234.7 kB / 0.5184 GB, free: 1.199 MB / 410.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.0009728/0.8187, allocations: 324.5 kB / 0.5187 GB, free: 1.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.8207, allocations: 0.6515 MB / 0.5193 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.408e-06/0.8207, allocations: 0 / 0.5193 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.8218, allocations: 429.5 kB / 0.5198 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.8229, allocations: 180.5 kB / 0.5199 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.8257, allocations: 1.432 MB / 0.5213 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.8263, allocations: 0.8611 MB / 0.5222 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.8268, allocations: 83.53 kB / 0.5222 GB, free: 14.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.587e-06/0.8268, allocations: 0 / 0.5222 GB, free: 14.86 MB / 426.7 MB Notification: Performance of Templates: time 0.02175/0.8485, allocations: 11.6 MB / 0.5336 GB, free: 6.82 MB / 426.7 MB