Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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.001038/0.001038, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.485/1.485, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.3135/0.3135, allocations: 43.58 MB / 315 MB, free: 8.762 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.0004845/0.0004847, allocations: 15.94 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4109/0.5223, allocations: 193.2 MB / 0.6218 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2926/0.815, allocations: 10.46 MB / 0.632 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.816, allocations: 25.66 kB / 0.6321 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.8175, allocations: 395 kB / 0.6324 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006078/0.8236, allocations: 2.277 MB / 0.6347 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.8288, allocations: 2.337 MB / 0.637 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.8315, allocations: 3.202 MB / 0.6401 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006497/0.8321, allocations: 0.5084 MB / 0.6406 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003625/0.8357, allocations: 1.762 MB / 0.6423 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.8368, allocations: 0.888 MB / 0.6432 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.837, allocations: 44.22 kB / 0.6432 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008747/0.8457, allocations: 5.933 MB / 0.649 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.8463, allocations: 382.4 kB / 0.6494 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007604/0.8471, allocations: 0.5092 MB / 0.6499 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007694/0.8548, allocations: 4.147 MB / 0.6539 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8548, allocations: 4 kB / 0.6539 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8548, allocations: 0 / 0.6539 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.8548, allocations: 0 / 0.6539 GB, free: 17.29 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004666/0.8595, allocations: 1.61 MB / 0.6555 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.8596, allocations: 9.531 kB / 0.6555 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/0.8598, allocations: 126.3 kB / 0.6556 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.8601, allocations: 113.6 kB / 0.6557 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/0.8611, allocations: 0.5847 MB / 0.6563 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.8612, allocations: 120.5 kB / 0.6564 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.8614, allocations: 71.34 kB / 0.6565 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.8636, allocations: 1.175 MB / 0.6576 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.8637, allocations: 5.594 kB / 0.6576 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.8638, allocations: 30.66 kB / 0.6577 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.982e-05/0.8639, allocations: 59.78 kB / 0.6577 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.8658, allocations: 1.166 MB / 0.6589 GB, free: 15.77 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.006904/0.8727, allocations: 5.004 MB / 0.6637 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.8745, allocations: 0.8358 MB / 0.6646 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.8752, allocations: 429.4 kB / 0.665 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/0.877, allocations: 1.895 MB / 0.6668 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.8771, allocations: 44.03 kB / 0.6669 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.406e-06/0.8771, allocations: 2.297 kB / 0.6669 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01456/0.8916, allocations: 4.156 MB / 0.6709 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.8917, allocations: 112.8 kB / 0.671 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/0.8925, allocations: 0.6598 MB / 0.6717 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.8927, allocations: 45.11 kB / 0.6717 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.8929, allocations: 386.8 kB / 0.6721 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.8932, allocations: 285.8 kB / 0.6724 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.8933, allocations: 86.11 kB / 0.6724 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8935, allocations: 393.2 kB / 0.6728 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008843/0.8943, allocations: 499.3 kB / 0.6733 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.8955, allocations: 0.7607 MB / 0.674 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.8976, allocations: 1.296 MB / 0.6753 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.8976, allocations: 2.469 kB / 0.6753 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003125/0.9007, allocations: 1.708 MB / 0.677 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9008, allocations: 9.25 kB / 0.677 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.9008, allocations: 13.23 kB / 0.677 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007733/0.9085, allocations: 1.395 MB / 0.6784 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.9091, allocations: 160.7 kB / 0.6785 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.9122, allocations: 1.553 MB / 0.68 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.9134, allocations: 93.38 kB / 0.6801 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9135, allocations: 57.23 kB / 0.6802 GB, free: 6.637 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005254/0.914, allocations: 303.2 kB / 0.6805 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.9142, allocations: 83.77 kB / 0.6805 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.9175, allocations: 1.652 MB / 0.6822 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.9175, allocations: 10.31 kB / 0.6822 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.9175, allocations: 4 kB / 0.6822 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.9175, allocations: 3.984 kB / 0.6822 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/0.9224, allocations: 2.576 MB / 0.6847 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.9225, allocations: 4.219 kB / 0.6847 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.9237, allocations: 260.6 kB / 0.6849 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.9257, allocations: 397.7 kB / 0.6853 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.9258, allocations: 30.92 kB / 0.6854 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.9282, allocations: 2.281 MB / 0.6876 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.9283, allocations: 1.969 kB / 0.6876 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/0.9319, allocations: 2.03 MB / 0.6896 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006821/0.9326, allocations: 308.1 kB / 0.6899 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.9328, allocations: 20.41 kB / 0.6899 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008835/0.9337, allocations: 85.14 kB / 0.69 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.9338, allocations: 65.16 kB / 0.69 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.934, allocations: 51.28 kB / 0.6901 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007184/0.9347, allocations: 0.499 MB / 0.6906 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.9347, allocations: 0 / 0.6906 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002815/0.9375, allocations: 0.7075 MB / 0.6912 GB, free: 1.914 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006339/0.9439, allocations: 3.387 MB / 0.6946 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002716/0.9466, allocations: 1.249 MB / 0.6958 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.9466, allocations: 3.953 kB / 0.6958 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.9483, allocations: 0.7201 MB / 0.6965 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.951, allocations: 0.4974 MB / 0.697 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.9697, allocations: 10.51 MB / 0.7072 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/0.9706, allocations: 1.049 MB / 0.7083 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001433/0.972, allocations: 306.2 kB / 0.7085 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.9726, allocations: 341.8 kB / 0.7089 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.9726, allocations: 0 / 0.7089 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07428/1.047, allocations: 43.59 MB / 0.7514 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/1.047, allocations: 300.9 kB / 0.7517 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.397/4.444, allocations: 0 / 0.7517 GB, free: 8.504 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches