Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 8 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0842/0.08462, allocations: 44.51 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.211, allocations: 438.1 MB / 0.729 GB, free: 122.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/1.211, allocations: 67.97 kB / 0.7291 GB, free: 122.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07398/1.285, allocations: 24.92 MB / 0.7534 GB, free: 97.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.639e-06/1.285, allocations: 7.938 kB / 0.7534 GB, free: 97.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.244e-06/1.285, allocations: 4 kB / 0.7534 GB, free: 97.88 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007724/1.286, allocations: 431 kB / 0.7539 GB, free: 97.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.286, allocations: 8.031 kB / 0.7539 GB, free: 97.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006227/1.292, allocations: 459.8 kB / 0.7543 GB, free: 96.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/1.293, allocations: 163 kB / 0.7545 GB, free: 96.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.293, allocations: 8 kB / 0.7545 GB, free: 96.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/1.293, allocations: 11.94 kB / 0.7545 GB, free: 96.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/1.294, allocations: 297.1 kB / 0.7548 GB, free: 96.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.294, allocations: 0 / 0.7548 GB, free: 96.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/1.294, allocations: 11.94 kB / 0.7548 GB, free: 96.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.421e-06/1.294, allocations: 4 kB / 0.7548 GB, free: 96.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/1.295, allocations: 271.8 kB / 0.755 GB, free: 96.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/1.296, allocations: 413.2 kB / 0.7554 GB, free: 95.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.297, allocations: 222.4 kB / 0.7556 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/1.297, allocations: 0 / 0.7556 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.297, allocations: 42.81 kB / 0.7557 GB, free: 95.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.177e-06/1.297, allocations: 0 / 0.7557 GB, free: 95.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002015/1.299, allocations: 421.8 kB / 0.7561 GB, free: 95.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/1.299, allocations: 51.41 kB / 0.7561 GB, free: 94.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/1.299, allocations: 100.9 kB / 0.7562 GB, free: 94.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.299, allocations: 29.7 kB / 0.7563 GB, free: 94.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/1.299, allocations: 166.3 kB / 0.7564 GB, free: 94.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/1.299, allocations: 59.09 kB / 0.7565 GB, free: 94.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/1.299, allocations: 4 kB / 0.7565 GB, free: 94.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/1.299, allocations: 326.8 kB / 0.7568 GB, free: 94.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/1.3, allocations: 72.31 kB / 0.7569 GB, free: 94.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/1.3, allocations: 120.7 kB / 0.757 GB, free: 94.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/1.3, allocations: 89 kB / 0.7571 GB, free: 93.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-06/1.3, allocations: 0 / 0.7571 GB, free: 93.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007761/1.301, allocations: 238.7 kB / 0.7573 GB, free: 93.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.301, allocations: 7.938 kB / 0.7573 GB, free: 93.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.583e-06/1.301, allocations: 11.92 kB / 0.7573 GB, free: 93.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.301, allocations: 0 / 0.7573 GB, free: 93.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/1.302, allocations: 55.89 kB / 0.7574 GB, free: 93.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.802e-06/1.302, allocations: 4 kB / 0.7574 GB, free: 93.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/1.302, allocations: 15.97 kB / 0.7574 GB, free: 93.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/1.302, allocations: 20.08 kB / 0.7574 GB, free: 93.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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 0.0001024/1.302, allocations: 117.8 kB / 0.7575 GB, free: 93.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/1.302, allocations: 11.91 kB / 0.7575 GB, free: 93.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/1.303, allocations: 277.6 kB / 0.7578 GB, free: 93.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-06/1.303, allocations: 4 kB / 0.7578 GB, free: 93.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.942e-06/1.303, allocations: 0 / 0.7578 GB, free: 93.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/1.303, allocations: 0 / 0.7578 GB, free: 93.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.305, allocations: 0.5701 MB / 0.7583 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-06/1.305, allocations: 4 kB / 0.7583 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/1.305, allocations: 44.03 kB / 0.7584 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/1.305, allocations: 7.953 kB / 0.7584 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/1.305, allocations: 11.98 kB / 0.7584 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.495e-06/1.305, allocations: 3.938 kB / 0.7584 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.305, allocations: 0 / 0.7584 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/1.306, allocations: 352.5 kB / 0.7587 GB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/1.306, allocations: 81.09 kB / 0.7588 GB, free: 92.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/1.306, allocations: 8 kB / 0.7588 GB, free: 92.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/1.306, allocations: 15.98 kB / 0.7588 GB, free: 92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/1.306, allocations: 11.98 kB / 0.7589 GB, free: 91.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/1.306, allocations: 15.98 kB / 0.7589 GB, free: 91.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.265e-05/1.306, allocations: 79.28 kB / 0.7589 GB, free: 91.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.09e-07/1.306, allocations: 0 / 0.7589 GB, free: 91.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000578/1.307, allocations: 83.92 kB / 0.759 GB, free: 91.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * 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.0006565/1.308, allocations: 0.518 MB / 0.7595 GB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007171/1.308, allocations: 199.9 kB / 0.7597 GB, free: 91.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.381e-06/1.308, allocations: 4 kB / 0.7597 GB, free: 91.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/1.309, allocations: 103.8 kB / 0.7598 GB, free: 90.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/1.309, allocations: 31.92 kB / 0.7599 GB, free: 90.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/1.31, allocations: 347.5 kB / 0.7602 GB, free: 90.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/1.31, allocations: 0.6974 MB / 0.7609 GB, free: 89.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.31, allocations: 35.41 kB / 0.7609 GB, free: 89.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.534e-06/1.31, allocations: 0 / 0.7609 GB, free: 89.82 MB / 410.7 MB Notification: Performance of Templates: time 0.007425/1.318, allocations: 4.827 MB / 0.7656 GB, free: 84.98 MB / 410.7 MB