Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.555/1.555, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8 kB / 233.3 MB, free: 0.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06655/0.06692, allocations: 38.77 MB / 272 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9765/1.043, allocations: 328.6 MB / 0.5866 GB, free: 104.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.044, allocations: 90.77 kB / 0.5867 GB, free: 104.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2388/1.283, allocations: 87.58 MB / 0.6722 GB, free: 21.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.393e-06/1.283, allocations: 3.938 kB / 0.6722 GB, free: 21.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/1.283, allocations: 4 kB / 0.6722 GB, free: 21.98 MB / 362.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.0007297/1.283, allocations: 0.5543 MB / 0.6727 GB, free: 21.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.284, allocations: 12.03 kB / 0.6728 GB, free: 21.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/1.284, allocations: 39.7 kB / 0.6728 GB, free: 21.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/1.284, allocations: 294.8 kB / 0.6731 GB, free: 21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/1.284, allocations: 16.56 kB / 0.6731 GB, free: 20.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/1.284, allocations: 24 kB / 0.6731 GB, free: 20.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/1.285, allocations: 289.4 kB / 0.6734 GB, free: 20.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.285, allocations: 0 / 0.6734 GB, free: 20.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/1.285, allocations: 19.94 kB / 0.6734 GB, free: 20.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.986e-06/1.285, allocations: 8 kB / 0.6734 GB, free: 20.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/1.285, allocations: 198.1 kB / 0.6736 GB, free: 20.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/1.287, allocations: 1.289 MB / 0.6749 GB, free: 19.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/1.288, allocations: 183.3 kB / 0.675 GB, free: 18.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/1.288, allocations: 170.3 kB / 0.6752 GB, free: 18.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/1.288, allocations: 38.75 kB / 0.6752 GB, free: 18.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.197e-06/1.288, allocations: 3.938 kB / 0.6752 GB, free: 18.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002797/1.291, allocations: 1.031 MB / 0.6762 GB, free: 17.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/1.291, allocations: 63.34 kB / 0.6763 GB, free: 17.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/1.291, allocations: 225.7 kB / 0.6765 GB, free: 17.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/1.291, allocations: 33.7 kB / 0.6766 GB, free: 17.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/1.291, allocations: 238.5 kB / 0.6768 GB, free: 16.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/1.291, allocations: 94.7 kB / 0.6769 GB, free: 16.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/1.291, allocations: 4 kB / 0.6769 GB, free: 16.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/1.291, allocations: 336.3 kB / 0.6772 GB, free: 16.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/1.291, allocations: 79.75 kB / 0.6773 GB, free: 16.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/1.292, allocations: 175.8 kB / 0.6774 GB, free: 16.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/1.292, allocations: 111.9 kB / 0.6775 GB, free: 16.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-06/1.292, allocations: 7.938 kB / 0.6776 GB, free: 16.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008016/1.293, allocations: 428.2 kB / 0.678 GB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.293, allocations: 4 kB / 0.678 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.293, allocations: 4 kB / 0.678 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/1.293, allocations: 41.7 kB / 0.678 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/1.293, allocations: 75.89 kB / 0.6781 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/1.295, allocations: 2.584 MB / 0.6806 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/1.296, allocations: 23.84 kB / 0.6806 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/1.296, allocations: 16.22 kB / 0.6806 GB, free: 12.57 MB / 362.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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002176/1.296, allocations: 157.7 kB / 0.6808 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/1.296, allocations: 23.72 kB / 0.6808 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/1.297, allocations: 358.6 kB / 0.6812 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-06/1.297, allocations: 7.953 kB / 0.6812 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.676e-06/1.297, allocations: 4 kB / 0.6812 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006213/1.297, allocations: 0.6114 MB / 0.6818 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/1.299, allocations: 0.7469 MB / 0.6825 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.299, allocations: 0 / 0.6825 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/1.299, allocations: 67.92 kB / 0.6826 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/1.299, allocations: 16.84 kB / 0.6826 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.3, allocations: 8 kB / 0.6826 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007858/1.3, allocations: 1.288 MB / 0.6838 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.512e-06/1.3, allocations: 0 / 0.6838 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/1.301, allocations: 0.5197 MB / 0.6843 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/1.301, allocations: 100.9 kB / 0.6844 GB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/1.301, allocations: 11.98 kB / 0.6845 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/1.302, allocations: 19.89 kB / 0.6845 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/1.302, allocations: 15.97 kB / 0.6845 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/1.302, allocations: 15.98 kB / 0.6845 GB, free: 8.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002065/1.302, allocations: 190 kB / 0.6847 GB, free: 7.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.37e-07/1.302, allocations: 0 / 0.6847 GB, free: 7.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006525/1.303, allocations: 112 kB / 0.6848 GB, free: 7.887 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.0003601/1.303, allocations: 263.4 kB / 0.685 GB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007157/1.304, allocations: 449.8 kB / 0.6855 GB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.914e-06/1.304, allocations: 0.8125 kB / 0.6855 GB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/1.304, allocations: 230.4 kB / 0.6857 GB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.305, allocations: 156.4 kB / 0.6858 GB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.306, allocations: 0.8204 MB / 0.6866 GB, free: 5.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/1.307, allocations: 0.7687 MB / 0.6874 GB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.307, allocations: 39.42 kB / 0.6874 GB, free: 5.078 MB / 362.7 MB Notification: Performance of SimCode: time 2.374e-06/1.307, allocations: 0 / 0.6874 GB, free: 5.078 MB / 362.7 MB Notification: Performance of Templates: time 0.1981/1.505, allocations: 7.097 MB / 0.6944 GB, free: 92.82 MB / 362.7 MB