Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.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.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.107/2.107, allocations: 209.2 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004407, allocations: 16 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.355, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.959/1.314, allocations: 449.7 MB / 0.7626 GB, free: 42.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.314, allocations: 71.89 kB / 0.7627 GB, free: 42.22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08665/1.401, allocations: 29.89 MB / 0.7919 GB, free: 17.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.317e-06/1.401, allocations: 0 / 0.7919 GB, free: 17.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/1.401, allocations: 8 kB / 0.7919 GB, free: 17.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004064/1.402, allocations: 391.2 kB / 0.7923 GB, free: 16.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.402, allocations: 8.031 kB / 0.7923 GB, free: 16.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/1.404, allocations: 179.7 kB / 0.7925 GB, free: 16.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/1.404, allocations: 208.3 kB / 0.7927 GB, free: 16.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.404, allocations: 2.656 kB / 0.7927 GB, free: 16.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/1.404, allocations: 10.5 kB / 0.7927 GB, free: 16.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/1.404, allocations: 233.2 kB / 0.7929 GB, free: 16.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.404, allocations: 0 / 0.7929 GB, free: 16.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/1.405, allocations: 2.438 kB / 0.7929 GB, free: 16.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-06/1.405, allocations: 4 kB / 0.7929 GB, free: 16.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/1.405, allocations: 172.1 kB / 0.7931 GB, free: 16.03 MB / 442.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.001015/1.406, allocations: 0.5638 MB / 0.7936 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/1.407, allocations: 137.8 kB / 0.7937 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/1.407, allocations: 3.125 kB / 0.7937 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.407, allocations: 39.08 kB / 0.7938 GB, free: 15.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.432e-06/1.407, allocations: 0 / 0.7938 GB, free: 15.32 MB / 442.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005715/1.412, allocations: 1.303 MB / 0.7951 GB, free: 13.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/1.412, allocations: 59.41 kB / 0.7951 GB, free: 13.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/1.413, allocations: 108.8 kB / 0.7952 GB, free: 13.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/1.413, allocations: 25.7 kB / 0.7952 GB, free: 13.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/1.413, allocations: 166.5 kB / 0.7954 GB, free: 13.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/1.413, allocations: 67.02 kB / 0.7955 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/1.413, allocations: 4 kB / 0.7955 GB, free: 13.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/1.413, allocations: 322.8 kB / 0.7958 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/1.413, allocations: 67.95 kB / 0.7958 GB, free: 13.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.413, allocations: 103.5 kB / 0.7959 GB, free: 13.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/1.413, allocations: 80.92 kB / 0.796 GB, free: 12.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-06/1.413, allocations: 4 kB / 0.796 GB, free: 12.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006219/1.414, allocations: 255.3 kB / 0.7963 GB, free: 12.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.414, allocations: 12.61 kB / 0.7963 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-06/1.414, allocations: 0 / 0.7963 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/1.414, allocations: 48.83 kB / 0.7963 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/1.415, allocations: 55.91 kB / 0.7964 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003695/1.415, allocations: 0.5719 MB / 0.7969 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/1.415, allocations: 11.91 kB / 0.7969 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/1.415, allocations: 31.98 kB / 0.797 GB, free: 11.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.416, allocations: 121.8 kB / 0.7971 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/1.416, allocations: 11.86 kB / 0.7971 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.417, allocations: 343.1 kB / 0.7974 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-06/1.417, allocations: 7.984 kB / 0.7974 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.357e-06/1.417, allocations: 0 / 0.7974 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.384e-06/1.417, allocations: 4 kB / 0.7974 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.418, allocations: 0.6144 MB / 0.798 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-06/1.418, allocations: 0 / 0.798 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/1.418, allocations: 71.98 kB / 0.7981 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/1.418, allocations: 20.84 kB / 0.7981 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/1.418, allocations: 11.98 kB / 0.7981 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007732/1.419, allocations: 1.28 MB / 0.7994 GB, free: 9.254 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.042e-06/1.419, allocations: 0 / 0.7994 GB, free: 9.254 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/1.42, allocations: 463.9 kB / 0.7998 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/1.42, allocations: 89.05 kB / 0.7999 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/1.42, allocations: 4 kB / 0.7999 GB, free: 8.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/1.42, allocations: 11.91 kB / 0.7999 GB, free: 8.633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/1.421, allocations: 27.95 kB / 0.8 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/1.421, allocations: 24.05 kB / 0.8 GB, free: 8.582 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.827e-05/1.421, allocations: 99.22 kB / 0.8001 GB, free: 8.484 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.79e-07/1.421, allocations: 0 / 0.8001 GB, free: 8.484 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006418/1.421, allocations: 111.9 kB / 0.8002 GB, free: 8.375 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008429/1.422, allocations: 0.5434 MB / 0.8007 GB, free: 7.812 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005975/1.423, allocations: 203.2 kB / 0.8009 GB, free: 7.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.802e-06/1.423, allocations: 0 / 0.8009 GB, free: 7.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/1.423, allocations: 226.9 kB / 0.8011 GB, free: 7.383 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/1.424, allocations: 41.17 kB / 0.8012 GB, free: 7.344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/1.425, allocations: 0.5943 MB / 0.8017 GB, free: 6.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/1.425, allocations: 0.7126 MB / 0.8024 GB, free: 5.969 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.425, allocations: 55.41 kB / 0.8025 GB, free: 5.914 MB / 442.7 MB Notification: Performance of SimCode: time 1.569e-06/1.425, allocations: 0 / 0.8025 GB, free: 5.914 MB / 442.7 MB Notification: Performance of Templates: time 0.2332/1.658, allocations: 6.447 MB / 0.8088 GB, free: 150.6 MB / 442.7 MB