Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.2 MB / 186.8 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 8 kB / 233.4 MB, free: 2.91 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08342, allocations: 38.77 MB / 272.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.664/1.748, allocations: 0.5804 GB / 0.8462 GB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.748, allocations: 91.5 kB / 0.8462 GB, free: 7.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7256/2.474, allocations: 153.7 MB / 0.9963 GB, free: 7.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.474, allocations: 4 kB / 0.9963 GB, free: 7.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.644e-05/2.474, allocations: 8 kB / 0.9964 GB, free: 7.684 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.001216/2.475, allocations: 0.6129 MB / 0.997 GB, free: 7.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/2.475, allocations: 8.031 kB / 0.997 GB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.425e-05/2.475, allocations: 62.53 kB / 0.997 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/2.476, allocations: 47.61 kB / 0.9971 GB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/2.476, allocations: 282.9 kB / 0.9973 GB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/2.476, allocations: 20.56 kB / 0.9974 GB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/2.476, allocations: 27.94 kB / 0.9974 GB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/2.477, allocations: 307.7 kB / 0.9977 GB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/2.477, allocations: 7.844 kB / 0.9977 GB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/2.477, allocations: 12 kB / 0.9977 GB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/2.477, allocations: 12 kB / 0.9977 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/2.477, allocations: 201.6 kB / 0.9979 GB, free: 5.977 MB / 362.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.00209/2.479, allocations: 1.574 MB / 0.9994 GB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/2.48, allocations: 172.1 kB / 0.9996 GB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/2.48, allocations: 8.172 kB / 0.9996 GB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/2.48, allocations: 38.7 kB / 0.9996 GB, free: 4.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.116e-06/2.48, allocations: 0 / 0.9996 GB, free: 4.016 MB / 362.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.00883/2.489, allocations: 1.626 MB / 1.001 GB, free: 2.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/2.489, allocations: 55.39 kB / 1.001 GB, free: 2.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/2.489, allocations: 228.1 kB / 1.001 GB, free: 1.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/2.489, allocations: 33.7 kB / 1.002 GB, free: 1.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/2.489, allocations: 234.6 kB / 1.002 GB, free: 1.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/2.489, allocations: 94.64 kB / 1.002 GB, free: 1.602 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/2.49, allocations: 8 kB / 1.002 GB, free: 1.594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/2.49, allocations: 326.8 kB / 1.002 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/2.49, allocations: 87.75 kB / 1.002 GB, free: 1.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/2.49, allocations: 183.8 kB / 1.002 GB, free: 0.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/2.49, allocations: 127.9 kB / 1.003 GB, free: 0.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/2.49, allocations: 7.953 kB / 1.003 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008767/2.491, allocations: 370.8 kB / 1.003 GB, free: 460 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/2.491, allocations: 4.406 kB / 1.003 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/2.491, allocations: 8 kB / 1.003 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/2.492, allocations: 77.67 kB / 1.003 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/2.492, allocations: 83.89 kB / 1.003 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2458/2.738, allocations: 1.846 MB / 1.005 GB, free: 71.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/2.739, allocations: 30.38 kB / 1.005 GB, free: 71.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.571e-05/2.739, allocations: 40.58 kB / 1.005 GB, free: 71.7 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002667/2.739, allocations: 150.7 kB / 1.005 GB, free: 71.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/2.739, allocations: 25.94 kB / 1.005 GB, free: 71.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/2.741, allocations: 440 kB / 1.006 GB, free: 71.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/2.741, allocations: 7.078 kB / 1.006 GB, free: 71.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/2.741, allocations: 1.453 kB / 1.006 GB, free: 71.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007291/2.742, allocations: 0.564 MB / 1.006 GB, free: 71.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/2.743, allocations: 0.7153 MB / 1.007 GB, free: 70.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/2.743, allocations: 3.891 kB / 1.007 GB, free: 70.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/2.744, allocations: 73.23 kB / 1.007 GB, free: 70.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/2.744, allocations: 24.12 kB / 1.007 GB, free: 70.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/2.744, allocations: 14.11 kB / 1.007 GB, free: 70.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000952/2.745, allocations: 1.288 MB / 1.008 GB, free: 69.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/2.745, allocations: 1.469 kB / 1.008 GB, free: 69.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/2.746, allocations: 0.4916 MB / 1.009 GB, free: 69.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/2.746, allocations: 109 kB / 1.009 GB, free: 69.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/2.746, allocations: 6.125 kB / 1.009 GB, free: 69.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/2.747, allocations: 22.69 kB / 1.009 GB, free: 69.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/2.747, allocations: 27.52 kB / 1.009 GB, free: 69.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/2.747, allocations: 32.48 kB / 1.009 GB, free: 69.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003042/2.747, allocations: 186.5 kB / 1.009 GB, free: 69.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.747, allocations: 0 / 1.009 GB, free: 69.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00115/2.749, allocations: 187.6 kB / 1.009 GB, free: 69.11 MB / 362.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.00288/2.751, allocations: 1.842 MB / 1.011 GB, free: 68.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/2.753, allocations: 380.3 kB / 1.011 GB, free: 68.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.753, allocations: 0 / 1.011 GB, free: 68.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/2.753, allocations: 232 kB / 1.012 GB, free: 67.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/2.755, allocations: 160.9 kB / 1.012 GB, free: 67.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/2.759, allocations: 3.87 MB / 1.015 GB, free: 65.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/2.759, allocations: 0.7681 MB / 1.016 GB, free: 64.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/2.76, allocations: 139.6 kB / 1.016 GB, free: 64.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/2.76, allocations: 0.7656 kB / 1.016 GB, free: 64.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.056/5.816, allocations: 12.99 MB / 1.029 GB, free: 64.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat