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.001717/0.001717, allocations: 105.8 kB / 16.41 MB, free: 6.504 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.001839/0.001839, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2156/0.2156, allocations: 43.52 MB / 314.1 MB, free: 460 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.002085/0.002085, allocations: 69.45 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1162, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3988/0.5151, allocations: 153.5 MB / 0.6373 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.5314, allocations: 13.27 MB / 0.6503 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.5316, allocations: 4 kB / 0.6503 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.532, allocations: 79.48 kB / 0.6503 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008024/0.54, allocations: 3.436 MB / 0.6537 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.5404, allocations: 169.4 kB / 0.6539 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.5412, allocations: 0.5256 MB / 0.6544 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.5412, allocations: 24.38 kB / 0.6544 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.5416, allocations: 223.2 kB / 0.6546 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007213/0.5423, allocations: 371 kB / 0.655 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.5424, allocations: 15.94 kB / 0.655 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008855/0.5512, allocations: 5.031 MB / 0.6599 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.5514, allocations: 91.69 kB / 0.66 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.5517, allocations: 167.2 kB / 0.6601 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006515/0.5582, allocations: 2.587 MB / 0.6627 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5583, allocations: 7.875 kB / 0.6627 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5583, allocations: 0 / 0.6627 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5583, allocations: 0 / 0.6627 GB, free: 7.32 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.002893/0.5612, allocations: 1.151 MB / 0.6638 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5612, allocations: 15.89 kB / 0.6638 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.935e-05/0.5613, allocations: 70.72 kB / 0.6639 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.5615, allocations: 36.8 kB / 0.6639 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.5619, allocations: 262.5 kB / 0.6642 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.562, allocations: 127.5 kB / 0.6643 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.5621, allocations: 28 kB / 0.6643 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.5629, allocations: 0.5721 MB / 0.6649 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.563, allocations: 0 / 0.6649 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.563, allocations: 15.94 kB / 0.6649 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.5631, allocations: 32.48 kB / 0.6649 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.5645, allocations: 1.263 MB / 0.6661 GB, free: 3.602 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.002483/0.567, allocations: 2.008 MB / 0.6681 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/0.5678, allocations: 268 kB / 0.6684 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.568, allocations: 122 kB / 0.6685 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003719/0.5717, allocations: 3.347 MB / 0.6717 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5718, allocations: 38.56 kB / 0.6718 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.5718, allocations: 4 kB / 0.6718 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.001875/0.5736, allocations: 0.7307 MB / 0.6725 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.5737, allocations: 59.36 kB / 0.6726 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.5739, allocations: 198.3 kB / 0.6727 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.574, allocations: 37.69 kB / 0.6728 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5741, allocations: 196.4 kB / 0.673 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5742, allocations: 174.6 kB / 0.6731 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.5744, allocations: 138.2 kB / 0.6733 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5745, allocations: 338.8 kB / 0.6736 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.5748, allocations: 105.2 kB / 0.6737 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.5752, allocations: 425.3 kB / 0.6741 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.576, allocations: 0.5738 MB / 0.6747 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.576, allocations: 4 kB / 0.6747 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009879/0.577, allocations: 0.5602 MB / 0.6752 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5771, allocations: 12 kB / 0.6752 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.5771, allocations: 12 kB / 0.6752 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.5771, allocations: 20.02 kB / 0.6753 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.5778, allocations: 199.7 kB / 0.6754 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007545/0.5785, allocations: 1.195 MB / 0.6766 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.5788, allocations: 24.17 kB / 0.6766 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/0.579, allocations: 67.98 kB / 0.6767 GB, free: 7.66 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.000212/0.5792, allocations: 181.5 kB / 0.6769 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.5793, allocations: 23.86 kB / 0.6769 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.5805, allocations: 0.6454 MB / 0.6775 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.5805, allocations: 11.92 kB / 0.6775 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5805, allocations: 3.625 kB / 0.6775 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5805, allocations: 0 / 0.6775 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.5815, allocations: 0.6606 MB / 0.6782 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5815, allocations: 0 / 0.6782 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.5819, allocations: 99.86 kB / 0.6783 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5819, allocations: 4 kB / 0.6783 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.582, allocations: 8 kB / 0.6783 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006491/0.5826, allocations: 1.168 MB / 0.6794 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5826, allocations: 0 / 0.6794 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.5831, allocations: 361 kB / 0.6798 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.5833, allocations: 116.9 kB / 0.6799 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.5834, allocations: 15.94 kB / 0.6799 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.5836, allocations: 16.08 kB / 0.6799 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.5837, allocations: 24.25 kB / 0.6799 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.5837, allocations: 23.98 kB / 0.68 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001733/0.5839, allocations: 172.5 kB / 0.6801 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5839, allocations: 0 / 0.6801 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001534/0.5854, allocations: 0.5568 MB / 0.6807 GB, free: 3.406 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.002732/0.5882, allocations: 1.675 MB / 0.6823 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.5891, allocations: 374 kB / 0.6827 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5891, allocations: 0 / 0.6827 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.5895, allocations: 148.8 kB / 0.6828 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.5903, allocations: 133.2 kB / 0.6829 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.607, allocations: 11.29 MB / 0.694 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.6074, allocations: 0.7659 MB / 0.6947 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00061/0.608, allocations: 182.8 kB / 0.6949 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.6082, allocations: 127.4 kB / 0.695 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.6083, allocations: 0 / 0.695 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.6588, allocations: 20.45 MB / 0.715 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.72, allocations: 11.27 kB / 0.715 GB, free: 15.83 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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