Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00609/0.00609, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 196 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3044/0.3044, allocations: 43.49 MB / 313.5 MB, free: 8.5 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 70.09 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4163/0.5326, allocations: 151.3 MB / 0.5774 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01516/0.5478, allocations: 13.77 MB / 0.5908 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.5481, allocations: 4 kB / 0.5908 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.5485, allocations: 75.61 kB / 0.5909 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008285/0.5568, allocations: 3.027 MB / 0.5938 GB, free: 3.871 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.5572, allocations: 153.3 kB / 0.594 GB, free: 3.727 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008546/0.558, allocations: 0.7636 MB / 0.5947 GB, free: 2.961 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.5581, allocations: 15.06 kB / 0.5947 GB, free: 2.949 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.5584, allocations: 215.2 kB / 0.5949 GB, free: 2.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.5591, allocations: 406.8 kB / 0.5953 GB, free: 2.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.5592, allocations: 8 kB / 0.5953 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009641/0.5688, allocations: 5.42 MB / 0.6006 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.5691, allocations: 95.67 kB / 0.6007 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.5693, allocations: 147.3 kB / 0.6009 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007064/0.5764, allocations: 2.771 MB / 0.6036 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5765, allocations: 0 / 0.6036 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5765, allocations: 0 / 0.6036 GB, free: 9.887 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.5765, allocations: 0 / 0.6036 GB, free: 9.887 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002772/0.5793, allocations: 1.121 MB / 0.6047 GB, free: 8.719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5793, allocations: 8.031 kB / 0.6047 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.909e-05/0.5794, allocations: 74.7 kB / 0.6047 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.5796, allocations: 36.66 kB / 0.6048 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.5799, allocations: 258.5 kB / 0.605 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.58, allocations: 139.3 kB / 0.6052 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.5801, allocations: 24 kB / 0.6052 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.5809, allocations: 0.5682 MB / 0.6057 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5809, allocations: 7.875 kB / 0.6057 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.581, allocations: 15.98 kB / 0.6058 GB, free: 7.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.581, allocations: 28.55 kB / 0.6058 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5823, allocations: 1.263 MB / 0.607 GB, free: 6.207 MB / 478.1 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.002328/0.5847, allocations: 2 MB / 0.609 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.5853, allocations: 272 kB / 0.6092 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.5855, allocations: 122.1 kB / 0.6093 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003458/0.589, allocations: 3.341 MB / 0.6126 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.5891, allocations: 52.92 kB / 0.6127 GB, free: 15.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.5891, allocations: 0 / 0.6127 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001845/0.5909, allocations: 0.7247 MB / 0.6134 GB, free: 14.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.591, allocations: 55.41 kB / 0.6134 GB, free: 14.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.5912, allocations: 202.2 kB / 0.6136 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.5912, allocations: 33.7 kB / 0.6136 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5914, allocations: 203.7 kB / 0.6138 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.5915, allocations: 153.8 kB / 0.614 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.5917, allocations: 138.2 kB / 0.6141 GB, free: 14.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5918, allocations: 330.8 kB / 0.6144 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.592, allocations: 105.2 kB / 0.6145 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.5924, allocations: 429.3 kB / 0.6149 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.5931, allocations: 0.5708 MB / 0.6155 GB, free: 12.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5931, allocations: 4 kB / 0.6155 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009145/0.594, allocations: 0.5674 MB / 0.6161 GB, free: 11.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.594, allocations: 12 kB / 0.6161 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.5941, allocations: 20.09 kB / 0.6161 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5941, allocations: 12 kB / 0.6161 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.5947, allocations: 199.7 kB / 0.6163 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000641/0.5954, allocations: 1.191 MB / 0.6175 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.5957, allocations: 24.19 kB / 0.6175 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.5958, allocations: 71.97 kB / 0.6175 GB, free: 10.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.596, allocations: 165.5 kB / 0.6177 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.5961, allocations: 31.66 kB / 0.6177 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.5974, allocations: 0.6466 MB / 0.6184 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.5974, allocations: 8 kB / 0.6184 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5974, allocations: 0 / 0.6184 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5974, allocations: 0 / 0.6184 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.5983, allocations: 0.6536 MB / 0.619 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5983, allocations: 0 / 0.619 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.5988, allocations: 107.8 kB / 0.6191 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5988, allocations: 0 / 0.6191 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.5988, allocations: 12 kB / 0.6191 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005552/0.5994, allocations: 1.17 MB / 0.6203 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5994, allocations: 3.984 kB / 0.6203 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.5998, allocations: 348.8 kB / 0.6206 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6, allocations: 112.9 kB / 0.6207 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.6, allocations: 19.83 kB / 0.6207 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.6003, allocations: 9.5 kB / 0.6207 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.6004, allocations: 28.25 kB / 0.6208 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.6004, allocations: 23.98 kB / 0.6208 GB, free: 6.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.6006, allocations: 172.5 kB / 0.621 GB, free: 6.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6006, allocations: 7.875 kB / 0.621 GB, free: 6.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001614/0.6022, allocations: 0.5542 MB / 0.6215 GB, free: 6.074 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002978/0.6052, allocations: 1.66 MB / 0.6231 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009205/0.6061, allocations: 384.9 kB / 0.6235 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.6061, allocations: 0 / 0.6235 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.6065, allocations: 148 kB / 0.6236 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.6073, allocations: 131.9 kB / 0.6238 GB, free: 3.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3253/0.9326, allocations: 11.35 MB / 0.6348 GB, free: 36.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.9328, allocations: 0.775 MB / 0.6356 GB, free: 35.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008155/0.9337, allocations: 189.7 kB / 0.6358 GB, free: 35.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.934, allocations: 123.4 kB / 0.6359 GB, free: 35.29 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.934, allocations: 0 / 0.6359 GB, free: 35.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04744/0.9814, allocations: 19.98 MB / 0.6554 GB, free: 31.42 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.9816, allocations: 269.7 kB / 0.6557 GB, free: 31.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.603, allocations: 0 / 0.6557 GB, free: 31.07 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches