Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.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.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 234.9 MB / 251.1 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 15.94 kB / 314.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3649, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.641, allocations: 456.5 MB / 0.8069 GB, free: 26.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.641, allocations: 84.08 kB / 0.807 GB, free: 26.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1204/1.761, allocations: 29.89 MB / 0.8362 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.761, allocations: 0 / 0.8362 GB, free: 1.871 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/1.761, allocations: 0 / 0.8362 GB, free: 1.871 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005137/1.762, allocations: 403.3 kB / 0.8366 GB, free: 1.441 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/1.762, allocations: 8.031 kB / 0.8366 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/1.765, allocations: 181.7 kB / 0.8367 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/1.765, allocations: 203.9 kB / 0.8369 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.765, allocations: 7.75 kB / 0.8369 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/1.765, allocations: 7.125 kB / 0.8369 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/1.766, allocations: 229.6 kB / 0.8372 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.766, allocations: 0 / 0.8372 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/1.766, allocations: 11.86 kB / 0.8372 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.766, allocations: 0 / 0.8372 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/1.767, allocations: 170.8 kB / 0.8373 GB, free: 0.7305 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.001248/1.768, allocations: 0.5753 MB / 0.8379 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/1.768, allocations: 136 kB / 0.838 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/1.768, allocations: 4 kB / 0.838 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.31/2.078, allocations: 40.53 kB / 0.8381 GB, free: 174.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 5.34e-06/2.078, allocations: 0 / 0.8381 GB, free: 174.1 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009384/2.088, allocations: 1.301 MB / 0.8393 GB, free: 173.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/2.088, allocations: 57.34 kB / 0.8394 GB, free: 173.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/2.088, allocations: 111.6 kB / 0.8395 GB, free: 173.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/2.088, allocations: 29.58 kB / 0.8395 GB, free: 173.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/2.088, allocations: 169.6 kB / 0.8397 GB, free: 173.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/2.088, allocations: 63.19 kB / 0.8398 GB, free: 173.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/2.088, allocations: 4.969 kB / 0.8398 GB, free: 173.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/2.088, allocations: 319.4 kB / 0.8401 GB, free: 172.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/2.089, allocations: 68.08 kB / 0.8401 GB, free: 172.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/2.089, allocations: 107.4 kB / 0.8402 GB, free: 172.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/2.089, allocations: 80.16 kB / 0.8403 GB, free: 172.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/2.089, allocations: 0.6562 kB / 0.8403 GB, free: 172.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000833/2.09, allocations: 266.1 kB / 0.8406 GB, free: 172.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/2.09, allocations: 5.75 kB / 0.8406 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.09, allocations: 2.234 kB / 0.8406 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/2.091, allocations: 47.7 kB / 0.8406 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/2.091, allocations: 62.86 kB / 0.8407 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004523/2.092, allocations: 0.5619 MB / 0.8412 GB, free: 172.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/2.092, allocations: 12.39 kB / 0.8412 GB, free: 172.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/2.092, allocations: 24.66 kB / 0.8413 GB, free: 172.3 MB / 490.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.0001632/2.092, allocations: 131.9 kB / 0.8414 GB, free: 172.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/2.092, allocations: 10.3 kB / 0.8414 GB, free: 172.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/2.094, allocations: 342.7 kB / 0.8417 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/2.094, allocations: 5.219 kB / 0.8417 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/2.094, allocations: 4.203 kB / 0.8417 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/2.094, allocations: 1.078 kB / 0.8417 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/2.095, allocations: 0.61 MB / 0.8423 GB, free: 171.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/2.095, allocations: 0 / 0.8423 GB, free: 171.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/2.096, allocations: 61.88 kB / 0.8424 GB, free: 171.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/2.096, allocations: 23.77 kB / 0.8424 GB, free: 171.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/2.096, allocations: 21.19 kB / 0.8424 GB, free: 171.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009657/2.097, allocations: 1.268 MB / 0.8437 GB, free: 170.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.097, allocations: 1.312 kB / 0.8437 GB, free: 170.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/2.098, allocations: 433.6 kB / 0.8441 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/2.098, allocations: 92.17 kB / 0.8442 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/2.098, allocations: 4.234 kB / 0.8442 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/2.098, allocations: 10.97 kB / 0.8442 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/2.099, allocations: 23.56 kB / 0.8442 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/2.099, allocations: 28.16 kB / 0.8442 GB, free: 170.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.603e-05/2.099, allocations: 89.42 kB / 0.8443 GB, free: 170.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.099, allocations: 0 / 0.8443 GB, free: 170.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007813/2.1, allocations: 118.5 kB / 0.8444 GB, free: 170.2 MB / 490.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.001202/2.101, allocations: 0.5355 MB / 0.845 GB, free: 170.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008517/2.102, allocations: 204.5 kB / 0.8452 GB, free: 170.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/2.102, allocations: 1.344 kB / 0.8452 GB, free: 170.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/2.102, allocations: 222.4 kB / 0.8454 GB, free: 170 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/2.103, allocations: 49.91 kB / 0.8454 GB, free: 170 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/2.104, allocations: 0.6028 MB / 0.846 GB, free: 169.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/2.104, allocations: 0.7125 MB / 0.8467 GB, free: 169 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/2.105, allocations: 55.02 kB / 0.8468 GB, free: 169 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/2.105, allocations: 0 / 0.8468 GB, free: 169 MB / 490.7 MB Notification: Performance of Templates: time 0.01454/2.119, allocations: 6.449 MB / 0.853 GB, free: 168.5 MB / 490.7 MB