Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_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.1/package.mo): time 0.01077/0.01078, allocations: 110.8 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.1.mo): time 0.001173/0.001173, allocations: 171.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.698/1.698, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2564/0.2564, allocations: 38.1 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01855/0.1601, allocations: 7.431 MB / 379.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03574/0.1959, allocations: 12.86 MB / 392.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.1962, allocations: 4 kB / 392.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1967, allocations: 55.69 kB / 392.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.2089, allocations: 2.598 MB / 395.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.2096, allocations: 139.7 kB / 395.4 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01632/0.2259, allocations: 7.157 MB / 402.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.226, allocations: 12.41 kB / 402.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.2263, allocations: 147.5 kB / 402.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03115/0.2575, allocations: 13.85 MB / 416.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.2576, allocations: 8 kB / 416.6 MB, free: 0.5234 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/Air/ReferenceAir.mo:13:10-13:30:writable] Warning: 'each' used when modifying non-array element airConstants. Notification: Performance of NFFlatten.collectFunctions: time 0.007112/0.2647, allocations: 2.15 MB / 418.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.2649, allocations: 39.89 kB / 418.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2651, allocations: 69.58 kB / 418.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.2684, allocations: 1.021 MB / 419.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2685, allocations: 0 / 419.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2685, allocations: 0 / 419.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.2685, allocations: 0 / 419.8 MB, free: 13.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003011/0.2715, allocations: 0.8657 MB / 420.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.2716, allocations: 8.031 kB / 420.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2717, allocations: 66.53 kB / 420.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007601/0.2725, allocations: 79.61 kB / 420.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.2729, allocations: 250.6 kB / 421.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.2729, allocations: 24.56 kB / 421.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.273, allocations: 28 kB / 421.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.2744, allocations: 477.4 kB / 421.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.2744, allocations: 0 / 421.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.2745, allocations: 12 kB / 421.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.2745, allocations: 15.94 kB / 421.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.2762, allocations: 0.6773 MB / 422.3 MB, free: 10.62 MB / 330.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.01175/0.288, allocations: 4.315 MB / 426.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/0.2887, allocations: 167.1 kB / 426.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3025/0.5913, allocations: 14.35 MB / 441.1 MB, free: 56.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009033/0.5922, allocations: 317.4 kB / 441.5 MB, free: 56.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.887e-06/0.5923, allocations: 1.312 kB / 441.5 MB, free: 56.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002012/0.5943, allocations: 444.6 kB / 441.9 MB, free: 56.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.5945, allocations: 479.2 kB / 442.4 MB, free: 56.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.5947, allocations: 176.4 kB / 442.5 MB, free: 56.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.5948, allocations: 36.41 kB / 442.6 MB, free: 56.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5949, allocations: 192.2 kB / 442.8 MB, free: 55.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.595, allocations: 98.39 kB / 442.8 MB, free: 55.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.5951, allocations: 10.25 kB / 442.9 MB, free: 55.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.5952, allocations: 333.3 kB / 443.2 MB, free: 55.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.5954, allocations: 63.42 kB / 443.2 MB, free: 55.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.5957, allocations: 309.5 kB / 443.5 MB, free: 55.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.596, allocations: 105.6 kB / 443.7 MB, free: 55.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.5961, allocations: 2.406 kB / 443.7 MB, free: 55.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001031/0.5971, allocations: 396.7 kB / 444 MB, free: 54.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5972, allocations: 9.859 kB / 444 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.5972, allocations: 11.92 kB / 444.1 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.541e-05/0.5972, allocations: 13.94 kB / 444.1 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.5979, allocations: 113.1 kB / 444.2 MB, free: 54.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.5979, allocations: 19.92 kB / 444.2 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.5983, allocations: 43.22 kB / 444.2 MB, free: 54.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.5984, allocations: 31.42 kB / 444.3 MB, free: 54.87 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001932/0.5986, allocations: 159.7 kB / 444.4 MB, free: 54.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.5987, allocations: 28.2 kB / 444.5 MB, free: 54.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.6004, allocations: 0.8049 MB / 445.3 MB, free: 54.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.6004, allocations: 13.28 kB / 445.3 MB, free: 54.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.6004, allocations: 5.125 kB / 445.3 MB, free: 54.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.6005, allocations: 10.78 kB / 445.3 MB, free: 54.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.6021, allocations: 1.212 MB / 446.5 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.6022, allocations: 3.219 kB / 446.5 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.6024, allocations: 27.84 kB / 446.5 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.6024, allocations: 7.375 kB / 446.5 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.6025, allocations: 8.719 kB / 446.6 MB, free: 53.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.6025, allocations: 10.83 kB / 446.6 MB, free: 53.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6025, allocations: 2.5 kB / 446.6 MB, free: 53.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.6031, allocations: 493.5 kB / 447 MB, free: 52.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.6033, allocations: 224.5 kB / 447.3 MB, free: 52.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.6034, allocations: 8.922 kB / 447.3 MB, free: 52.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.6039, allocations: 14.58 kB / 447.3 MB, free: 52.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.6039, allocations: 23.25 kB / 447.3 MB, free: 52.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.604, allocations: 11.5 kB / 447.3 MB, free: 52.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004846/0.6044, allocations: 284.6 kB / 447.6 MB, free: 52.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6045, allocations: 5.344 kB / 447.6 MB, free: 52.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001931/0.6064, allocations: 428.5 kB / 448 MB, free: 52.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003124/0.6095, allocations: 2.228 MB / 450.3 MB, free: 50.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.6103, allocations: 232.4 kB / 450.5 MB, free: 50.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6103, allocations: 1.938 kB / 450.5 MB, free: 50.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.6105, allocations: 90.66 kB / 450.6 MB, free: 50.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009473/0.6115, allocations: 88 kB / 450.7 MB, free: 50.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.6171, allocations: 7.999 MB / 458.7 MB, free: 43.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.6175, allocations: 0.823 MB / 459.5 MB, free: 42.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007491/0.6183, allocations: 169.6 kB / 459.6 MB, free: 42.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.6185, allocations: 139.6 kB / 459.8 MB, free: 42.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6185, allocations: 1.438 kB / 459.8 MB, free: 42.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04996/0.6685, allocations: 17.39 MB / 477.2 MB, free: 28.78 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/0.6688, allocations: 204.1 kB / 477.4 MB, free: 28.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/4.185, allocations: 0 / 477.4 MB, free: 28.54 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat