Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01144/0.01145, allocations: 112.3 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001232/0.001232, allocations: 181.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.97/1.97, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3401/0.3401, allocations: 40.05 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006695/0.0006695, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1195, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02119/0.1408, allocations: 11.76 MB / 427.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04946/0.1903, allocations: 22.38 MB / 450.2 MB, free: 332 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.1906, allocations: 4 kB / 450.2 MB, free: 328 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.1912, allocations: 71.64 kB / 450.2 MB, free: 256 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4026/0.5938, allocations: 6.711 MB / 457 MB, free: 31.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.5951, allocations: 310.8 kB / 457.3 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007937/0.603, allocations: 3.041 MB / 460.3 MB, free: 31.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.6032, allocations: 21.22 kB / 460.3 MB, free: 31.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.6039, allocations: 282.7 kB / 460.6 MB, free: 31.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01446/0.6184, allocations: 5.574 MB / 466.2 MB, free: 31.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-05/0.6185, allocations: 9.312 kB / 466.2 MB, free: 31.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03042/0.649, allocations: 10.69 MB / 476.9 MB, free: 31.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.6492, allocations: 47.47 kB / 476.9 MB, free: 31.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.6494, allocations: 71.83 kB / 477 MB, free: 31.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.6629, allocations: 4.207 MB / 481.2 MB, free: 31.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.663, allocations: 0 / 481.2 MB, free: 31.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.663, allocations: 0 / 481.2 MB, free: 31.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.663, allocations: 1.156 kB / 481.2 MB, free: 31.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009316/0.6724, allocations: 1.489 MB / 482.7 MB, free: 30.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.6724, allocations: 8.969 kB / 482.7 MB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.6726, allocations: 67.59 kB / 482.8 MB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.6753, allocations: 234.5 kB / 483 MB, free: 30.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.6759, allocations: 273.3 kB / 483.3 MB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.676, allocations: 25.41 kB / 483.3 MB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.6761, allocations: 32.66 kB / 483.3 MB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.6799, allocations: 0.8194 MB / 484.1 MB, free: 29.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.68, allocations: 8.188 kB / 484.1 MB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.6801, allocations: 15.75 kB / 484.2 MB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.6801, allocations: 7.188 kB / 484.2 MB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/0.6843, allocations: 0.9453 MB / 485.1 MB, free: 29.96 MB / 378.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.004922/0.6893, allocations: 2.587 MB / 487.7 MB, free: 28.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.6916, allocations: 379 kB / 488.1 MB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464/2.156, allocations: 227.1 MB / 0.6984 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/2.158, allocations: 469.5 kB / 0.6989 GB, free: 139 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 4.659e-06/2.158, allocations: 0 / 0.6989 GB, free: 139 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.004597/2.163, allocations: 0.7742 MB / 0.6996 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.163, allocations: 375.8 kB / 0.7 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/2.163, allocations: 180.1 kB / 0.7001 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/2.163, allocations: 32.08 kB / 0.7002 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/2.163, allocations: 187 kB / 0.7004 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/2.164, allocations: 114.3 kB / 0.7005 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/2.164, allocations: 10.5 kB / 0.7005 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/2.164, allocations: 333.1 kB / 0.7008 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/2.164, allocations: 79.59 kB / 0.7009 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/2.165, allocations: 334.1 kB / 0.7012 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/2.165, allocations: 137.2 kB / 0.7013 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/2.165, allocations: 0 / 0.7013 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001385/2.166, allocations: 482.2 kB / 0.7018 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/2.166, allocations: 10.97 kB / 0.7018 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/2.166, allocations: 8 kB / 0.7018 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/2.167, allocations: 13.78 kB / 0.7018 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008086/2.167, allocations: 146.7 kB / 0.7019 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/2.167, allocations: 15.94 kB / 0.702 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/2.168, allocations: 51.84 kB / 0.702 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/2.168, allocations: 47.84 kB / 0.7021 GB, free: 136 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000263/2.168, allocations: 157.1 kB / 0.7022 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/2.168, allocations: 35.66 kB / 0.7022 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/2.172, allocations: 2.656 MB / 0.7048 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/2.172, allocations: 19.97 kB / 0.7049 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/2.173, allocations: 4 kB / 0.7049 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/2.173, allocations: 4.375 kB / 0.7049 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/2.174, allocations: 0.93 MB / 0.7058 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/2.174, allocations: 4 kB / 0.7058 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/2.175, allocations: 71.88 kB / 0.7058 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/2.175, allocations: 15.94 kB / 0.7059 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/2.175, allocations: 10.72 kB / 0.7059 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/2.175, allocations: 4 kB / 0.7059 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.175, allocations: 7.938 kB / 0.7059 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/2.176, allocations: 0.8321 MB / 0.7067 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/2.177, allocations: 386.7 kB / 0.7071 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/2.177, allocations: 8 kB / 0.7071 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/2.177, allocations: 23.98 kB / 0.7071 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/2.178, allocations: 35.52 kB / 0.7071 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/2.178, allocations: 12 kB / 0.7071 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009171/2.179, allocations: 0.4981 MB / 0.7076 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/2.179, allocations: 0 / 0.7076 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008261/2.187, allocations: 1.519 MB / 0.7091 GB, free: 128.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01786/2.205, allocations: 3.827 MB / 0.7128 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001255/2.206, allocations: 401.8 kB / 0.7132 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/2.206, allocations: 4 kB / 0.7132 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/2.207, allocations: 278.9 kB / 0.7135 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/2.208, allocations: 133.8 kB / 0.7136 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/2.222, allocations: 10.47 MB / 0.7238 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/2.223, allocations: 1.001 MB / 0.7248 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001335/2.224, allocations: 0.5226 MB / 0.7253 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/2.225, allocations: 319.3 kB / 0.7256 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/2.225, allocations: 4 kB / 0.7256 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/2.385, allocations: 64.08 MB / 0.7882 GB, free: 47.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/2.386, allocations: 204.7 kB / 0.7884 GB, free: 47.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/10.7, allocations: 0 / 0.7884 GB, free: 47.65 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat