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_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.01106/0.01106, allocations: 104.2 kB / 15.05 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.001118/0.001118, allocations: 167.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.721/1.721, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2524/0.2524, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09717, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01219/0.1094, allocations: 7.431 MB / 379.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.1321, allocations: 12.87 MB / 392.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.1324, allocations: 4 kB / 392.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1328, allocations: 51.73 kB / 392.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.1437, allocations: 2.594 MB / 395.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.1443, allocations: 151.6 kB / 395.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01634/0.1607, allocations: 7.149 MB / 402.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1608, allocations: 12.41 kB / 402.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.1612, allocations: 135.6 kB / 402.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03347/0.1947, allocations: 13.83 MB / 416.5 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.422e-05/0.1948, allocations: 8 kB / 416.5 MB, free: 0.5508 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.01171/0.2066, allocations: 2.42 MB / 418.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2068, allocations: 39.81 kB / 419 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.2071, allocations: 73.58 kB / 419 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.2122, allocations: 1.146 MB / 420.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2122, allocations: 3.938 kB / 420.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2122, allocations: 0 / 420.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2123, allocations: 0 / 420.2 MB, free: 12.86 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.004698/0.217, allocations: 0.9047 MB / 421.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001459/0.2171, allocations: 8.031 kB / 421.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.2174, allocations: 62.53 kB / 421.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.2189, allocations: 83.61 kB / 421.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.2195, allocations: 242.7 kB / 421.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.2195, allocations: 24.5 kB / 421.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/0.2196, allocations: 24 kB / 421.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.2218, allocations: 477.5 kB / 422 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.2219, allocations: 4 kB / 422 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.222, allocations: 12 kB / 422 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.222, allocations: 4 kB / 422 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.2248, allocations: 0.6851 MB / 422.7 MB, free: 10.21 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.01612/0.241, allocations: 3.148 MB / 425.9 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.2426, allocations: 203.4 kB / 426.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.398/0.6406, allocations: 31.46 MB / 457.5 MB, free: 48.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008369/0.6415, allocations: 339.2 kB / 457.8 MB, free: 48.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 3.066e-06/0.6415, allocations: 0 / 457.8 MB, free: 48.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.003391/0.6449, allocations: 0.8565 MB / 458.7 MB, free: 47.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.6451, allocations: 487.7 kB / 459.2 MB, free: 46.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.6452, allocations: 162.6 kB / 459.3 MB, free: 46.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.6453, allocations: 29.7 kB / 459.4 MB, free: 46.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.6454, allocations: 165.9 kB / 459.5 MB, free: 46.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/0.6455, allocations: 126.1 kB / 459.7 MB, free: 46.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.6455, allocations: 8 kB / 459.7 MB, free: 46.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.6456, allocations: 330.7 kB / 460 MB, free: 46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.6457, allocations: 61.08 kB / 460 MB, free: 45.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.646, allocations: 310.1 kB / 460.3 MB, free: 45.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.6463, allocations: 116.5 kB / 460.5 MB, free: 45.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6463, allocations: 5.875 kB / 460.5 MB, free: 45.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008647/0.6472, allocations: 408.6 kB / 460.9 MB, free: 45.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6472, allocations: 8 kB / 460.9 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6473, allocations: 8 kB / 460.9 MB, free: 44.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.6473, allocations: 16 kB / 460.9 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/0.6502, allocations: 263.5 kB / 461.2 MB, free: 44.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004619/0.6506, allocations: 1.184 MB / 462.3 MB, free: 43.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.651, allocations: 23.84 kB / 462.4 MB, free: 43.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.6511, allocations: 31.98 kB / 462.4 MB, free: 43.44 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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.6512, allocations: 162.8 kB / 462.5 MB, free: 43.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.6513, allocations: 31.8 kB / 462.6 MB, free: 43.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.6531, allocations: 0.9639 MB / 463.5 MB, free: 42.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.6531, allocations: 19.94 kB / 463.6 MB, free: 42.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.6531, allocations: 0 / 463.6 MB, free: 42.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6532, allocations: 4 kB / 463.6 MB, free: 42.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.6547, allocations: 1.416 MB / 465 MB, free: 40.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6548, allocations: 11.97 kB / 465 MB, free: 40.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.6565, allocations: 148.6 kB / 465.1 MB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.6565, allocations: 8 kB / 465.1 MB, free: 40.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.6565, allocations: 8 kB / 465.2 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002127/0.6567, allocations: 0.586 MB / 465.7 MB, free: 39.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6568, allocations: 0 / 465.7 MB, free: 39.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.6574, allocations: 0.6366 MB / 466.4 MB, free: 39.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.6576, allocations: 232 kB / 466.6 MB, free: 38.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.6577, allocations: 8 kB / 466.6 MB, free: 38.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.6582, allocations: 15.98 kB / 466.6 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.6583, allocations: 23.91 kB / 466.7 MB, free: 38.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.6583, allocations: 12 kB / 466.7 MB, free: 38.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003544/0.6587, allocations: 275.1 kB / 466.9 MB, free: 38.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6587, allocations: 4 kB / 466.9 MB, free: 38.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001647/0.6604, allocations: 464.1 kB / 467.4 MB, free: 38.16 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002796/0.6632, allocations: 2.436 MB / 469.8 MB, free: 35.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.6652, allocations: 395.7 kB / 470.2 MB, free: 35.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6653, allocations: 4.25 kB / 470.2 MB, free: 35.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.6664, allocations: 221.2 kB / 470.4 MB, free: 35.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.6673, allocations: 97.08 kB / 470.5 MB, free: 35.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/0.6721, allocations: 8.012 MB / 478.5 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.6725, allocations: 0.8429 MB / 479.4 MB, free: 25.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007423/0.6732, allocations: 177 kB / 479.6 MB, free: 25.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.6735, allocations: 151.4 kB / 479.7 MB, free: 25.63 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6735, allocations: 0 / 479.7 MB, free: 25.63 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.7249, allocations: 19.1 MB / 498.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/0.7252, allocations: 236.6 kB / 499 MB, free: 6.398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/4.289, allocations: 0 / 499 MB, free: 6.398 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat