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.Water.IdealSteam.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.Water.IdealSteam,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.663/1.663, allocations: 171.2 MB / 186.1 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005494/0.0005495, allocations: 11.94 kB / 233.4 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.09497, allocations: 38.77 MB / 272.1 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.339/1.434, allocations: 429 MB / 0.6847 GB, free: 26.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.435, allocations: 91.62 kB / 0.6848 GB, free: 25.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8203/2.255, allocations: 155.4 MB / 0.8366 GB, free: 23.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/2.255, allocations: 0 / 0.8366 GB, free: 23.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.784e-05/2.255, allocations: 4 kB / 0.8366 GB, free: 23.45 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.001577/2.257, allocations: 0.6284 MB / 0.8372 GB, free: 22.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/2.257, allocations: 8.031 kB / 0.8372 GB, free: 22.76 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/2.257, allocations: 62.53 kB / 0.8373 GB, free: 22.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005083/2.257, allocations: 39.62 kB / 0.8373 GB, free: 22.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/2.258, allocations: 290.8 kB / 0.8376 GB, free: 22.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/2.258, allocations: 24.55 kB / 0.8376 GB, free: 22.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/2.258, allocations: 24 kB / 0.8377 GB, free: 22.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008972/2.259, allocations: 319.7 kB / 0.838 GB, free: 21.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/2.259, allocations: 7.844 kB / 0.838 GB, free: 21.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/2.259, allocations: 12 kB / 0.838 GB, free: 21.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/2.259, allocations: 4 kB / 0.838 GB, free: 21.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/2.26, allocations: 209.5 kB / 0.8382 GB, free: 21.71 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.002949/2.263, allocations: 1.57 MB / 0.8397 GB, free: 19.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/2.263, allocations: 159.1 kB / 0.8399 GB, free: 19.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.037e-05/2.264, allocations: 8.172 kB / 0.8399 GB, free: 19.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/2.264, allocations: 50.64 kB / 0.8399 GB, free: 19.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.927e-06/2.264, allocations: 0 / 0.8399 GB, free: 19.75 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.01158/2.275, allocations: 1.613 MB / 0.8415 GB, free: 18.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/2.275, allocations: 59.39 kB / 0.8416 GB, free: 17.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/2.276, allocations: 228.1 kB / 0.8418 GB, free: 17.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/2.276, allocations: 29.7 kB / 0.8418 GB, free: 17.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/2.276, allocations: 176.2 kB / 0.842 GB, free: 17.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/2.276, allocations: 90.66 kB / 0.8421 GB, free: 17.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/2.276, allocations: 8 kB / 0.8421 GB, free: 17.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.695e-05/2.276, allocations: 338.8 kB / 0.8424 GB, free: 17.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/2.277, allocations: 87.73 kB / 0.8425 GB, free: 16.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/2.277, allocations: 195.7 kB / 0.8427 GB, free: 16.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/2.277, allocations: 120 kB / 0.8428 GB, free: 16.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/2.277, allocations: 3.953 kB / 0.8428 GB, free: 16.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001312/2.279, allocations: 394.6 kB / 0.8431 GB, free: 16.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/2.279, allocations: 8 kB / 0.8432 GB, free: 16.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/2.279, allocations: 0 / 0.8432 GB, free: 16.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/2.279, allocations: 77.67 kB / 0.8432 GB, free: 16.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/2.28, allocations: 80.25 kB / 0.8433 GB, free: 16.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/2.282, allocations: 1.868 MB / 0.8451 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/2.283, allocations: 19.92 kB / 0.8451 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/2.283, allocations: 43.98 kB / 0.8452 GB, free: 13.97 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.0003082/2.283, allocations: 153.8 kB / 0.8453 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/2.283, allocations: 35.56 kB / 0.8454 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/2.285, allocations: 447.9 kB / 0.8458 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/2.285, allocations: 4 kB / 0.8458 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.285, allocations: 3.938 kB / 0.8458 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008798/2.286, allocations: 0.5514 MB / 0.8463 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/2.288, allocations: 0.7235 MB / 0.8471 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/2.288, allocations: 0 / 0.8471 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/2.289, allocations: 72.02 kB / 0.8471 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/2.289, allocations: 24.78 kB / 0.8471 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/2.289, allocations: 12 kB / 0.8472 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/2.29, allocations: 1.292 MB / 0.8484 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.29, allocations: 4.031 kB / 0.8484 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/2.291, allocations: 497.2 kB / 0.8489 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/2.291, allocations: 108.8 kB / 0.849 GB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/2.292, allocations: 8 kB / 0.849 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/2.292, allocations: 19.89 kB / 0.849 GB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/2.292, allocations: 19.98 kB / 0.849 GB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/2.292, allocations: 35.98 kB / 0.8491 GB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003375/2.293, allocations: 190 kB / 0.8493 GB, free: 9.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/2.293, allocations: 0 / 0.8493 GB, free: 9.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001428/2.294, allocations: 183.9 kB / 0.8494 GB, free: 9.246 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.003343/2.298, allocations: 1.831 MB / 0.8512 GB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/2.299, allocations: 371.3 kB / 0.8516 GB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/2.299, allocations: 3.938 kB / 0.8516 GB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004996/2.299, allocations: 234.5 kB / 0.8518 GB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/2.301, allocations: 157.9 kB / 0.852 GB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/2.307, allocations: 3.847 MB / 0.8557 GB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/2.307, allocations: 0.7726 MB / 0.8565 GB, free: 1.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001317/2.309, allocations: 106.9 kB / 0.8566 GB, free: 1.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/2.309, allocations: 127.4 kB / 0.8567 GB, free: 1.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/2.309, allocations: 4 kB / 0.8567 GB, free: 1.594 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.406/2.715, allocations: 22.91 MB / 0.8791 GB, free: 75.11 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/2.716, allocations: 229.7 kB / 0.8793 GB, free: 74.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/6.373, allocations: 0 / 0.8793 GB, free: 74.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat