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.001371/0.001371, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001286/0.001286, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.205/0.205, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.002051/0.002051, allocations: 69.45 kB / 441.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1056, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4128/0.5184, allocations: 153.5 MB / 0.6373 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.535, allocations: 13.27 MB / 0.6503 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.5352, allocations: 0 / 0.6503 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.5356, allocations: 83.48 kB / 0.6503 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008286/0.5439, allocations: 3.439 MB / 0.6537 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.5443, allocations: 161.4 kB / 0.6539 GB, free: 396 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007286/0.545, allocations: 0.5295 MB / 0.6544 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.5451, allocations: 16.41 kB / 0.6544 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.5454, allocations: 223.2 kB / 0.6546 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.5462, allocations: 378.9 kB / 0.655 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.5462, allocations: 16 kB / 0.655 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008948/0.5552, allocations: 5.022 MB / 0.6599 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.5553, allocations: 91.75 kB / 0.66 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.5556, allocations: 159.2 kB / 0.6601 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005119/0.5607, allocations: 2.599 MB / 0.6627 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5607, allocations: 0 / 0.6627 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5607, allocations: 7.938 kB / 0.6627 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.5607, allocations: 0 / 0.6627 GB, free: 7.348 MB / 0.4981 GB 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.002583/0.5633, allocations: 1.155 MB / 0.6638 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5634, allocations: 15.89 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.524e-05/0.5635, allocations: 74.66 kB / 0.6639 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.5636, allocations: 32.8 kB / 0.6639 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.564, allocations: 258.5 kB / 0.6642 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.5641, allocations: 131.5 kB / 0.6643 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.5642, allocations: 24 kB / 0.6643 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.565, allocations: 0.576 MB / 0.6649 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.565, allocations: 3.938 kB / 0.6649 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.5651, allocations: 12 kB / 0.6649 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.5651, allocations: 28.55 kB / 0.6649 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.5667, allocations: 1.267 MB / 0.6662 GB, free: 3.625 MB / 0.4981 GB 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.002604/0.5693, allocations: 2.004 MB / 0.6681 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007389/0.57, allocations: 272 kB / 0.6684 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.5702, allocations: 118 kB / 0.6685 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003832/0.5741, allocations: 3.343 MB / 0.6717 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.5741, allocations: 42.56 kB / 0.6718 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 4.238e-06/0.5741, allocations: 0 / 0.6718 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.002012/0.5762, allocations: 0.7376 MB / 0.6725 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.5762, allocations: 59.36 kB / 0.6726 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.5764, allocations: 198.3 kB / 0.6728 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.5765, allocations: 33.7 kB / 0.6728 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.5766, allocations: 204.3 kB / 0.673 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.5767, allocations: 166.6 kB / 0.6731 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.5769, allocations: 142.2 kB / 0.6733 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5771, allocations: 334.8 kB / 0.6736 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.5773, allocations: 109.2 kB / 0.6737 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.5778, allocations: 417 kB / 0.6741 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.5785, allocations: 0.5747 MB / 0.6747 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5785, allocations: 4 kB / 0.6747 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009607/0.5795, allocations: 0.5638 MB / 0.6752 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5795, allocations: 14.75 kB / 0.6752 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5796, allocations: 15.94 kB / 0.6752 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.5796, allocations: 12 kB / 0.6753 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.5802, allocations: 199.7 kB / 0.6754 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007872/0.581, allocations: 1.195 MB / 0.6766 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.5813, allocations: 24 kB / 0.6766 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.5815, allocations: 63.97 kB / 0.6767 GB, free: 7.695 MB / 0.5137 GB 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.0001942/0.5817, allocations: 181.5 kB / 0.6769 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.5818, allocations: 27.86 kB / 0.6769 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.583, allocations: 0.6542 MB / 0.6775 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.583, allocations: 4 kB / 0.6775 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.583, allocations: 0 / 0.6775 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.583, allocations: 4 kB / 0.6775 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009635/0.584, allocations: 0.6567 MB / 0.6782 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.584, allocations: 3.984 kB / 0.6782 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.5844, allocations: 99.88 kB / 0.6783 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5845, allocations: 0 / 0.6783 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5845, allocations: 8 kB / 0.6783 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006816/0.5852, allocations: 1.18 MB / 0.6794 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5852, allocations: 4.031 kB / 0.6794 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.5857, allocations: 341.1 kB / 0.6798 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.5858, allocations: 128.9 kB / 0.6799 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.5859, allocations: 16.14 kB / 0.6799 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.5861, allocations: 8 kB / 0.6799 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.5862, allocations: 24.25 kB / 0.6799 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.5863, allocations: 23.98 kB / 0.68 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001762/0.5864, allocations: 172.5 kB / 0.6801 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5864, allocations: 0 / 0.6801 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001584/0.588, allocations: 0.5646 MB / 0.6807 GB, free: 3.43 MB / 0.5137 GB 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.002923/0.591, allocations: 1.679 MB / 0.6823 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008882/0.5919, allocations: 373.9 kB / 0.6827 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5919, allocations: 4 kB / 0.6827 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.5923, allocations: 148 kB / 0.6828 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.593, allocations: 130.5 kB / 0.6829 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.6104, allocations: 11.28 MB / 0.694 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.6108, allocations: 0.7699 MB / 0.6947 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006413/0.6115, allocations: 186.8 kB / 0.6949 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.6118, allocations: 123.4 kB / 0.695 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.6118, allocations: 0 / 0.695 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/0.663, allocations: 20.44 MB / 0.715 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.91, allocations: 15.94 kB / 0.715 GB, free: 15.85 MB / 0.5606 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches