Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005356/0.0005358, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.461, allocations: 433.9 MB / 0.7255 GB, free: 104.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/1.461, allocations: 88.97 kB / 0.7256 GB, free: 104.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8266/2.288, allocations: 143.5 MB / 0.8657 GB, free: 102.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.288, allocations: 0 / 0.8657 GB, free: 102.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/2.288, allocations: 12.06 kB / 0.8657 GB, free: 102.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001331/2.289, allocations: 0.6279 MB / 0.8663 GB, free: 101.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/2.289, allocations: 11.69 kB / 0.8664 GB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/2.29, allocations: 42.62 kB / 0.8664 GB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/2.29, allocations: 274.3 kB / 0.8667 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/2.29, allocations: 18.95 kB / 0.8667 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/2.29, allocations: 32.98 kB / 0.8667 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/2.291, allocations: 311.8 kB / 0.867 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/2.291, allocations: 0 / 0.867 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/2.291, allocations: 10.34 kB / 0.867 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/2.291, allocations: 12.25 kB / 0.867 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/2.292, allocations: 203.5 kB / 0.8672 GB, free: 101.4 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.002338/2.294, allocations: 1.575 MB / 0.8688 GB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/2.294, allocations: 167.9 kB / 0.8689 GB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/2.294, allocations: 10.28 kB / 0.8689 GB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/2.294, allocations: 37.41 kB / 0.869 GB, free: 100.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/2.294, allocations: 0 / 0.869 GB, free: 100.2 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009011/2.303, allocations: 1.623 MB / 0.8705 GB, free: 99.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/2.304, allocations: 62.55 kB / 0.8706 GB, free: 99.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/2.304, allocations: 249.8 kB / 0.8708 GB, free: 99.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/2.304, allocations: 28.45 kB / 0.8709 GB, free: 99.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/2.304, allocations: 235.4 kB / 0.8711 GB, free: 99.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.526e-05/2.304, allocations: 103.8 kB / 0.8712 GB, free: 99.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/2.304, allocations: 5.812 kB / 0.8712 GB, free: 99.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/2.304, allocations: 322.8 kB / 0.8715 GB, free: 98.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/2.305, allocations: 90 kB / 0.8716 GB, free: 98.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/2.305, allocations: 183 kB / 0.8718 GB, free: 98.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/2.305, allocations: 121.9 kB / 0.8719 GB, free: 98.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/2.305, allocations: 0 / 0.8719 GB, free: 98.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000908/2.306, allocations: 386.1 kB / 0.8723 GB, free: 98.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/2.306, allocations: 12.38 kB / 0.8723 GB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/2.306, allocations: 3.938 kB / 0.8723 GB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/2.306, allocations: 72.48 kB / 0.8723 GB, free: 98.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/2.307, allocations: 80.91 kB / 0.8724 GB, free: 98.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/2.309, allocations: 1.865 MB / 0.8742 GB, free: 96.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/2.309, allocations: 17.5 kB / 0.8743 GB, free: 96.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/2.309, allocations: 40.75 kB / 0.8743 GB, free: 96.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002543/2.309, allocations: 155.7 kB / 0.8744 GB, free: 96.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/2.309, allocations: 31.12 kB / 0.8745 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/2.311, allocations: 435.9 kB / 0.8749 GB, free: 96.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/2.311, allocations: 9.453 kB / 0.8749 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/2.311, allocations: 0 / 0.8749 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006399/2.312, allocations: 0.5561 MB / 0.8754 GB, free: 96.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/2.313, allocations: 0.7312 MB / 0.8762 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/2.313, allocations: 0 / 0.8762 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/2.314, allocations: 72.78 kB / 0.8762 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/2.314, allocations: 28.25 kB / 0.8762 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/2.314, allocations: 13.98 kB / 0.8763 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008919/2.315, allocations: 1.285 MB / 0.8775 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.315, allocations: 0 / 0.8775 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/2.316, allocations: 483.5 kB / 0.878 GB, free: 94.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/2.316, allocations: 106.3 kB / 0.8781 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/2.316, allocations: 7.453 kB / 0.8781 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/2.316, allocations: 17.48 kB / 0.8781 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/2.317, allocations: 33.33 kB / 0.8781 GB, free: 94.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/2.317, allocations: 26.91 kB / 0.8782 GB, free: 94.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002678/2.317, allocations: 186.9 kB / 0.8783 GB, free: 94.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.317, allocations: 0 / 0.8783 GB, free: 94.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001102/2.318, allocations: 189.5 kB / 0.8785 GB, free: 94.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.001516/2.32, allocations: 0.7733 MB / 0.8793 GB, free: 94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009988/2.321, allocations: 364.6 kB / 0.8796 GB, free: 93.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.321, allocations: 0 / 0.8796 GB, free: 93.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/2.321, allocations: 241.8 kB / 0.8799 GB, free: 93.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/2.323, allocations: 156.3 kB / 0.88 GB, free: 93.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/2.324, allocations: 0.858 MB / 0.8808 GB, free: 93.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/2.324, allocations: 0.7682 MB / 0.8816 GB, free: 92.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/2.325, allocations: 81 kB / 0.8817 GB, free: 92.67 MB / 410.7 MB Notification: Performance of SimCode: time 2.154e-06/2.325, allocations: 0 / 0.8817 GB, free: 92.67 MB / 410.7 MB Notification: Performance of Templates: time 0.02204/2.347, allocations: 11.59 MB / 0.893 GB, free: 91.99 MB / 410.7 MB