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/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.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 1.881/1.881, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.104e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3477, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.355, allocations: 448.9 MB / 0.7509 GB, free: 4.699 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.356, allocations: 68.41 kB / 0.751 GB, free: 4.664 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3216/1.677, allocations: 29.27 MB / 0.7796 GB, free: 152.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.437e-06/1.677, allocations: 4 kB / 0.7796 GB, free: 152.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/1.677, allocations: 0 / 0.7796 GB, free: 152.7 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005762/1.678, allocations: 386.6 kB / 0.7799 GB, free: 152.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.678, allocations: 12.02 kB / 0.7799 GB, free: 152.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/1.682, allocations: 184.2 kB / 0.7801 GB, free: 152.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/1.682, allocations: 203 kB / 0.7803 GB, free: 151.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/1.682, allocations: 4.219 kB / 0.7803 GB, free: 151.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/1.682, allocations: 12 kB / 0.7803 GB, free: 151.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006942/1.683, allocations: 155.8 kB / 0.7805 GB, free: 151.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/1.683, allocations: 135.3 kB / 0.7806 GB, free: 151.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.684, allocations: 0 / 0.7806 GB, free: 151.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/1.684, allocations: 0 / 0.7806 GB, free: 151.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.684, allocations: 4 kB / 0.7806 GB, free: 151.5 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.00166/1.685, allocations: 0.5411 MB / 0.7811 GB, free: 150.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/1.686, allocations: 122.5 kB / 0.7812 GB, free: 150.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/1.686, allocations: 61.72 kB / 0.7813 GB, free: 150.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/1.686, allocations: 0 / 0.7813 GB, free: 150.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.686, allocations: 38.56 kB / 0.7813 GB, free: 150.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 4.307e-06/1.686, allocations: 0 / 0.7813 GB, free: 150.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.007396/1.694, allocations: 0.8976 MB / 0.7822 GB, free: 149.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/1.694, allocations: 51.41 kB / 0.7823 GB, free: 149.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/1.694, allocations: 97 kB / 0.7824 GB, free: 149.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/1.694, allocations: 29.7 kB / 0.7824 GB, free: 149.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/1.694, allocations: 166.4 kB / 0.7825 GB, free: 149.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.69e-05/1.694, allocations: 67.02 kB / 0.7826 GB, free: 149.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/1.694, allocations: 0 / 0.7826 GB, free: 149.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/1.694, allocations: 322.8 kB / 0.7829 GB, free: 148.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/1.694, allocations: 52 kB / 0.783 GB, free: 148.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/1.695, allocations: 97.02 kB / 0.7831 GB, free: 148.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/1.695, allocations: 76.41 kB / 0.7831 GB, free: 148.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.914e-06/1.695, allocations: 0 / 0.7831 GB, free: 148.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008448/1.696, allocations: 228.7 kB / 0.7834 GB, free: 148.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.696, allocations: 6.344 kB / 0.7834 GB, free: 148.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.696, allocations: 4 kB / 0.7834 GB, free: 148.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/1.696, allocations: 44.83 kB / 0.7834 GB, free: 148.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/1.697, allocations: 51.91 kB / 0.7835 GB, free: 148.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/1.697, allocations: 0.572 MB / 0.784 GB, free: 147.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/1.698, allocations: 3.906 kB / 0.784 GB, free: 147.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.144e-05/1.698, allocations: 31.98 kB / 0.784 GB, free: 147.8 MB / 426.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 () * 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.0001503/1.698, allocations: 112.8 kB / 0.7842 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.698, allocations: 15.86 kB / 0.7842 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/1.7, allocations: 315.4 kB / 0.7845 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-06/1.7, allocations: 4 kB / 0.7845 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.141e-06/1.7, allocations: 0 / 0.7845 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.7, allocations: 0 / 0.7845 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/1.701, allocations: 0.5706 MB / 0.785 GB, free: 146.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.935e-06/1.701, allocations: 0 / 0.785 GB, free: 146.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/1.702, allocations: 71.98 kB / 0.7851 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/1.702, allocations: 24.84 kB / 0.7851 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/1.702, allocations: 11.92 kB / 0.7851 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/1.704, allocations: 1.217 MB / 0.7863 GB, free: 145.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.786e-06/1.704, allocations: 7.969 kB / 0.7863 GB, free: 145.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/1.705, allocations: 435.5 kB / 0.7867 GB, free: 144.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/1.705, allocations: 85.05 kB / 0.7868 GB, free: 144.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/1.705, allocations: 0 / 0.7868 GB, free: 144.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/1.705, allocations: 11.89 kB / 0.7868 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/1.706, allocations: 27.91 kB / 0.7869 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.878e-05/1.706, allocations: 24.06 kB / 0.7869 GB, free: 144.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/1.706, allocations: 91.27 kB / 0.787 GB, free: 144.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.706, allocations: 0 / 0.787 GB, free: 144.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0011/1.707, allocations: 107.9 kB / 0.7871 GB, free: 144.4 MB / 426.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 () * 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.001499/1.708, allocations: 0.6032 MB / 0.7877 GB, free: 143.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007796/1.709, allocations: 179.9 kB / 0.7878 GB, free: 143.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.118e-06/1.709, allocations: 0 / 0.7878 GB, free: 143.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/1.71, allocations: 202.1 kB / 0.788 GB, free: 143.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/1.71, allocations: 43.95 kB / 0.7881 GB, free: 143.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/1.712, allocations: 341.4 kB / 0.7884 GB, free: 143 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/1.712, allocations: 0.7085 MB / 0.7891 GB, free: 142.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/1.712, allocations: 59.39 kB / 0.7891 GB, free: 142.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.225e-06/1.712, allocations: 0 / 0.7891 GB, free: 142.2 MB / 426.7 MB Notification: Performance of Templates: time 0.02001/1.732, allocations: 6.391 MB / 0.7954 GB, free: 135.8 MB / 426.7 MB