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.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.01064/0.01065, allocations: 104.1 kB / 15.05 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.001122/0.001122, allocations: 174.1 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.621/1.621, allocations: 170.9 MB / 187.5 MB, free: 1 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.2735/0.2735, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006346, allocations: 11.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09779, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04092/0.1388, allocations: 22.38 MB / 394.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.1599, allocations: 10.46 MB / 405.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.1602, allocations: 4 kB / 405.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.1606, allocations: 59.7 kB / 405.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02537/0.1859, allocations: 6.192 MB / 411.4 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.1869, allocations: 203.6 kB / 411.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007839/0.1877, allocations: 311.9 kB / 411.9 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.1878, allocations: 16.31 kB / 411.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005817/0.1884, allocations: 183.5 kB / 412.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02824/0.2166, allocations: 11.09 MB / 423.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.2168, allocations: 8 kB / 423.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3429/0.5597, allocations: 11.18 MB / 434.4 MB, free: 28.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.5599, allocations: 80.59 kB / 434.4 MB, free: 28.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.5601, allocations: 75.2 kB / 434.5 MB, free: 28.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.5726, allocations: 4.066 MB / 438.6 MB, free: 28.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5727, allocations: 0 / 438.6 MB, free: 28.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.5727, allocations: 1.562 kB / 438.6 MB, free: 28.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.5727, allocations: 0 / 438.6 MB, free: 28.02 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007321/0.5801, allocations: 1.45 MB / 440 MB, free: 27.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5801, allocations: 11.75 kB / 440 MB, free: 27.14 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.5802, allocations: 66.03 kB / 440.1 MB, free: 27.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.5805, allocations: 33.97 kB / 440.1 MB, free: 27.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.5808, allocations: 241.7 kB / 440.4 MB, free: 26.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.5809, allocations: 23.83 kB / 440.4 MB, free: 26.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.5809, allocations: 23.34 kB / 440.4 MB, free: 26.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.5821, allocations: 0.495 MB / 440.9 MB, free: 26.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5821, allocations: 2.5 kB / 440.9 MB, free: 26.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.5822, allocations: 14.77 kB / 440.9 MB, free: 26.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/0.5822, allocations: 22.28 kB / 441 MB, free: 26.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.5842, allocations: 0.89 MB / 441.8 MB, free: 26.77 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.002881/0.5872, allocations: 1.871 MB / 443.7 MB, free: 25.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.5882, allocations: 333.4 kB / 444 MB, free: 25.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/0.6099, allocations: 13.22 MB / 457.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006516/0.6106, allocations: 239 kB / 457.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/0.6106, allocations: 1.281 kB / 457.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.003105/0.6138, allocations: 0.7736 MB / 458.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.6139, allocations: 266.6 kB / 458.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.6141, allocations: 196.3 kB / 458.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.6141, allocations: 34.3 kB / 458.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.6143, allocations: 199.6 kB / 459 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.6144, allocations: 122.6 kB / 459.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.6144, allocations: 12.72 kB / 459.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.6145, allocations: 333.6 kB / 459.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.6148, allocations: 87.73 kB / 459.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.6153, allocations: 367 kB / 459.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.6158, allocations: 151.1 kB / 460 MB, free: 10.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.6159, allocations: 3.531 kB / 460 MB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001673/0.6175, allocations: 0.492 MB / 460.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6176, allocations: 7.438 kB / 460.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.6176, allocations: 9.656 kB / 460.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.6177, allocations: 15.56 kB / 460.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.6188, allocations: 181.1 kB / 460.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005278/0.6193, allocations: 1.19 MB / 461.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.6199, allocations: 25.94 kB / 461.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/0.62, allocations: 46.03 kB / 462 MB, free: 9.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (66): * Single equations (assignments): 64 * 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.0002317/0.6203, allocations: 170.1 kB / 462.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.6206, allocations: 37 kB / 462.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.6221, allocations: 478.7 kB / 462.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6221, allocations: 3.344 kB / 462.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6221, allocations: 3.953 kB / 462.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6222, allocations: 3 kB / 462.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.6234, allocations: 0.6151 MB / 463.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6234, allocations: 2.625 kB / 463.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.6241, allocations: 83.66 kB / 463.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.6241, allocations: 1.688 kB / 463.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.6241, allocations: 12.75 kB / 463.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004131/0.6246, allocations: 1.171 MB / 464.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6246, allocations: 0 / 464.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.6254, allocations: 384.4 kB / 464.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.6255, allocations: 134.7 kB / 465 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.6256, allocations: 5.781 kB / 465 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.626, allocations: 14.45 kB / 465.1 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.6261, allocations: 31.22 kB / 465.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.6261, allocations: 12.03 kB / 465.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.6263, allocations: 169 kB / 465.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6264, allocations: 0 / 465.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.007887/0.6343, allocations: 1.587 MB / 466.9 MB, free: 7.125 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.01918/0.6535, allocations: 3.191 MB / 470 MB, free: 5.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.6558, allocations: 317.6 kB / 470.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6558, allocations: 0 / 470.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009625/0.6568, allocations: 125.9 kB / 470.5 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.6578, allocations: 65.77 kB / 470.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.6698, allocations: 8.368 MB / 478.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.6704, allocations: 0.7589 MB / 479.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001359/0.6718, allocations: 133.6 kB / 479.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.6722, allocations: 99.52 kB / 479.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.545e-06/0.6722, allocations: 0 / 479.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1543/0.8265, allocations: 49.86 MB / 0.5173 GB, free: 108 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003785/0.827, allocations: 277.2 kB / 0.5176 GB, free: 15.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.162/5.989, allocations: 0 / 0.5176 GB, free: 15.75 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat