Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.007/2.302, allocations: 0.7077 GB / 1.009 GB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004451/2.303, allocations: 93.83 kB / 1.009 GB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006/5.308, allocations: 0.5554 GB / 1.564 GB, free: 66.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/5.308, allocations: 0 / 1.564 GB, free: 66.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.103e-05/5.308, allocations: 19.09 kB / 1.565 GB, free: 66.85 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003935/5.312, allocations: 1.011 MB / 1.565 GB, free: 66.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/5.312, allocations: 11.16 kB / 1.566 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004637/5.313, allocations: 119.7 kB / 1.566 GB, free: 66.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/5.314, allocations: 152.6 kB / 1.566 GB, free: 66.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/5.316, allocations: 481.8 kB / 1.566 GB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/5.316, allocations: 54.22 kB / 1.566 GB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/5.316, allocations: 78.56 kB / 1.566 GB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003345/5.32, allocations: 0.9243 MB / 1.567 GB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/5.32, allocations: 0 / 1.567 GB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/5.32, allocations: 31.69 kB / 1.567 GB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/5.32, allocations: 15.19 kB / 1.567 GB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/5.323, allocations: 0.8501 MB / 1.568 GB, free: 65.94 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.01118/5.334, allocations: 3.428 MB / 1.571 GB, free: 64.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/5.336, allocations: 0.6314 MB / 1.572 GB, free: 64.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/5.336, allocations: 20.33 kB / 1.572 GB, free: 64.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/5.336, allocations: 44.69 kB / 1.572 GB, free: 64.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 4.94e-06/5.336, allocations: 0 / 1.572 GB, free: 64.32 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02617/5.362, allocations: 6.187 MB / 1.578 GB, free: 62.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/5.362, allocations: 58.78 kB / 1.578 GB, free: 62.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/5.363, allocations: 0.499 MB / 1.579 GB, free: 61.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002883/5.364, allocations: 40.77 kB / 1.579 GB, free: 61.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/5.364, allocations: 280 kB / 1.579 GB, free: 61.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/5.364, allocations: 258 kB / 1.579 GB, free: 61.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.685e-05/5.364, allocations: 9.5 kB / 1.579 GB, free: 61.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/5.364, allocations: 368.7 kB / 1.58 GB, free: 61.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009628/5.365, allocations: 445.9 kB / 1.58 GB, free: 61.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/5.366, allocations: 0.5048 MB / 1.581 GB, free: 61.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/5.368, allocations: 0.5076 MB / 1.581 GB, free: 60.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/5.368, allocations: 0 / 1.581 GB, free: 60.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00309/5.371, allocations: 1.329 MB / 1.582 GB, free: 60.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/5.371, allocations: 7.625 kB / 1.582 GB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/5.371, allocations: 0 / 1.582 GB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009583/5.372, allocations: 333.3 kB / 1.583 GB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/5.374, allocations: 184.5 kB / 1.583 GB, free: 60.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009245/5.383, allocations: 10.26 MB / 1.593 GB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/5.385, allocations: 79.55 kB / 1.593 GB, free: 50.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/5.385, allocations: 44.91 kB / 1.593 GB, free: 50.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008673/5.386, allocations: 274.7 kB / 1.593 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/5.386, allocations: 64.47 kB / 1.593 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/5.389, allocations: 1.276 MB / 1.595 GB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/5.389, allocations: 8 kB / 1.595 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/5.389, allocations: 4 kB / 1.595 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002488/5.392, allocations: 1.607 MB / 1.596 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/5.397, allocations: 2.262 MB / 1.598 GB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/5.397, allocations: 6.125 kB / 1.598 GB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/5.399, allocations: 224.8 kB / 1.599 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/5.4, allocations: 68.52 kB / 1.599 GB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/5.4, allocations: 46.45 kB / 1.599 GB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/5.401, allocations: 1.441 MB / 1.6 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/5.401, allocations: 0 / 1.6 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/5.405, allocations: 1.623 MB / 1.602 GB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/5.405, allocations: 143 kB / 1.602 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/5.405, allocations: 30.2 kB / 1.602 GB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/5.407, allocations: 84.45 kB / 1.602 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/5.407, allocations: 63.17 kB / 1.602 GB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/5.407, allocations: 63.19 kB / 1.602 GB, free: 41.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006697/5.408, allocations: 402.8 kB / 1.602 GB, free: 41.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/5.408, allocations: 0 / 1.602 GB, free: 41.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002075/5.41, allocations: 419.4 kB / 1.603 GB, free: 40.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * 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.007074/5.417, allocations: 3.504 MB / 1.606 GB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003649/5.421, allocations: 1.863 MB / 1.608 GB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/5.421, allocations: 0 / 1.608 GB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/5.422, allocations: 0.684 MB / 1.609 GB, free: 35.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004285/5.427, allocations: 483.6 kB / 1.609 GB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/5.441, allocations: 6.827 MB / 1.616 GB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/5.441, allocations: 0.9881 MB / 1.617 GB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001658/5.443, allocations: 277.4 kB / 1.617 GB, free: 28.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/5.444, allocations: 273.7 kB / 1.617 GB, free: 28.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/5.444, allocations: 0 / 1.617 GB, free: 28.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4617/5.905, allocations: 44.43 MB / 1.661 GB, free: 85.24 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/5.906, allocations: 235.6 kB / 1.661 GB, free: 85.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.506/10.41, allocations: 0 / 1.661 GB, free: 85.01 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat