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.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.597/1.597, allocations: 171.2 MB / 184.2 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.277e-05, allocations: 0 / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 38.77 MB / 267.6 MB, free: 9.457 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6623/0.8713, allocations: 263.1 MB / 0.5182 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.8715, allocations: 63.97 kB / 0.5183 GB, free: 124 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02906/0.9006, allocations: 9.378 MB / 0.5274 GB, free: 114.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.236e-06/0.9006, allocations: 0 / 0.5274 GB, free: 114.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.9006, allocations: 0 / 0.5274 GB, free: 114.6 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008392/0.9015, allocations: 450.8 kB / 0.5279 GB, free: 114.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.9015, allocations: 8.031 kB / 0.5279 GB, free: 114.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.9018, allocations: 27.81 kB / 0.5279 GB, free: 114.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.902, allocations: 206.8 kB / 0.5281 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.902, allocations: 12.28 kB / 0.5281 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.9021, allocations: 12 kB / 0.5281 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.9024, allocations: 208.6 kB / 0.5283 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.9025, allocations: 0 / 0.5283 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.9025, allocations: 8 kB / 0.5283 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.9025, allocations: 4 kB / 0.5283 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.9028, allocations: 127.9 kB / 0.5285 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.9041, allocations: 0.94 MB / 0.5294 GB, free: 112.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.9044, allocations: 138.8 kB / 0.5295 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.9045, allocations: 44.86 kB / 0.5296 GB, free: 112.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.9051, allocations: 0.5035 MB / 0.53 GB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.9051, allocations: 42.52 kB / 0.5301 GB, free: 111.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.521e-06/0.9051, allocations: 0 / 0.5301 GB, free: 111.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.00193/0.9071, allocations: 0.6413 MB / 0.5307 GB, free: 110.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.9071, allocations: 51.41 kB / 0.5308 GB, free: 110.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.9072, allocations: 141.4 kB / 0.5309 GB, free: 110.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.9073, allocations: 33.7 kB / 0.5309 GB, free: 110.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.9073, allocations: 206.3 kB / 0.5311 GB, free: 110.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.9074, allocations: 71 kB / 0.5312 GB, free: 110.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.9074, allocations: 4 kB / 0.5312 GB, free: 110.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.9075, allocations: 330.8 kB / 0.5315 GB, free: 110.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.9077, allocations: 63.98 kB / 0.5316 GB, free: 110 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.9079, allocations: 185.5 kB / 0.5318 GB, free: 109.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.9081, allocations: 84.91 kB / 0.5318 GB, free: 109.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.958e-06/0.9081, allocations: 4 kB / 0.5318 GB, free: 109.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005394/0.9086, allocations: 290.6 kB / 0.5321 GB, free: 109.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.9087, allocations: 5.875 kB / 0.5321 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.675e-06/0.9087, allocations: 4 kB / 0.5321 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.9087, allocations: 8 kB / 0.5321 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.9092, allocations: 79.89 kB / 0.5322 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.9092, allocations: 11.92 kB / 0.5322 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.9095, allocations: 16 kB / 0.5322 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.9096, allocations: 20.05 kB / 0.5323 GB, free: 109.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.9097, allocations: 124.9 kB / 0.5324 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.9097, allocations: 11.91 kB / 0.5324 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.9102, allocations: 210.2 kB / 0.5326 GB, free: 108.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-06/0.9103, allocations: 0 / 0.5326 GB, free: 108.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.172e-06/0.9103, allocations: 4 kB / 0.5326 GB, free: 108.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-06/0.9103, allocations: 7.875 kB / 0.5326 GB, free: 108.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.9115, allocations: 0.5562 MB / 0.5331 GB, free: 108.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.789e-06/0.9115, allocations: 4 kB / 0.5331 GB, free: 108.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.9119, allocations: 47.95 kB / 0.5332 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.276e-06/0.9119, allocations: 8.125 kB / 0.5332 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.9119, allocations: 8 kB / 0.5332 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.943e-06/0.9119, allocations: 11.89 kB / 0.5332 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.326e-06/0.912, allocations: 0 / 0.5332 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.9125, allocations: 398 kB / 0.5336 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.9126, allocations: 88.92 kB / 0.5337 GB, free: 107.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.9126, allocations: 8 kB / 0.5337 GB, free: 107.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.9129, allocations: 15.92 kB / 0.5337 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.913, allocations: 19.98 kB / 0.5337 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.913, allocations: 15.98 kB / 0.5337 GB, free: 107.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.477e-05/0.9131, allocations: 107.2 kB / 0.5338 GB, free: 107.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.9131, allocations: 4 kB / 0.5338 GB, free: 107.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000529/0.9136, allocations: 63.94 kB / 0.5339 GB, free: 107.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002209/0.9139, allocations: 147.2 kB / 0.534 GB, free: 107.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.9143, allocations: 187.7 kB / 0.5342 GB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.725e-06/0.9143, allocations: 0 / 0.5342 GB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.9145, allocations: 79.86 kB / 0.5343 GB, free: 107 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.9149, allocations: 31.97 kB / 0.5343 GB, free: 107 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.9156, allocations: 321.3 kB / 0.5346 GB, free: 106.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.9158, allocations: 0.7243 MB / 0.5353 GB, free: 105.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.916, allocations: 31.42 kB / 0.5354 GB, free: 105.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.598e-06/0.916, allocations: 0 / 0.5354 GB, free: 105.9 MB / 362.7 MB Notification: Performance of Templates: time 0.004964/0.921, allocations: 2.72 MB / 0.538 GB, free: 103.1 MB / 362.7 MB