Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 194.9 MB / 211.1 MB, free: 7.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005412, allocations: 8 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3719, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.022/2.394, allocations: 0.6361 GB / 0.9374 GB, free: 87.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/2.395, allocations: 80.16 kB / 0.9375 GB, free: 87.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7391/3.134, allocations: 150.4 MB / 1.084 GB, free: 102.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/3.134, allocations: 0 / 1.084 GB, free: 102.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.072e-05/3.134, allocations: 11.59 kB / 1.084 GB, free: 102.5 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001617/3.136, allocations: 0.7039 MB / 1.085 GB, free: 102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/3.136, allocations: 8.828 kB / 1.085 GB, free: 102 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/3.136, allocations: 79.78 kB / 1.085 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/3.137, allocations: 78.12 kB / 1.085 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/3.137, allocations: 342.7 kB / 1.086 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/3.137, allocations: 32.56 kB / 1.086 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/3.137, allocations: 38.78 kB / 1.086 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/3.138, allocations: 454.9 kB / 1.086 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/3.138, allocations: 11.77 kB / 1.086 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/3.138, allocations: 23.28 kB / 1.086 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/3.138, allocations: 9.469 kB / 1.086 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/3.139, allocations: 303.5 kB / 1.086 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/3.156, allocations: 6.292 MB / 1.093 GB, free: 96.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/3.157, allocations: 277.8 kB / 1.093 GB, free: 96.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/3.171, allocations: 3.442 MB / 1.096 GB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/3.171, allocations: 46.09 kB / 1.096 GB, free: 94.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.847e-06/3.171, allocations: 0 / 1.096 GB, free: 94.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01615/3.187, allocations: 2.393 MB / 1.099 GB, free: 93.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/3.187, allocations: 63.36 kB / 1.099 GB, free: 93.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/3.187, allocations: 266.5 kB / 1.099 GB, free: 92.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/3.188, allocations: 29.7 kB / 1.099 GB, free: 92.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/3.188, allocations: 227.9 kB / 1.099 GB, free: 92.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/3.188, allocations: 161.7 kB / 1.099 GB, free: 92.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/3.188, allocations: 12 kB / 1.099 GB, free: 92.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/3.188, allocations: 350.8 kB / 1.1 GB, free: 92.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/3.188, allocations: 149.1 kB / 1.1 GB, free: 91.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/3.189, allocations: 264.4 kB / 1.1 GB, free: 91.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/3.189, allocations: 200.7 kB / 1.1 GB, free: 91.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/3.189, allocations: 0 / 1.1 GB, free: 91.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001621/3.191, allocations: 0.5839 MB / 1.101 GB, free: 90.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/3.191, allocations: 8.938 kB / 1.101 GB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/3.191, allocations: 4 kB / 1.101 GB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01498/3.206, allocations: 0.8651 MB / 1.102 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008027/3.207, allocations: 115.8 kB / 1.102 GB, free: 89.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/3.209, allocations: 2.455 MB / 1.104 GB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/3.21, allocations: 43.91 kB / 1.104 GB, free: 87.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/3.21, allocations: 27.98 kB / 1.104 GB, free: 87.15 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/3.21, allocations: 173.7 kB / 1.104 GB, free: 86.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/3.21, allocations: 43.53 kB / 1.104 GB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/3.212, allocations: 0.8551 MB / 1.105 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/3.212, allocations: 11.36 kB / 1.105 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/3.212, allocations: 4 kB / 1.105 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001293/3.213, allocations: 0.968 MB / 1.106 GB, free: 85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/3.216, allocations: 1.484 MB / 1.108 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/3.216, allocations: 3.984 kB / 1.108 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/3.217, allocations: 81.27 kB / 1.108 GB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005199/3.222, allocations: 0.5944 MB / 1.108 GB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/3.222, allocations: 12 kB / 1.108 GB, free: 82.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/3.223, allocations: 1.284 MB / 1.11 GB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/3.223, allocations: 0 / 1.11 GB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/3.226, allocations: 1.225 MB / 1.111 GB, free: 80.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/3.226, allocations: 128.6 kB / 1.111 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/3.226, allocations: 12 kB / 1.111 GB, free: 80.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/3.226, allocations: 23.83 kB / 1.111 GB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/3.226, allocations: 31.95 kB / 1.111 GB, free: 79.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/3.227, allocations: 27.64 kB / 1.111 GB, free: 79.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000321/3.227, allocations: 206 kB / 1.111 GB, free: 79.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.685e-06/3.227, allocations: 0 / 1.111 GB, free: 79.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001297/3.228, allocations: 251.8 kB / 1.111 GB, free: 79.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004127/3.232, allocations: 2.178 MB / 1.114 GB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/3.234, allocations: 0.6868 MB / 1.114 GB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/3.234, allocations: 0 / 1.114 GB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/3.236, allocations: 440.5 kB / 1.115 GB, free: 76.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/3.238, allocations: 222.3 kB / 1.115 GB, free: 75.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/3.245, allocations: 5.274 MB / 1.12 GB, free: 70.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/3.245, allocations: 0.8404 MB / 1.121 GB, free: 69.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006174/3.246, allocations: 72.33 kB / 1.121 GB, free: 69.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/3.246, allocations: 163.4 kB / 1.121 GB, free: 69.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/3.246, allocations: 7.938 kB / 1.121 GB, free: 69.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05299/3.299, allocations: 17.38 MB / 1.138 GB, free: 52.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/3.3, allocations: 202.3 kB / 1.138 GB, free: 51.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/6.846, allocations: 4 kB / 1.138 GB, free: 51.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat