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_dT.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_dT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.01102/0.01102, allocations: 103.7 kB / 15.06 MB, free: 6.027 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.001174/0.001174, allocations: 170.2 kB / 15.93 MB, free: 5.961 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.744/1.744, 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.2521/0.2521, allocations: 38.1 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004528, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.0902, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01188/0.1021, allocations: 7.431 MB / 379.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02191/0.1241, allocations: 12.86 MB / 392.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1244, allocations: 0 / 392.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.1247, allocations: 55.75 kB / 392.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.1351, allocations: 2.59 MB / 395.2 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.1358, allocations: 143.7 kB / 395.4 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01578/0.1516, allocations: 7.157 MB / 402.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.1517, allocations: 16.41 kB / 402.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.152, allocations: 139.6 kB / 402.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03023/0.1822, allocations: 13.84 MB / 416.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.1824, allocations: 8 kB / 416.5 MB, free: 0.5391 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.007446/0.1898, allocations: 2.119 MB / 418.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.19, allocations: 51.8 kB / 418.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.1901, allocations: 65.64 kB / 418.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.1937, allocations: 1.018 MB / 419.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1937, allocations: 0 / 419.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.004e-06/0.1938, allocations: 0 / 419.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1938, allocations: 7.875 kB / 419.8 MB, free: 13.27 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.003003/0.1968, allocations: 0.8657 MB / 420.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.1969, allocations: 8.031 kB / 420.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.197, allocations: 58.55 kB / 420.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000779/0.1978, allocations: 87.59 kB / 420.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1981, allocations: 242.7 kB / 421 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.1982, allocations: 20.56 kB / 421.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.1983, allocations: 28 kB / 421.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.1996, allocations: 477.4 kB / 421.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1997, allocations: 4 kB / 421.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.1997, allocations: 16 kB / 421.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1997, allocations: 8 kB / 421.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.2014, allocations: 0.6812 MB / 422.3 MB, free: 10.66 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.0104/0.2118, allocations: 3.107 MB / 425.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.2127, allocations: 214.8 kB / 425.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3859/0.5987, allocations: 28.78 MB / 454.4 MB, free: 51.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008591/0.5996, allocations: 342.5 kB / 454.7 MB, free: 51.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.5996, allocations: 0 / 454.7 MB, free: 51.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.004152/0.6038, allocations: 0.9739 MB / 455.7 MB, free: 50.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.604, allocations: 484.6 kB / 456.1 MB, free: 50.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.6041, allocations: 166.6 kB / 456.3 MB, free: 50.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.6042, allocations: 33.7 kB / 456.3 MB, free: 50.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.6043, allocations: 162.6 kB / 456.5 MB, free: 49.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6044, allocations: 129.5 kB / 456.6 MB, free: 49.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.6044, allocations: 8 kB / 456.6 MB, free: 49.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.6045, allocations: 326.8 kB / 456.9 MB, free: 49.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.6047, allocations: 75.16 kB / 457 MB, free: 49.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.605, allocations: 314.1 kB / 457.3 MB, free: 49.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.6053, allocations: 121.8 kB / 457.4 MB, free: 48.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6053, allocations: 4 kB / 457.4 MB, free: 48.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001006/0.6063, allocations: 439.9 kB / 457.9 MB, free: 48.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.6063, allocations: 12 kB / 457.9 MB, free: 48.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6064, allocations: 8 kB / 457.9 MB, free: 48.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/0.6094, allocations: 299.3 kB / 458.2 MB, free: 48.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.61, allocations: 107.8 kB / 458.3 MB, free: 48.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005979/0.6106, allocations: 1.219 MB / 459.5 MB, free: 46.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.611, allocations: 23.91 kB / 459.5 MB, free: 46.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.6111, allocations: 32.17 kB / 459.6 MB, free: 46.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.6113, allocations: 162.6 kB / 459.7 MB, free: 46.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.6114, allocations: 34.42 kB / 459.8 MB, free: 46.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.6133, allocations: 1.073 MB / 460.8 MB, free: 45.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.6134, allocations: 11.98 kB / 460.8 MB, free: 45.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.6134, allocations: 4 kB / 460.8 MB, free: 45.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.6134, allocations: 0 / 460.8 MB, free: 45.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.616, allocations: 1.549 MB / 462.4 MB, free: 43.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.616, allocations: 4 kB / 462.4 MB, free: 43.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.6163, allocations: 39.92 kB / 462.4 MB, free: 43.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.6182, allocations: 246.1 kB / 462.7 MB, free: 43.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.6183, allocations: 8 kB / 462.7 MB, free: 43.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006868/0.619, allocations: 1.274 MB / 464 MB, free: 42.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.619, allocations: 7.938 kB / 464 MB, free: 42.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.6199, allocations: 0.7094 MB / 464.7 MB, free: 41.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.6201, allocations: 220.1 kB / 464.9 MB, free: 41.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.6202, allocations: 8 kB / 464.9 MB, free: 41.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.6207, allocations: 23.89 kB / 464.9 MB, free: 41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.6207, allocations: 27.92 kB / 465 MB, free: 40.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.6208, allocations: 20 kB / 465 MB, free: 40.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003639/0.6212, allocations: 271.1 kB / 465.2 MB, free: 40.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6212, allocations: 0 / 465.2 MB, free: 40.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001627/0.6228, allocations: 446.2 kB / 465.7 MB, free: 40.27 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002972/0.6258, allocations: 2.496 MB / 468.2 MB, free: 37.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.6266, allocations: 365.3 kB / 468.5 MB, free: 37.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6266, allocations: 4.125 kB / 468.5 MB, free: 37.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.627, allocations: 229.5 kB / 468.8 MB, free: 37.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.628, allocations: 100.7 kB / 468.9 MB, free: 37.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.633, allocations: 8.071 MB / 476.9 MB, free: 28.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.6333, allocations: 0.839 MB / 477.8 MB, free: 27.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000675/0.634, allocations: 161.2 kB / 477.9 MB, free: 27.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.6342, allocations: 159.4 kB / 478.1 MB, free: 27.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6342, allocations: 0 / 478.1 MB, free: 27.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/0.6891, allocations: 18.84 MB / 496.9 MB, free: 8.887 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.6895, allocations: 248.6 kB / 497.2 MB, free: 8.633 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/4.329, allocations: 4 kB / 497.2 MB, free: 8.629 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat