Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004594, allocations: 8 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3573, allocations: 48.7 MB / 331.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.459, allocations: 366.3 MB / 0.6813 GB, free: 120.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.459, allocations: 72.2 kB / 0.6814 GB, free: 120.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07547/1.534, allocations: 21.23 MB / 0.7021 GB, free: 102.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.664e-06/1.534, allocations: 0 / 0.7021 GB, free: 102.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/1.535, allocations: 4 kB / 0.7021 GB, free: 102.7 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001268/1.536, allocations: 0.5765 MB / 0.7027 GB, free: 102.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.536, allocations: 8.031 kB / 0.7027 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.168e-05/1.536, allocations: 61.84 kB / 0.7028 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/1.536, allocations: 27.72 kB / 0.7028 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/1.536, allocations: 234.2 kB / 0.703 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/1.537, allocations: 127.2 kB / 0.7031 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/1.537, allocations: 19.88 kB / 0.7031 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/1.537, allocations: 331 kB / 0.7035 GB, free: 101.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.537, allocations: 3.984 kB / 0.7035 GB, free: 101.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/1.537, allocations: 11.75 kB / 0.7035 GB, free: 101.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/1.537, allocations: 8 kB / 0.7035 GB, free: 101.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009596/1.538, allocations: 0.7337 MB / 0.7042 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/1.54, allocations: 1.148 MB / 0.7053 GB, free: 99.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/1.54, allocations: 170.2 kB / 0.7055 GB, free: 99.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/1.543, allocations: 2.64 MB / 0.7081 GB, free: 96.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/1.543, allocations: 38.38 kB / 0.7081 GB, free: 96.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/1.543, allocations: 0 / 0.7081 GB, free: 96.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008568/1.544, allocations: 231.5 kB / 0.7083 GB, free: 96.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.544, allocations: 55.36 kB / 0.7084 GB, free: 96.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.544, allocations: 186.3 kB / 0.7086 GB, free: 95.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.544, allocations: 33.27 kB / 0.7086 GB, free: 95.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.544, allocations: 275.9 kB / 0.7088 GB, free: 95.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/1.545, allocations: 65.56 kB / 0.7089 GB, free: 95.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.851e-05/1.545, allocations: 11.12 kB / 0.7089 GB, free: 95.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/1.545, allocations: 333.5 kB / 0.7092 GB, free: 95.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.545, allocations: 47.53 kB / 0.7093 GB, free: 95.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/1.545, allocations: 313.6 kB / 0.7096 GB, free: 94.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/1.545, allocations: 109.3 kB / 0.7097 GB, free: 94.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.545, allocations: 0 / 0.7097 GB, free: 94.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007053/1.546, allocations: 369.3 kB / 0.71 GB, free: 94.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.546, allocations: 8 kB / 0.71 GB, free: 94.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.546, allocations: 11.94 kB / 0.7101 GB, free: 94.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.546, allocations: 16 kB / 0.7101 GB, free: 94.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/1.547, allocations: 107.3 kB / 0.7102 GB, free: 94.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/1.547, allocations: 23.88 kB / 0.7102 GB, free: 94.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/1.547, allocations: 23.58 kB / 0.7102 GB, free: 94.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/1.547, allocations: 31.3 kB / 0.7103 GB, free: 94.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001577/1.547, allocations: 147.8 kB / 0.7104 GB, free: 94.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/1.547, allocations: 23.75 kB / 0.7104 GB, free: 94.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/1.548, allocations: 185.3 kB / 0.7106 GB, free: 93.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.548, allocations: 0 / 0.7106 GB, free: 93.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.548, allocations: 0 / 0.7106 GB, free: 93.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.548, allocations: 0 / 0.7106 GB, free: 93.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/1.549, allocations: 457.7 kB / 0.711 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/1.549, allocations: 4 kB / 0.711 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/1.549, allocations: 35.91 kB / 0.7111 GB, free: 93.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.549, allocations: 4 kB / 0.7111 GB, free: 93.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/1.549, allocations: 3.375 kB / 0.7111 GB, free: 93.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.549, allocations: 7.953 kB / 0.7111 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.549, allocations: 0 / 0.7111 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/1.549, allocations: 264.3 kB / 0.7113 GB, free: 93.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.549, allocations: 108.4 kB / 0.7114 GB, free: 92.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/1.549, allocations: 7.875 kB / 0.7114 GB, free: 92.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/1.55, allocations: 11.98 kB / 0.7115 GB, free: 92.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/1.55, allocations: 7.25 kB / 0.7115 GB, free: 92.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/1.55, allocations: 15.97 kB / 0.7115 GB, free: 92.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001356/1.55, allocations: 150.4 kB / 0.7116 GB, free: 92.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.55, allocations: 0 / 0.7116 GB, free: 92.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007211/1.551, allocations: 95 kB / 0.7117 GB, free: 92.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0007188/1.552, allocations: 1.083 MB / 0.7128 GB, free: 91.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004181/1.552, allocations: 176.3 kB / 0.7129 GB, free: 91.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.552, allocations: 0 / 0.7129 GB, free: 91.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/1.552, allocations: 40.61 kB / 0.713 GB, free: 91.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/1.553, allocations: 51.16 kB / 0.713 GB, free: 91.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.574, allocations: 13.18 MB / 0.7259 GB, free: 79.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/1.574, allocations: 0.7287 MB / 0.7266 GB, free: 78.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/1.574, allocations: 71.28 kB / 0.7267 GB, free: 78.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/1.574, allocations: 3.938 kB / 0.7267 GB, free: 78.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.6/4.174, allocations: 4.196 MB / 0.7308 GB, free: 74.26 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat