Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 8 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09236, allocations: 38.77 MB / 272.1 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.74/10.84, allocations: 3.611 GB / 3.877 GB, free: 54.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/10.84, allocations: 92.69 kB / 3.877 GB, free: 54.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.652/12.49, allocations: 319.7 MB / 4.189 GB, free: 23.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.805e-06/12.49, allocations: 3.984 kB / 4.189 GB, free: 23.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/12.49, allocations: 8 kB / 4.189 GB, free: 23.39 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005892/12.49, allocations: 1.591 MB / 4.191 GB, free: 21.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/12.49, allocations: 15.97 kB / 4.191 GB, free: 21.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/12.49, allocations: 86.47 kB / 4.191 GB, free: 21.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/12.5, allocations: 59.42 kB / 4.191 GB, free: 21.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/12.5, allocations: 352.3 kB / 4.191 GB, free: 21.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/12.5, allocations: 33 kB / 4.191 GB, free: 21.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/12.5, allocations: 44 kB / 4.191 GB, free: 21.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/12.5, allocations: 0.4983 MB / 4.192 GB, free: 20.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/12.5, allocations: 0 / 4.192 GB, free: 20.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.462e-05/12.5, allocations: 16 kB / 4.192 GB, free: 20.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/12.5, allocations: 12 kB / 4.192 GB, free: 20.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/12.5, allocations: 0.6012 MB / 4.192 GB, free: 19.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/12.5, allocations: 1.996 MB / 4.194 GB, free: 17.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/12.51, allocations: 0.5569 MB / 4.195 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006665/12.51, allocations: 0.6965 MB / 4.196 GB, free: 16.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/12.51, allocations: 42.95 kB / 4.196 GB, free: 16.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 6.111e-06/12.51, allocations: 8 kB / 4.196 GB, free: 16.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02783/12.53, allocations: 4.122 MB / 4.2 GB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/12.53, allocations: 59.92 kB / 4.2 GB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/12.53, allocations: 265.8 kB / 4.2 GB, free: 11.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/12.53, allocations: 41.7 kB / 4.2 GB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/12.54, allocations: 197.1 kB / 4.2 GB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/12.54, allocations: 220.8 kB / 4.2 GB, free: 11.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/12.54, allocations: 16 kB / 4.2 GB, free: 11.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/12.54, allocations: 350.8 kB / 4.201 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/12.54, allocations: 313.1 kB / 4.201 GB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/12.54, allocations: 388.1 kB / 4.202 GB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/12.54, allocations: 355.1 kB / 4.202 GB, free: 9.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/12.54, allocations: 0 / 4.202 GB, free: 9.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003803/12.54, allocations: 0.9991 MB / 4.203 GB, free: 8.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/12.54, allocations: 4 kB / 4.203 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/12.54, allocations: 15.89 kB / 4.203 GB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/12.55, allocations: 354.2 kB / 4.203 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/12.55, allocations: 122.6 kB / 4.203 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/12.55, allocations: 3.54 MB / 4.207 GB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/12.55, allocations: 67.89 kB / 4.207 GB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/12.55, allocations: 27.98 kB / 4.207 GB, free: 4.469 MB / 362.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 (68): * Single equations (assignments): 65 * 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 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004269/12.55, allocations: 204.4 kB / 4.207 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/12.55, allocations: 43.53 kB / 4.207 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007624/12.56, allocations: 1.38 MB / 4.208 GB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/12.56, allocations: 4 kB / 4.208 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/12.56, allocations: 4 kB / 4.208 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007062/12.57, allocations: 1.426 MB / 4.21 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3092/12.88, allocations: 1.727 MB / 4.212 GB, free: 43.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/12.88, allocations: 1.344 kB / 4.212 GB, free: 43.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/12.88, allocations: 118 kB / 4.212 GB, free: 43.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004691/12.88, allocations: 393.5 kB / 4.212 GB, free: 43.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/12.88, allocations: 22.08 kB / 4.212 GB, free: 43.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/12.89, allocations: 0.8824 MB / 4.213 GB, free: 43.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/12.89, allocations: 0.8438 kB / 4.213 GB, free: 43.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/12.9, allocations: 1.697 MB / 4.215 GB, free: 43.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/12.9, allocations: 118.1 kB / 4.215 GB, free: 43.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/12.9, allocations: 19.81 kB / 4.215 GB, free: 43.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/12.9, allocations: 60.27 kB / 4.215 GB, free: 43.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/12.9, allocations: 49.41 kB / 4.215 GB, free: 43.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/12.9, allocations: 31.59 kB / 4.215 GB, free: 43.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003436/12.9, allocations: 221.8 kB / 4.215 GB, free: 42.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.223e-06/12.9, allocations: 2.812 kB / 4.215 GB, free: 42.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002507/12.9, allocations: 0.5423 MB / 4.216 GB, free: 42.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0118/12.92, allocations: 3.385 MB / 4.219 GB, free: 42.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003339/12.92, allocations: 1 MB / 4.22 GB, free: 41.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/12.92, allocations: 0.875 kB / 4.22 GB, free: 41.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/12.92, allocations: 425.6 kB / 4.22 GB, free: 41.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/12.92, allocations: 296 kB / 4.221 GB, free: 41.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/12.94, allocations: 4.635 MB / 4.225 GB, free: 40.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/12.94, allocations: 0.8622 MB / 4.226 GB, free: 39.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001123/12.94, allocations: 129.8 kB / 4.226 GB, free: 39.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/12.94, allocations: 168.3 kB / 4.226 GB, free: 39.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/12.94, allocations: 0 / 4.226 GB, free: 39.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/13.04, allocations: 36.74 MB / 4.262 GB, free: 38.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/13.04, allocations: 213.1 kB / 4.262 GB, free: 37.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.572/17.61, allocations: 0 / 4.262 GB, free: 37.77 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat