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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.896/1.896, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.562e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3374, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.625, allocations: 0.5965 GB / 0.909 GB, free: 19.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.625, allocations: 84.61 kB / 0.9091 GB, free: 19.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5269/2.152, allocations: 101.5 MB / 1.008 GB, free: 89.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.625e-06/2.152, allocations: 4 kB / 1.008 GB, free: 89.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.672e-05/2.152, allocations: 15.94 kB / 1.008 GB, free: 89.87 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.001569/2.154, allocations: 0.8132 MB / 1.009 GB, free: 89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/2.154, allocations: 8.031 kB / 1.009 GB, free: 89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/2.155, allocations: 75.33 kB / 1.009 GB, free: 88.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/2.155, allocations: 413 kB / 1.009 GB, free: 88.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/2.155, allocations: 54.42 kB / 1.01 GB, free: 88.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/2.156, allocations: 24 kB / 1.01 GB, free: 88.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006541/2.156, allocations: 297.5 kB / 1.01 GB, free: 88.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/2.157, allocations: 442.3 kB / 1.01 GB, free: 87.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/2.157, allocations: 0 / 1.01 GB, free: 87.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/2.157, allocations: 4 kB / 1.01 GB, free: 87.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/2.157, allocations: 12.78 kB / 1.01 GB, free: 87.62 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.003263/2.16, allocations: 2.374 MB / 1.013 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/2.161, allocations: 246.9 kB / 1.013 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/2.161, allocations: 104.9 kB / 1.013 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/2.161, allocations: 4 kB / 1.013 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003643/2.162, allocations: 210.3 kB / 1.013 GB, free: 84.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 3.789e-06/2.162, allocations: 0 / 1.013 GB, free: 84.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.007209/2.169, allocations: 1.921 MB / 1.015 GB, free: 82.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/2.169, allocations: 140.5 kB / 1.015 GB, free: 82.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/2.169, allocations: 317.1 kB / 1.015 GB, free: 81.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/2.169, allocations: 29.7 kB / 1.015 GB, free: 81.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/2.17, allocations: 310.1 kB / 1.016 GB, free: 81.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/2.17, allocations: 149.8 kB / 1.016 GB, free: 81.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/2.17, allocations: 0 / 1.016 GB, free: 81.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/2.17, allocations: 342.8 kB / 1.016 GB, free: 81.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/2.17, allocations: 137.5 kB / 1.016 GB, free: 81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/2.171, allocations: 338.5 kB / 1.017 GB, free: 80.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/2.171, allocations: 212.6 kB / 1.017 GB, free: 80.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-06/2.171, allocations: 4 kB / 1.017 GB, free: 80.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001271/2.172, allocations: 0.5515 MB / 1.017 GB, free: 79.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/2.173, allocations: 41.84 kB / 1.017 GB, free: 79.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/2.173, allocations: 11.94 kB / 1.017 GB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/2.173, allocations: 104.8 kB / 1.018 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/2.174, allocations: 151.8 kB / 1.018 GB, free: 79.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005626/2.174, allocations: 0.6927 MB / 1.018 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/2.175, allocations: 56.02 kB / 1.018 GB, free: 78.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/2.175, allocations: 47.98 kB / 1.019 GB, free: 78.69 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 (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.0001813/2.175, allocations: 128.2 kB / 1.019 GB, free: 78.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/2.175, allocations: 47.44 kB / 1.019 GB, free: 78.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/2.177, allocations: 0.5207 MB / 1.019 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.382e-06/2.177, allocations: 4 kB / 1.019 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/2.177, allocations: 4 kB / 1.019 GB, free: 77.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.16e-06/2.177, allocations: 3.984 kB / 1.019 GB, free: 77.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/2.179, allocations: 1.033 MB / 1.02 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.417e-06/2.179, allocations: 4 kB / 1.02 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/2.18, allocations: 111.9 kB / 1.02 GB, free: 76.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006952/2.181, allocations: 104.9 kB / 1.02 GB, free: 76.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/2.181, allocations: 11.98 kB / 1.02 GB, free: 76.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/2.182, allocations: 1.624 MB / 1.022 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/2.182, allocations: 4.031 kB / 1.022 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/2.184, allocations: 0.7844 MB / 1.023 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/2.184, allocations: 152.5 kB / 1.023 GB, free: 73.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/2.184, allocations: 4 kB / 1.023 GB, free: 73.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/2.185, allocations: 55.89 kB / 1.023 GB, free: 73.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/2.185, allocations: 67.84 kB / 1.023 GB, free: 73.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/2.185, allocations: 31.98 kB / 1.023 GB, free: 73.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003057/2.186, allocations: 235 kB / 1.023 GB, free: 73.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.69e-07/2.186, allocations: 4 kB / 1.023 GB, free: 73.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001298/2.187, allocations: 271.8 kB / 1.024 GB, free: 73.23 MB / 426.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.001667/2.189, allocations: 0.912 MB / 1.024 GB, free: 72.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/2.19, allocations: 469.8 kB / 1.025 GB, free: 71.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.876e-06/2.19, allocations: 0 / 1.025 GB, free: 71.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005342/2.19, allocations: 310 kB / 1.025 GB, free: 71.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/2.191, allocations: 170.7 kB / 1.025 GB, free: 71.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/2.199, allocations: 2.268 MB / 1.028 GB, free: 69.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/2.199, allocations: 0.863 MB / 1.028 GB, free: 68.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/2.2, allocations: 75.42 kB / 1.029 GB, free: 68.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.799e-06/2.2, allocations: 0 / 1.029 GB, free: 68.11 MB / 426.7 MB Notification: Performance of Templates: time 0.02162/2.221, allocations: 14.54 MB / 1.043 GB, free: 53.57 MB / 426.7 MB